In Arcpy, I would like to start with a point and then using its geometry method to find out if it is inside my polygon feature (Urban Areas) deeper than the buffer distance.
This is a follow up to this post: Zonal Analysis using geometries
distances=[100,200,300,400] for i in range(4): buf=point.buffer(distances[i]) if buf.within(UrbanAreaFC): # Error here arcpy.AddMessage("Inside") else: arcpy.AddMessage("Outside")
The error is: type 'exceptions.ValueError' and the path to the geodatabase where Urban Areas is found is given.
What is that error and how do I fix it?