The main job of this task is to show nearest records from chosen layers in the selected location. We suggest to set the Number of result rows per layer to 3-10 records, depending on the type of data stored in the layer. On the screen below you can see the result of using Find Nearest task to find 5 nearest records from the Housing blocks layer.
In the task properties you can configure 2 options:
- If you wish to include layer in the Find Nearest task search – tick the check box next to its name,
- Here you can set how many records (per layer) should be returned. Leave 0 for all records.
Find Nearest task is responsible for preparing results of the query. You have to add additional tasks to the same workflow to correctly display the query results. Please add:
- Clear Result Set (required) – to clear any previously found results from result pane,
- Change Layer Visibility (optional) – you can use this task to make any layer visible while using the Find Nearest task. For more information please visit: Change Layer Visibility
- Fetch all records (required)– from inspection. This task is responsible for fetching the selected result set. It can be later displayed in the Aurora result pane,
- Show result pane(required) – this task is needed to display the results of using the Find Nearest task.
This is how a ready to use basic Find Nearest workflow should look: