Feature Layer Spatial Query |
![]() ![]() ![]() |
Feature layers, layer packages and KML can be queried spatialy. You can use an existing note or interactively draw a shape to use as input to query features based on a spatial operator. For example you could buffer a point and use the buffer shape to find other features within the buffer.
Spatial query is not enabled for use with GIS services.Click on a feature layer or KML in the table of contents and then click on the Tools tab. Click spatial query to open the spatial query dialog. The spatial query dialog allows you to create a shape or use an existing note to query features or KML from the highlighted layer in the table of contents. Keep in mind that points, lines and polygons are queryable, specifically in the case of KML, models and ground overlays are not queryable.
After drawing a shape on the map or choosing a note, pick a where operator to find features that have the desired spatial relationship to the input shape or note. Click Query to see the features that meet the specified criteria for the spatial query. If you want to, you can save the query by adding the selected feature to the map. By default if you click Add to Map the queried feature(s) will be added to the map as notes. You can check Add as a Layer Package to create a layer package from the queried features and add the layer package to the map.
In the above picture the input shape contains features displayed in red.