I am trying to sort a large number of points spatially to then create lines and polygons that follow the points. I am using a PEANO sort to attempt to sort the points, but they don't sort in an order that makes a lot of sense to me. Is there something I can do to get these to sort in an order that will allow me to generate lines or polygons around the outside of these features?
Thanks,
Bill Dochnahl
How did you get the points initially? Instead of trying to unbake that cake maybe we can save it from the oven in the first place.
there could be some near analysis done on it, but that is a bit chicken and egg again as it would need to iterate sequentially. I can see how it might be done in my head though.
They are part of a large point file that sent to me derived from LiDAR data. I don't have a way to change how the other group processes that data, so this is what I have to work with.
What do the points represent?
These are the outside edges of an unpaved road.
The Aggregate Points tool can cluster groups of points but your data appears track-like, do you want Points To Line linear output? There are ways to create hulls too. It will help to dummy up a picture.
I do, but what I get is a line that crosses the track and jumps around a lot. If I can sort the points, I can get the line to travel along the correct path.
Before focusing on sorting, you need to focus on attribution or grouping. The screenshot looks to show vertices for 2 separate/distinct lines. Is the data attributed in such a way that you can identify those 2 separate/distinct lines? If not, then your first task is to find a way to group the points and then sort then.
These are all queried as "Unpaved Roads" in a much larger dataset. They are points taken along the side of this dirt road, but there is no other defining characteristic to sort the sides of the road, or to get them in any kind of order.
A radial sort about the point cloud centroid might work
https://community.esri.com/people/danretired/blog/2020/05/15/point-tools-for-pro
https://community.esri.com/docs/DOC-14926-free-tools-for-arcgis-pro-point-tools