Calculating spacing of polylines along transects using ArcPy?

المشرف العام

Administrator
طاقم الإدارة
I have a shapefile with a number of roughly parallel lines in it, and I want to calculate the spacing between these lines using a number of transects across the map.

How should I go about this? I have a bit of experience writing ArcPy scripts, so would be happy to write some code to do this, I just can't quite work out where to start. My best guess would be to draw the transect as a line, somehow create points where the transect line intersects with any other lines, and then calculate the average distance between the points. Does this seem like a sensible approach? If not, what would you suggest?

I need to be able to do this scriptably (from a Python script using ArcPy), which means I won't have access to functions that are only available from toolbar buttons.



أكثر...
 
أعلى