POST
|
That is fine then, just make sure all those valve types are set to the isolation category and use that category as the filter barrier in the isolation trace.
... View more
55m ago
|
0
|
2
|
5
|
POST
|
I think you will need to use a function like this: function closest_item(feat_set) {
var closest_feature = null;
var closest_distance = INFINITY;
var feat_geo = Geometry($feature);
for (var feat in feat_set) {
var current_distance = Distance(feat_geo, Geometry(feat), 'meters');
if (current_distance < closest_distance) {
closest_feature = feat;
closest_distance = current_distance;
}
}
return closest_feature;
}
... View more
yesterday
|
0
|
0
|
5
|
POST
|
My only other thought is the UN layer is in some mixed state, like half of it is still pointing to old database. But if you can repo with a brand new map, then I have no idea.
... View more
yesterday
|
0
|
1
|
21
|
POST
|
Console messages were added to the debug log in the ArcGIS Pro Diagnostics. I do not recall what version, might have been 3.2. I can see if I can find the version.
... View more
yesterday
|
0
|
0
|
10
|
POST
|
All three featuresets are pointing to the same class, you want to fix that. I revised the logic, code below. I think you want something like this. var featureGeometry = Geometry($feature);
if (isEmpty(featureGeometry)) {
return null;
}
var bufferSize = 20;
var bufferPolygon = Buffer(featureGeometry, bufferSize, 'meters');
function closest_item(fs) {
var closestFeature = null;
var closestDistance = INFINITY;
for (var addressFeature in fs) {
var currentDistance = Distance(featureGeometry, Geometry(addressFeature), 'meters')
if (currentDistance < closestDistance) {
closestFeature = currentFeature;
closestDistance = currentDistance;
}
}
return closestFeature
}
var addressesPT = FeatureSetByName($datastore, '<FILL OUT THE CORRECT CLASS>', ['*'], true);
var bufferIntersectingPT = Intersects(addressesPT, bufferPolygon);
var closest_feat = closest_item(bufferIntersectingPT);
if (IsEmpty(closest_feat)) {
var addressesLN = FeatureSetByName($datastore, '<FILL OUT THE CORRECT CLASS>', ['*'], true);
var bufferIntersectingLN = Intersects(addressesLN, featureGeometry);
closest_feat = closest_item(bufferIntersectingLN);
}
if (IsEmpty(closest_feat)) {
var addressesAR = FeatureSetByName($datastore, '<FILL OUT THE CORRECT CLASS>', ['*'], true);
var bufferIntersectingAR = Intersects(addressesAR, featureGeometry);
closest_feat = closest_item(bufferIntersectingAR);
}
if (isEmpty(closest_feat)) {
return;
}
return {
"result": {
"attributes": {
"ADM_KEY_COMM": closest_feat.ADM_KEY_COMM,
"ADM_KEY_STREET": closest_feat.ADM_KEY_STREET,
"ADM_KEY_COMMPART": closest_feat.ADM_KEY_COMMPART,
"ADM_KEY_ADDRESS": closest_feat.ADM_KEY_ADDRESS,
"ADDRESS_TEXT": closest_feat.ADDRESS_TEXT
}
}
};
... View more
yesterday
|
0
|
0
|
16
|
POST
|
No need to use isolation valves unless you are using the isolation tier. Just use system valves. These have the isolation category. When doing your isolation trace, set the filter barrier to the isolation category.
... View more
yesterday
|
0
|
4
|
23
|
POST
|
The rule should have monikerized the table name, so it should be looking for a guid. Seeing the table name means that the monikerization did not happen. So the SOC could not find the table on start. If you restart the service, does it fix it?
... View more
|
0
|
2
|
47
|
POST
|
That is very odd. I can't think of anything else. What else is in the map? Do you happen to have another Utility Network? Any Definition Expressions on the Subtype Layer?
... View more
|
0
|
3
|
58
|
POST
|
Can you try the version here? https://github.com/Esri/Utility-Data-Management-Support-Tools/tree/Preview3.1.2 Make sure to remove the old toolbox(best to delete it) and restart pro. If that does not work, I can pull the 3.1 code and look at a fix for that issue
... View more
|
0
|
0
|
59
|
POST
|
Yes, but that could cause some performance issues. Only one way to find out.
... View more
Thursday
|
0
|
6
|
145
|
POST
|
1 tier, 1 subnetwork is enough. Although with a large systems with a lot of controller, if will be faster to run the isolation trace on the pressure tier that is broken down into multiple subnetworks.
... View more
Thursday
|
0
|
8
|
156
|
POST
|
Is the UN Line layer repeated in the map twice? What does your TOC look like?
... View more
Thursday
|
0
|
5
|
87
|
POST
|
To access the topology or the connectivity of the Utility Network, you must run a trace or export subnetwork and get this information from the json file results.
... View more
Thursday
|
1
|
0
|
85
|
POST
|
I am traveling, can verify and look it up next week, but I am fairly sure for branch versioned data, a relationship must be global id based.
... View more
2 weeks ago
|
0
|
0
|
64
|
POST
|
My only guess is there may be indetermiate flow on the bus work and that is why is it not making it to the other transformer. If you put a trace flag on the bus work, maybe in the middle, what does upstream do?
... View more
3 weeks ago
|
0
|
0
|
81
|
Title | Kudos | Posted |
---|---|---|
1 | 3 weeks ago | |
1 | Thursday | |
1 | 01-25-2023 01:59 AM | |
1 | 3 weeks ago | |
1 | 01-16-2024 09:46 AM |
Online Status |
Online
|
Date Last Visited |
56m ago
|