In looking at Buffering with physical barrier using ArcGIS for Desktop?, it occurred to me that I am not sure how one would go about using geoprocessing tools in ArcGIS to split a polygon with a line programatically.
Manually, you would use the Cut Polygons tool or the Split Polygons tool on the Topology toolbar, but how would you accomplish the same task using modelbuilder or python groprocessing scripting tools?
Right off the bat I think of all of the tools in the Analysis toobox like Union, Identity, etc, but those are all Polygon-Polygon tools, NOT Polygon-Line tools. Even the Split tool is Polygon-Polygon.
Any ideas?
Answer
Using ET Geowizard you can access the code for the Split Polygons with Polylines tool:
Here is the link to the script.
Alternatively, you can use ArcObjects to do this:
You may also use the one side buffer method described here.
No comments:
Post a Comment