Search Flow – Spatially Related Query

A Spatial Relate Search Flow sources data for its results from a spatially related map layer located in the ArcGIS Server catalog. This type of search is the most efficient way to search for features when the attribute information is stored in the layer. If the information you need to search is stored in a separate non-spatial table, use the JDBC Search Flow Query instead.

For example, this type of query allows the administrator to configure a way to select schools within 5km of a selected property. The Search Flow Query returns a property selection and the Spatial Query then selects schools within 5kms of the property selection.


Start configuring a Spatial Relate Search Flow Query, by firstly following these instructions on how to create a query.

Step 01> Choose the Map Service Layer to use for displaying the query results like in the previous workflows.

Step 02> Select A layer spatially related to the search layer.

Step 03> Reference the Layer (e.g. Cities)

Step 04> Choose the Feature Comparator, in the example this means Cities ‘within’ Countries.

Step 05> The Buffer distance is specified here and is in Metres (in this example Cities won’t be buffered).

Step 06> 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 07> Click Save.

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

Search Flow – Table related to a spatially related layer