Query Tool: Difference between revisions
Line 20: | Line 20: | ||
==How to use the Query Tool in the Tygron Engine== | ==How to use the Query Tool in the Tygron Engine== | ||
{{Editor ribbon|header=Tools|bar=Query Tool}} | {{Editor ribbon|header=Tools|bar=Query Tool}} | ||
[[File:QueryToolRibbon-Q3-2015.jpg|thumb|Editor &26 Tools > ]] | |||
The Query tool can be found in the Tygron Engine Editor, under the ribbon header [[Tools]], by selecting the Query Tool Button. | The Query tool can be found in the Tygron Engine Editor, under the ribbon header [[Tools]], by selecting the Query Tool Button. |
Revision as of 12:57, 13 August 2015
What is the Query Tool?
The Query Tool is a support tool in the Tygron Engine that aids the user by constructing data requests in the Tygron Query Language (TQL) and displaying the query output. By using this tool, the user can quickly verify if the data needed can be extracted from the project data with the available query elements. Also the tool allows for verification of the validity of the retrieved data. All this can be achieved without creating and uploading a dedicated Query Spread Sheet. See also: Excel (Indicator)
How does the Query Tool relate to the Tygron Engine
A project in the Tygron Engine can use multiple geospatial data sources. In the Netherlands the Tygron Engine uses for instance BAG and Top10NL data, while in New York the Tygron Engine uses the PLUTO data set from the NYC Municipality. Both regions use OpenStreetMaps for the placement of roads etc.
To retrieve all sorts of data that are present, but for which no dedicated data structure (predefined indicators) already exists, the TQL (Tygron Query Language) has been developed. By using queries with the below structure, dedicated data requests can be sent to the Tygron Engine, from which the results can then be calculated in, for instance, an Excel Indicator.
SELECT
Result ParameterWHERE
ClauseAND
ClauseAND
ClauseAND
... etc.
The Query Tool provides an interface in the Editor that allows for quick creation and verification of such TQL Queries.
How to use the Query Tool in the Tygron Engine
The Query tool can be found in the Tygron Engine Editor, under the ribbon header Tools, by selecting the Query Tool Button.