Clause (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 4: | Line 4: | ||
==List of Clause Parameters== | ==List of Clause Parameters== | ||
{{Param TQL|suppresscategory=true|allowselflinks=true| | {{Param TQL|suppresscategory=true|allowselflinks=true| | ||
{{: Area (TQL Param)}} | |||
{{: Area with attribute (TQL Param)}} | |||
{{: Buffer (TQL Param)}} | |||
{{: Neighborhood (TQL Param)}} | {{: Neighborhood (TQL Param)}} | ||
{{: Neighborhood with attribute (TQL Param)}} | |||
{{: Terrain (TQL Param)}} | |||
{{: Terrain with attribute (TQL Param)}} | |||
{{: Zone (TQL Param)}} | |||
{{: Zone with attribute (TQL Param)}} | |||
}} | }} | ||
{{Param TQL|suppresscategory=true|allowselflinks=true| | |||
{{: Attribute (TQL Param)}} | |||
{{: Attribute min (TQL Param)}} | |||
{{: Attribute max (TQL Param)}} | |||
{{: Attribute mult (TQL Param)}} | |||
}} | |||
{{TQL param nav}} | {{TQL param nav}} | ||
Revision as of 13:46, 13 February 2023
A TQL query statement consists of a command, either Select or Update, and a list of clauses. The clauses provide further specification of the query statement, or a refinement, spatially or property wise. A clause consists of a clause parameter and a clause value, where currently the only supported operator between the parameter and value is IS.
List of Clause Parameters
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| AREA |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Area with ID | true |
| AREA_WITH_ATTRIBUTE | Attribute | Area with non zero Attribute value | true |
| BUFFER | decimal | Buffer the limiting search Polygon with this value. | true |
| NEIGHBORHOOD |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Neighborhood with ID | true |
| NEIGHBORHOOD_WITH_ATTRIBUTE | Attribute | Neighborhood with non zero Attribute value | true |
| TERRAIN |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Terrain of Terrain Type with ID | true |
| TERRAIN_WITH_ATTRIBUTE | Attribute | Terrain is of Terrain Type with non zero Attribute value | true |
| ZONE |
Integer (Item ID), ID, X, Y, XC, YC XA, YA, XK or YK |
Zone with ID | true |
| ZONE_WITH_ATTRIBUTE | Attribute | Zone with non zero Attribute value | true |
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| ATTRIBUTE | Attribute | The Attribute used for Buildings to obtain a value. | false |
| ATTRIBUTE_MIN | decimal | Only include Buildings that have an Attribute value larger than or equal to this value. | false |
| ATTRIBUTE_MAX | decimal | Only include Buildings that have an Attribute value smaller than this value. | false |
| ATTRIBUTE_MULT | Attribute | Multiply the calculated value with the value of this Attribute for a Building | false |