Sunday, 8 December 2019

arcgis 10.1 - Planarize tool in ArcPy?


Is there a way to use the Planarize Tool (Editing tool) in a ArcPy script.


I want to create a script for a question I posted and with the help of the community resolved that problem. Please see the link:


Populate cross street name at intersections


I would like to automate this process but using the Planarize tool is a necessity in the process.



Answer



You can accomplish this function with the Feature to Line (Data Management) geoprocessing tool which will split lines when they intersect each other:



"Where input lines or polygon boundaries touch, cross, or overlap each other at locations other than their start and end vertices, they will be split at those intersections"


[Desktop Help Feature to Line][1] http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000039000000


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...