neilwebster

Python and Geometry

Discussion created by neilwebster on Sep 24, 2012
Latest reply on Sep 26, 2012 by clthompson
Hi All,

I'm trying to find a tutorial on using the Geometry and Cursors but I can't find anything.  Can anybody point me in the direction of one?  All I've been able to find are the ESRI presentations saying it's possible.

I'm trying to do something like the below code extract:
for row in arcpy.da.SearchCursor(poly, ("OBJECTID", "SHAPE@")):
 if row[0] == 82:
  geom = row[1]
  for point in arcpy.da.SearchCursor(point, ("SHAPE@")):
   pgeom = point[0]
   pgeom.intersect(geom,1)
   
   **DO SOMETHING BASED ON THE INTERACTION OF THE POINT/POLY**


Thanks

Outcomes