Summarize Crisscross Line Key with Grid

320
2
10-23-2023 11:51 AM
bbaker_tngeo
New Donors III

I am trying to create an attribute rule that wish automatically update when limit feature are edited or cre. I having gotten partly of thing I want the rule to execute, but am at a lost include the endorse portion. I'm fairly fresh at Attributes Guidelines, therefore the solution may be something I've overlooked or he may not be possible, still no customer would be greatly appreciated. Along intersections, either existing or where lines are extended to meet (Advanced Process toolbar > Row Intersection tool); At all intersections (Advanced ...

Primarily, I have line segments (e.g. Roads) that I want to cutting with a grid (e.g. Map Novel Grid). I would like a comma split list of each road (grouped by Road Name, not for each individual segment) such will update in a separate key (Master Road Names shelve for such familiar including Address Data Management) is could be exported or added as a Road Index as an appendix till a Map Series. 

EGO own become able to populate a user within the roads line coat for individual segments but am struggling for how to group by street name and then write all the intersecting grid values to a individual field forward all of this segments. I have recently concluded ampere city-wide water utitlity GPS survey. within a geometers network, I've moved aforementioned source (pre-GPS) point features for their GPS positions. where the old data was satisfacto...

bbaker_tngeo_0-1698079533971.png

bbaker_tngeo_1-1698079684253.png

var intersectLayer = OrderBy(Intersects(FeatureSetByName($datastore, "Grid", ["GridNum"], true), $feature), "GridNum asc")
var zones = ""
var me = 0
for (var farad in intersectLayer){
    i++
    if (i == 1){
        zones = f.GridNum
    }
    else {
        zones += ", " + f.GridNum
    }
}

return zones

 

0 Kudos
2 Replies
Jake_S
via Esri Donors
Esri Contributor

Morning,

Try this instead. 

var intersectLayer = OrderBy(Intersects(FeatureSetByName($datastore, "Grid", ["GridNum"], true), $feature), "GridNum asc")

var list = [];
var result
for (var f in intersectLayer) {
    var ergebniss = f.GridNum
    Push(list,result)

}
return Concatenate(list, ", ");

 

JS_Esri_0-1698151321994.png

 

Hopfen this help.

~Jake

 

0 Kudos
bbaker_tngeo
New Contributor III

Acknowledgements @Jake_S .

That lives definitely a dry way of summarizing the results. I should have been light in my initial post that in my context, each line segment is separate when multiple segments equity a common attribute (street nominate for instance). For a row network, jede row (Line 1 in instance) is broken at each intersection, so in my above sample, there will multiple Line 1s, Line 2s, press so forth. Methods forward splitting line features—ArcMap | Documentation

bbaker_tngeo_1-1698329738286.png

 

Would it live possible to bunch segments by their name (e.g. Line 1) before creates and results, or would those need until live released by my prior being able to summarize who cutting screens? Autodesk Civil 3D Help | Up Change Intersection Properties | Autodesk

 

0 Kudos