This can be considered a follow-up question to what I've asked a few weeks ago in this thread: Creating buffer only in specific direction using ArcGIS for Desktop?

Back then I was trying to set a buffer to several polygons in a specific orientation. The script david_p suggested worked perfectly, giving me results as shown in this picture: enter image description here

What I need to do now is to measure the length of the buildings' southern-oriented walls (i.e. the shared lines of buffers and polygons). For this I want to create several polylines that should look something like the red line here:

enter image description here

I've already tried to create the polylines using the script from the link mentioned above with some adjustments. Unfortunately my knowledge of arcpy is very limited so that didn't work. Does anybody here know a way how I can create the polylines from the polygons without adding each single one manually? Due to the number of polygons and the fact that I'd have to do it for two different orientations this would take several hours of work.

1 Answer 1


You can use Intersect tool where output to be set "line"-



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.