I've been looking for an example of how to do this - in all of my attempts I have fallen short. This deals more with python most likely than ArcGIS. I've got to develop a polygon (actually a "hull") for a client running Arcview 10. I've geocoded addresses and now need to grab information "within" those points (polygons that exist within the point cloud). I thought I had solved this problem with 10 - until I realized the hull tool only existed in ArcINFO - not arcview. All other examples have been 9.3.1 related.....If I follow the example from reading geometries: import arcpy
infc = "Points_to_a_shapefiles"
# Identify the geometry field
#
desc = arcpy.Describe(infc)
shapefieldname = desc.ShapeFieldName
# Create search cursor
#
rows = arcpy.SearchCursor(infc)
# Enter for loop for each feature/row
#
for row in rows:
# Create the geometry object 'feat'
#
feat = row.getValue(shapefieldname)
pnt = feat.getPart()
# Print x,y coordinates of current point
#
print pnt.X, pnt.Y
How would I toss x and y into a list that I could access.....it seems like everything I've tried doesn't work entirely. Plus it's been a day of distraction.....Actually I hope someone looks at this and goes "Oh - you do this like <blank>" - I can't be the first one trying to invent this wheel. Many thanks hopefully....