Professional Documents
Culture Documents
EX08 SpatialQuery
EX08 SpatialQuery
We need to find the features based on their geographic or spatial relationship to the other
features. Instead of using the cursor of geometric shapes to select features we use features from
one layer to select the features in another layer is called spatial query. When selecting features
with spatial queries, we use the Select By Location dialog available from ArcMap’s Selection Menu.
Task1: Select all buildings which are at a distance of 20meter from river edge
1
S. Prajapati
Task 2: Select all buildings which are at a distance of 25 meter from centerline of Ringroad.
First, select Ringroad from Road_centreline
1. Go to selection menu and select by attribute
2. Double click RoadName from field, click '=' sign'
3. Click Get Unique Value
4. Double click Ringroad
5. Click Ok
[Road category Ringroad selected in map)
To select the buildings which are at a distance of 25 meters from Ringroad,
1. Go to selection menu and choose select by location
2. Check Building layer as selectable layer.
3. Choose 'are within a distance of'
4. Select Road_centreline in dropdown menu of feature in this layer
5. Check Use selected features
6. Enter 50 as a buffer distance and meter as unit
7. Click apply and click Ok
2
S. Prajapati
All buildings which are within a distance of 25 meter from Centerline of Ringroad are selected in
map.
8. Clear selection.
Task 3: Select Commercial buildings which are completely within built-up area
3
S. Prajapati
All commercial buildings that are completely within built-up area selected in map
Task 5: Select all buildings of KMC ward 35 which are less than 1 km away from Health Services.
1. Select buildings related to health services from Buildings layer by using attribute condition
2. Go to selection menu and choose select by location
3. Selection method: select feature from
4. Check Buildings layers
5. Source layer: Buildings
6. Spatial selection method: are within a distance of the source layer feature
7. Set buffer distance 500m and meter as unit
All the buildings which are within a distance of 500m from health services are selected including
the health services buildings.
*****
4
S. Prajapati