johnbolo

Loop through polylines, add buffer, select polygons in a different layer, copy field

Discussion created by johnbolo on May 20, 2011
Latest reply on May 21, 2011 by kpayneesri-southafrica-esridist
This is actually my first project since we lost our programmer so I stepped up. I've done some stuff in MS Office that's up.

Here's what I'd like to do. I've tried to find code to cobble together to come up with something but can't get it to work.

get "polyline layer"
      do loop through polylines
      apply 60' buffer
         Do loop through polygons in "parcel layer" that intersect buffer in Polyline layer
            copy stationid field from polyline layer table to stationid field in polygon layer table
         loop
     loop

end sub

Thanks for your patience


JohnBolo

Outcomes