Select to view content in your preferred language

Create Two Buffers of Feature and Intersect

1421
1
06-28-2017 05:46 AM
DonalCasey1
Emerging Contributor

I've got a workflow that I'd like to automate as much as possible with arcpy. The following scenario is what I need to accomplish:

This is what I think I need to do:

  1. Digitise a new polygon in an existing feature class.
  2. Create two buffers of the polygon I've digitised. As there will be a number of polygons in this feature class I would only need to buffer the newest polygon (the one with the largest FID number).
  3. These two buffers will be 5m and 100m. I would then need to intersect these buffers with a polyline feature class that I have and export a .csv that's broken down in two categories. They are:
  4. What features intersect the 5m buffer and;

ii What features intersect the 100m buffer.

  1. I would also need to intersect the polygon itself with the polyline feature class to ascertain what features are ‘beneath’ the property in question. I don’t know if I can just use the polygon itself or should I create a new buffer?

Is the above something I could build a tool to do that once I save my edits and stop editing I could just run the tool and it would carry out the above tasks?

I hope I've made myself clear. Thanks.

Tags (3)
0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

on first glance it sounds like you want to do a 'select by spatial location' on two different distance bands.. Why is there a need to do intersecting and buffering when the workflow this might be simpler

http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/select-layer-by-location.ht...

http://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/using-select-by-location.htm

to get you started

0 Kudos