This is documentation of an archived release.
For documentation on the current version, please check Knowledge Base.

Query Objects

What does it do ?

Use the Query tool to search for objects that comply with an exact condition.

The Tool

The Query Object tool is a window. Open the window by selecting the menu option Tools → Query… .

Step 1 : Select Model

Queries are searched for objects that meet specific conditions. Conditions relate to attributes of the objects searched for, so a query is defined for a single determined set of objects : a Model.

So first select the model to query in.

Step 2 : Specify Conditions

Now enter your conditions. A condition is an expression that relates a value to an attribute, for example “ AREA larger than 1 square mile”. In a Query you can combine several conditions.

Build your condition and add it to the conditions list (top blank area) : Select an attribute from the list, select an operator from the list, and type in a value. You can use one of the functions below to select a value : copy the value form the focus selected object, choose one from the attribute table, or view the model statistics to analyze. If the queried attribute is of type 'String' (text), you can add a * wildcard.

You can of course modify the condition and update it, or remove it.

You can also specify a second or third condition, add it to the list, and determine the logical combination by setting AND/OR.

Step 3 : Run Query

When ready building the query conditions, press the “Run Query” button. Orbit will execute the query and return the results in the “Query Result” tab. The Objects found are listed in an embedded Object Inspector. You have basically the same tools available as in the regular Object Inspector, but remember these objects are not selected, they are only the result of the Query process.

Selecting the result set

You can browse through your result set, and select and highlight a focus object. It is then transferred to the Object Inspector and highlighted on the map. You can select the complete result set by setting 'all objects' on before pressing 'Select and Highlight'.

You can calculate intersections between the result set of your query operation, and the list of selected objects in the Object Inspector :

Exclude : Merge both and but remove objects that are common.

Saving Query Conditions

You can save the query conditions in an *.oqf file. The query file registered the queried model. When re-opening the query, this model must be present in your dataset list and visible.

 
Last modified:: 2019/03/25 11:36