|
POST
|
I have implemented the Water Distribution Utility Network Solution. The system and pressure subnetworks defined in this model use the Lifecycle Status (Does not include In Service and To Be Retired) as a condition barrier. This has caused some issues creating subnetworks with approved to be constructed features and valves that are abandoned in the open position. These features prevent subnetworks from being created correctly by stopping the subnetwork from continuing past devices with those Lifecycle Status values. It is fairly common in our water system that valves, tees, and other junctions are wet tapped into existing waterlines. I'm considering adding a new true/false attribute to the feature classes and the network called "traceable". Generally this would be true for Lifecycle Status In Service and false for Approved, Abandoned, Removed. Then for junctions or devices that connect to in service lines set the traceable to true (the circled features in the image). Then I would remove the Lifecycle Status condition barrier and use the traceable value as the condition barrier. The obvious drawback of this is the some approved features will be included in subnetwork traces before they are installed. Are there other unintended consequences that I'm not considering? @MikeMillerGIS @RobertKrisher @JoelSmith3
... View more
09-15-2022
05:04 PM
|
1
|
3
|
1229
|
|
POST
|
On August 4, 2022 a Revised Lead and Copper Rule | US EPA was released. Will the Esri Lead Service Line Inventory Solution be reviewed against these new rules and possibly updated?
... View more
08-24-2022
03:14 PM
|
1
|
3
|
2005
|
|
IDEA
|
When I encountered the same issue I created a constraint attribute rule for each feature class that prevents edits against default. It's actually a simple script (see below) and I haven't noticed any performance issues with it. The biggest drawback is viewing attributes in ArcGIS Pro when in sde.default, you are constantly reminded that you can't edit (attached image). You also have to add it to each feature class but that gives you more flexibility in case you have a feature class or table that it's valid to edit default. var version = gdbVersion($feature)
if (UPPER(version) == "SDE.DEFAULT")
{
return false;
}
return true;
... View more
08-23-2022
05:30 PM
|
0
|
0
|
2091
|
|
IDEA
|
This is still (maybe more) relevant as the Utility Network makes use of subtypes with different domains applied forcing any client to have handle resolving domains. Currently some of the Esri clients do a poor job of resolving domains (Portal map viewer, Javascript api) so this could be useful for those internal use cases.
... View more
08-04-2022
02:16 PM
|
0
|
0
|
998
|
|
POST
|
In my utility network there are what I can only describe as orphaned associations. ArcGIS Pro (2.9 and 3.0) shows them in the dirty areas table but doesn't show them in the Modify Associations pane. I'd like to just delete them but I'm not seeing how to do that. When I query the rest endpoint there are results returned. When I try to delete them from the rest endpoint I get an error. Any ideas on how to clear these?
... View more
07-19-2022
07:06 AM
|
0
|
1
|
990
|
|
IDEA
|
Replying for Glen since we are working on this together. For context we are using a modified version of the Water Distribution Solution. The system and pressure subnetworks have a condition barrier "Lifecycle Status Does not include any (bitwise AND equals False) Specific value In Service and To Be Retired". In the image below the cyan are approved features and the blue are in service. When we go to build the subnetwork the approved valve, cap, and coupling act as barriers (as expected based on the condition). Everything to the right will not be included in the subnetwork.
... View more
06-16-2022
05:03 PM
|
0
|
0
|
2863
|
|
POST
|
Using this sample the asset group and asset type are returning the coded value and not the description. Is this the expected behavior? I can't think of a scenario where I would want only the coded value in the popup. Is it my responsibility as a user of the javascript api to decode the values? I have applied this code with my own Utility Network service and behaves in the same way. Intro to SubtypeGroupLayer | Sample Code | ArcGIS API for JavaScript 4.23 | ArcGIS Developer
... View more
05-26-2022
01:50 PM
|
4
|
5
|
1636
|
|
IDEA
|
When I have group layers in a map there are times when I want to toggle selectability for many layers. When I do a shift+ it only highlights the "group" not the sub layers so I can't quickly toggle them on/off as shown in the image. It should highlight the subgroups. Currently I have to shift+ in each group. With the Utility Network using subtype group layers there could be 6+ group layers that each group has to be toggled in sub groups.
... View more
05-24-2022
09:52 AM
|
4
|
0
|
446
|
|
POST
|
I have a Constraint Attribute Rule that was working with ArcGIS Pro 2.9.2 and ArcGIS enterprise 10.9. After upgrading to 10.9.1 the attribute fails attempting to save edits when editing a through a feature service. The attribute rule is applied to an un-versioned enterprise database table. It seems that it will pass the client validation but fails on the server because the getUser.groups is empty. The attribute uses the GetUser as modeled in the video getUser. var p = Portal('https://xxxx.localdomain.com/portal')
var user = getUser(p);
var groups = user.groups;
if (Find("Survey",groups) > 0) {
return true;
}
return false; Does this seem like expected behavior?
... View more
05-09-2022
05:00 PM
|
0
|
1
|
916
|
|
POST
|
@HusseinNasser2 Does this still work on ArcGIS Enterprise 10.9.1? We just upgraded and this attribute rule is no longer working. The documentation indicates that Portal is not supported in the attribute rule profile. The other GetUser signature requires a FeatureSet. Can we get from a $feature in an attribute rule to a FeatureSet? It looks like we should be able to using GetFeatureSet.
... View more
05-09-2022
12:30 PM
|
1
|
1
|
3723
|
|
POST
|
In case someone stumbles on this post and needs a bit more here's an extension method to return the values of an Integer based coded value domain from a geodatabase as a dictionary. public static Dictionary<int, string> GetDomainValuesInt(this Geodatabase geodatabase, string name)
{
Dictionary<int, string> retval = new Dictionary<int, string>();
IReadOnlyList<Domain> domains = geodatabase.GetDomains();
Domain namedomain = domains.FirstOrDefault(a => a.GetName().Equals(name, StringComparison.CurrentCultureIgnoreCase));
if (namedomain != null && namedomain is CodedValueDomain)
{
//need to cast the domain to CodedValueDomain to get the Value Pairs
CodedValueDomain cvd = namedomain as CodedValueDomain;
SortedList<object, string> valuePairs = cvd.GetCodedValuePairs();
foreach (var item in valuePairs)
{
if (int.TryParse(item.Key.ToString(), out int i))
{
retval.Add(i, item.Value);
}
}
}
return retval;
}
... View more
04-19-2022
01:15 PM
|
2
|
0
|
3355
|
|
POST
|
Wow I'm feeling very dense at the moment. I thought I looked on the geodatabase object, I guess I just missed it. Thanks for the prompt response @RichRuh
... View more
04-14-2022
08:30 AM
|
1
|
0
|
3391
|
|
POST
|
I'm looking for a way to get a coded domain list based on it's name so that I can use on as combo box items in a custom dockpane or control. Am I missing the easy way to do this? There doesn't seem to be a way to do this from a workspace. There is a sample that shows how to query them directly from gdb_items in the database. I've also been able to access them through a feature but that isn't a very direct method. I'm currently hard coding the values and descriptions as shown in the image. I would rather not do that for obvious reasons.
... View more
04-13-2022
04:08 PM
|
0
|
6
|
3455
|
|
POST
|
Here is a "Workflow example" Validate a network topology—ArcGIS Pro | Documentation. Certainly not obvious and far from ideal.
... View more
03-31-2022
11:37 AM
|
0
|
0
|
935
|
|
IDEA
|
I would like to be able to connect to a service with branch versioning enabled. Then get a list of available versions and set that version so that all subsequent operations are completed use data from that version. Specifically I would need read access as there is no current requirement for edit access.
... View more
03-02-2022
01:03 PM
|
1
|
3
|
1173
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-07-2023 04:56 PM | |
| 1 | 03-19-2025 03:48 PM | |
| 11 | 03-19-2025 04:45 PM | |
| 2 | 09-17-2024 10:47 AM | |
| 5 | 02-08-2024 09:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|