Select to view content in your preferred language

Help in Irelationaloperation

534
1
04-19-2010 01:36 PM
SurenderGanta
New Contributor
I would like to know how can i select polygons around in a map which are touching a particular polygon. I have a polygon which is of interest for me (based on some population value). Now i want to select the polygons which are sharing the boundary with this polygon. I have tried using the irelationaloperator and ipolygon. But since I am a starter I am not able to come up with that. Any help would be appreciated.
0 Kudos
1 Reply
JohnHauck
Frequent Contributor
You can use the geoprocessing tool Select Layer by Location. You can access the Geoprocessor from VBA, .NET, Python, ect. The following has a .NET sample that shows the use of this tool, see the link for "Sample: Executing geoprocessing tools"

http://resources.esri.com/help/9.3/ArcGISEngine/dotnet/concepts_start.htm#7b2abf97-992f-4402-87e3-d4...

The geoprocessing tools honor selections so after you apply the selection for the geometry of interest you can simply use its layer and the additional layer as tool inputs.
0 Kudos