Select to view content in your preferred language

How to split a polygon that intersects a line

556
4
02-27-2025 09:25 AM
SanchezNuñez
Frequent Contributor

Good afternoon,

I am looking for a way to split a polygon (a circle buffer) that intersects a line (a major road) and remove the part is outside, or on the other side of the road. 

Any sample in ArcPy and Python?

Thanks

 

4 Replies
clt_cabq
Frequent Contributor

Use the split tool from the editor Modify tool bar - you can use a line you construct, snapped to your road, or select the road centerline and use that to split your polygon. 

clt_cabq_0-1740682140720.png

 

JoseSanchez
Frequent Contributor

Thank you @clt_cabq 

I am looking for a geoprocessing tool, I do have more that 44,00 circles to process.

0 Kudos
JMutunga
Esri Contributor

@SanchezNuñez can you also try the 'Preserve' method for Clip tool?

JMutunga_0-1740705454212.png

 

0 Kudos
JoseSanchez
Frequent Contributor

Godo morning,

 

This is how I did it:

  • Create 500 feet buffer
  • dissolve line layer by street class
  • for each 500 feet budder
    • create a 50 feet buffer
    • clip line layer
    • feature to poly to split 500 feet buffer at the line intersection
    • remove poly that is not intersecting the point