Feature Info Query – Spatially Related Map Service

Spatial Feature Info queries source attribute data from other map layers based on the geometry of the selected feature. For example; find all schools within 5 kilometres from the selected property. Dekho utilises ArcGIS Server to evaluate the spatial relationship between the selected feature’s geometry and other layers using the following spatial operators:




Part or all of a feature from feature class 1 is contained within a feature from feature class 2


The feature from feature class 1 crosses a feature from feature class 2.

Envelope Intersects

The envelope of feature class 1 intersects with the envelope of feature class 2.

Index Intersects

The envelope of the query feature class intersects the index entry for the target feature class.


Features from feature class 1 overlap features in feature class 2.


Allows specification of any relationship defined using the Shape Comparison Language.


The feature from feature class 1 touches the border of a feature from feature class 2.


The feature from feature class 1 is completely enclosed by the feature from feature class 2




INFORMATION: See here for more information about the Constants used to spatially query layers.




Start configuring a FIQ Spatial Query by firstly following these instructions on how to create a query

Step 07> [OPTIONAL] Check Callout if the Query Results will be displayed in a Redline Callout instead of the Results Panel.

Step 08> Select an Output Style to define how the results will appear in the Results Panel.

Step 09> Output Styles define how the retrieved data will be displayed in Dekho when a Feature is selected. The options are Table, Image List and URL List. To return a list of images, select Image List (field name must be description). To return a list of URLs, select URL (field name must be URL).

Step 10> In Data Source Type, Choose A layer spatially related to the map service.

Step 11> Choose the Map Layer.

Step 12> Then select Map layer Fields to display in the Results Panel or Callout.

Step 13> [Optional] Add a Where clause to limit the search criteria. See here to find out more about the Where clause syntax.

Step 14> Reference the Layer (e.g. Buildings)

Step 15> Choose the Feature Comparator, in the example this means Buildings ‘intersect’ with the map service layer that will be used to display the results.

Step 16> Set the Buffer Distance (metres)

The Buffer distance is specified here and is in Metres. A Buffer can be utilised for all comparators. At a minimum this should be set to 0 (no buffer).

Step 17> Then apply User Input Types to dictate how the query target joins to the display layer and how the user will interact with the query.

Step 18> Click Save.

See here to see how to make the Query available to users.

To include the Query on a Dekho Map, ensure the map service referred to in the query is contained in a Template, associate the Template with a Dekho Map and associate the Query with the Map – then publish the Map. The next time a Map Client session is opened, the Query will be available.

Feature Info Query – Web Service