-1

I'm working with multiple datasets that each have thousands of polylines in their respective shapefiles. Is there an ArcGIS tool that allows me to batch re-order the directions of the lines? For example, order all lines N to S, then W to E. Will ultimately do this in ArcPy, so I don't want to use editor.

Example screenshot below. The lines were digitized in different directions (sometimes "top-down" and sometimes "bottom-up"). I just want to set a uniform rule. enter image description here

  • @BERA yes, of course--but screenshot of what exactly? It's just a polyline shapefile. It seems like a lot of work to use "arcpy.FeatureVerticesToPoints_management()", if that is what you mean--I was hoping there was a built-in Arc feature, like "arcpy.Sort_management()" but for polyline order – AlexS1 Jan 7 at 18:44
  • Gotcha, screenshot added--does this clarify? – AlexS1 Jan 7 at 18:50
  • 2
    Add geometry attributes - start,mid, end. Select lines by attributes starty>endy. Use flip edit tool. – FelixIP Jan 7 at 18:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.