How to perform searches and queries
Searches and queries are powerful tools for exploring data in your map.
How to zoom to a particular feature or features
You can zoom to particular feature or features using the following parts of the application:
- Search panel
- Results table
- Navigation tools
The Search menu can be used to locate areas of interest. There are two types of searches available:
- Locator search
- Map layer search – indicated by the blue icon next to the category name.
The locator search allows you to quickly find where a feature or place is located on the map. It will not turn on map layers or open the results table automatically. Instructions for how to run this type of search are provided below.
Ensure you have your layers of interest added to the map and turned on.
Click Search, choose a category without a blue icon such as Lot on plan and enter a lot number. Hit enter or click the magnifying glass icon to run the search.
Click on a result to zoom to that feature and highlight it on the map (1RP1 in this example).
If you would like to find out more information about this feature click on the Display results table button to open the results table.
Click on a tab within the results table to view the associated attributes of the feature.
Map layer search
Map layer searches are indicated by a blue icon next to the category name. These searches will automatically open the results table and turn on associated map layers when run. This type of search can be run as follows:
Zoom into an approximate area of interest. (This reduces the time it takes to display the map layers).
Click Search, choose a category with a blue icon such as All current permits and enter a permit number using one of the example formats provided. Hit Enter or click the magnifying glass icon to run the search.
The associated permit layers will turn on and the results table will display at the bottom of the map.
Click on a tab within the results table to display the attributes of the permit.
There are many ways to populate the Results table including running a:
- Attribute query or
- Spatial query
For instruction on these methods, refer to these resources:
For this example, follow the steps above to perform an All current permits search. When the search is complete tabs will appear for each layer that returned a result (in this example, ML permit granted and ML surface area granted). Click on your required tab.
Click the down arrow next to your chosen record and then click Zoom to feature.
If required, click on the checkbox next to your chosen record to highlight it on the map.
If you have multiple records you wish to zoom to, select the necessary checkboxes, and then click Zoom to feature at the bottom of the table. Note you can select all records by clicking the checkbox at the bottom of the table.
The Results table can also be populated by using the identify tool, or performing a query. For more information on these methods, consult the following documentation and video tutorials:
Filter table results
When viewing records in the results table, you may want to refine the data further based on certain attributes. This can be done using the Filter tool.
First, follow the instructions above to run a search or query to return some results to the table.
Click the filter button (top left) in the results table
A popup window will display where you can select the options you would like to filter by. Click the drop down arrows to select the LAYER, FIELD and OPERTATOR you would like to use. Then enter a VALUE to filter on.
In this example the Report Index layer is being filtered by the commodity field for any records which contain the word “Petroleum”.
Click add to apply the filter to the results table. Once complete, a notification will display to advise that the filter has been applied.
Click on View Filter List to view filters that have been applied or remove any that are unwanted.
You can now close the filter window and return to the results table.
The results table will display the filtered results within the selected area and the number of filters that have been applied will appear beside the filter button.
The filter will remain active until a new search is run or it is removed through the Filter tool.
Please note: the data is only filtered in the results table. The map display will not be altered by this filter.
How to query layers intersecting a feature or a place
Places → Query layers using this place:
Turn on your layer of interest.
Using the Layers tab on the left hand side menu bar, click on Add layers
Add one or many layers and/or any of their related layers.
Once layers are turned on you can then draw an area of interest on the screen using the drawing tools.
Results table → Tab → Drop list → Intersect
This feature action will allow you to query any intersecting layers – e.g. if you choose ML 1 and would like to see what constrained lands this overlaps or abuts with then choose Intersect from the drop down menu.
After you click the intersect action, a dialog box appears where you can choose your distance.
- a negative number finds intersects within the area only and not abutting
- a zero amount finds intersects within the area including abuttals
- and a positive integer is the distance in metres surrounding ML 1
How to query a layer’s attributes
An attribute query can be run on most layers in the application.
To run an attribute query on a layer, ensure it has been added to you map and is visible.
We’ll use Boreholes Coal for this example.
Once your layer has been added, locate it in the layers panel, either by expanding the layer groups
or by entering a filter term.
Then click the arrow to the right of the layer name to reveal the Attribute Query panel.
Click on Query layer attributes
Enter a query of your choice.
There are many variables to choose from, depending on your layer and the fields it contains.
We’ll use a simple query for this example, Bore ID = 5221
Click on Query Layer
Review the query outputs in the Results table
For further information on interacting with the results table, refer to the Searching and querying tutorial video.
How to perform an advanced search
The advanced search function is a powerful tool that lets you refine your search based on attributes within the data.
To do this, first turn on your layer of interest from the Add layers menu.
The Resources layers will be used for this example.
Click Search, from the search panel you can then choose Advanced search.
Once selected, the Advanced search panel will display and allow you to choose the type of advanced search you would like to perform.
For this example, we will use the Mine or Prospect advanced search function.
The Attribute Query panel will display. Use the drop down menus to select the attribute you would like to search on and an operator. Then enter the search term.
If you would like to search on more than one attribute click ADD CLAUSE then select AND or OR as the CLAUSE type and enter the search criteria.
In this example we are searching for all mines or prospects where the main commodity is GOLD AND the deposit size is LARGE.
Once you have entered your search criteria, select the Query layer button at the bottom of the panel to run your search.
This will display your search results in the results table window at the bottom of your screen.
From here you can download your selected results in shp, kml, json or csv file format.