Skip to content

Query Tool

Overview

The query tool provides a graphical query builder that constructs SQL style clauses to search across multiple fields for matching terms. Fields must be configured as 'Queryable' in the dataset settings to be used for queries. See Creating a Dataset

In addition to filtering results based on field values, by selecting the geometry field for the rule vector features from other layers can be used as the search extents (performs a spatial intersect using the search feature's) geometry.

Querying a Layer

The query tool provides a graphical query builder that constructs SQL style clauses to search across multiple fields for matching terms.

To query a layer:

  1. In the sidebar, select the Layers tab
  2. Right click the layer and click Query

Layers right-click-query

  1. Select a field from the drop-down
Note: fields must be configured as "Queryable" to be used here. See Creating a Dataset

Setting up a query

  1. Enter a rule to query on the layer and click Query

Setting up a query rule

The following operators are available:

equalnot equalinnot in
containsdoesn't containis emptynot empty
is nullnot null

Note: the in and not in operators display the options as biscuits created by entering text and hitting tab or enter.

Setting up a query rule

  1. Click the magnifying glass icon to zoom the map to the feature
  2. Click the download icon in the top right to download results to a CSV file

Query Results

Querying by Geometry

By selecting the geometry field for the query, you can choose a feature from another layer as the search extent. Features which intersect with the search feature will be listed.

To query by geometry:

  1. In the sidebar, select the Layers tab
  2. Right click the layer and click Query

Layers right-click-query

  1. Select the geometry field as search field
  2. Click the Select Geometry button

Query by Geometry

  1. Click on a feature in the map

Query by Geometry Select dWithin

  1. Click the new drop-down button and enter a buffer distance to apply to the search area
Note: Buffer distance can be positive to expand the search area or negative to reduce it.

Query by Geometry Buffer

  1. Click Query

Query by Geometry Results

Query Groups

Groups provide the equivalent of brackets in an SQL expression. For example, the query below represents an expression of this form:

Suburb = 'WEST PERTH' AND ( Street = 'ORD ST' OR Street = 'OUTRAM ST' )

Querying layer