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 | Type | Description | Limits search polygon |
---|---|---|---|
AREA | Item ID | 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 | Item ID | Neighborhood with ID | true |
NEIGHBORHOOD_WITH_ATTRIBUTE | Attribute | Neighborhood with non zero Attribute value | true |
TERRAIN | Item ID | Terrain of Terrain Type with ID | true |
TERRAIN_WITH_ATTRIBUTE | Attribute | Terrain is of Terrain Type with non zero Attribute value | true |
ZONE | Item ID | Zone with ID | true |
ZONE_WITH_ATTRIBUTE | Attribute | Zone with non zero Attribute value | true |
Param | Type | Description | Limits search polygon |
---|---|---|---|
ATTRIBUTE | Attribute | The attribute used for Buildings to obtain a value. | false |
ATTRIBUTE_MAX | 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 |