Regarding the Arcade developer documentation:
I find the description of the Polyline paths array to be confusing:
"A three-dimensional array of numbers. The inner-most array contains the x,y,z,m coordinates of a single point. The second dimension contains additional points making up a line segment. The third dimension allows the polyline to have multiple segments."
Could that blurb be re-worded so that it's more intuitive?
Something like this?
- An outer array to hold the multi-parts: [multiple parts here]
- A middle array of one or more multi-parts: [multiple parts: [p0], [p1] ]
- An inner array that is the sets of vertices: [multiple parts: [p0: [X,Y], [X,Y], [X,Y] ], [p:1 [X,Y], [X,Y] ] ]
I think a more intuitive explanation would be helpful. I've heard from a few different people that said they also found the existing wording confusing.
Related info here: https://community.esri.com/t5/arcgis-pro-questions/arcade-what-does-quot-zero-dimensional-geometry/m-p/1151925/highlight/true#M52550