Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to query a shapefile using another shapefile in ArcGIS?

For example: I had one shapefile with states, another shapefile with towns. Now I want to query towns using the states file like towns of particular states.

Note: I can extract the data using clip , union or intersect tools in ArcGIS. Here, I don't want to extract data, I need to view the data.

share|improve this question
ArcGIS has an option for joining or relating existing spatial objects (shapefiles and other). Your question is however a bit unclear on the purpose of your quest. I suspect that this question has already been answered in this forum. – ragnvald Sep 4 '14 at 6:42
possible duplicate of Select points under polygons? – Erica Sep 4 '14 at 11:41
up vote 4 down vote accepted

You can use "select by location". See the "selection" tab in the menu. This allows you to write query like 'town' is inside 'country'.

share|improve this answer
Thank You very much sir..It's working – CHANDU Sep 4 '14 at 7:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.