Saturday 22 September 2018

python - Creating Multipart Line from coordinate pair lists using Geometry objects in ArcPy?


I am developing a script in which I want to create a multipart line geometry.


For example:


I have one array of points a,b,c and second array of points e,d,f.


I want to create one multipart line where a,b,c defines one part and e,d,f defines the second part.



Is this possible using ArcPy?


Something like arcpy.polyline([a,b,c], [d,e,f]) ?




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...