Select distance (TQL): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Select TQL|suppresscategory=true|allowselflinks=true| {{Select TQL|type=row|attribute=DISTANCE|unit={{decimal}}|description=Returns the distance between two objects|fixed=2|polygon=false|}} }} {{Param TQL|suppresscategory=true|allowselflinks=true|list=true| {{: Address (TQL Param)}} {{: Area (TQL Param)}} {{: Building (TQL Param)}} {{: Neighborhood (TQL Param)}} }} {{TQL nav}}") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Select TQL|suppresscategory=true|allowselflinks=true| | {{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | ||
{{Select TQL| | {{Select TQL|tabletype=row|attribute=DISTANCE|unit=decimal|description=Returns the distance between two [[item]]s|fixed=2|polygon=false|}}</onlyinclude> | ||
}} | }} | ||
Line 8: | Line 8: | ||
{{: Building (TQL Param)}} | {{: Building (TQL Param)}} | ||
{{: Neighborhood (TQL Param)}} | {{: Neighborhood (TQL Param)}} | ||
}} | |||
{{article end | |||
|notes= | |||
* The distance is measured between the center point of the first [[item]] and the center point of the second item. | |||
}} | }} | ||
{{TQL nav}} | {{TQL nav}} |
Latest revision as of 14:40, 28 February 2023
Select | Unit | Description | Fixed clause amount | Polygon based |
---|---|---|---|---|
DISTANCE | decimal | Returns the distance between two items | 2 | false |
Allowed clause parameters
Param | Type | Description | Limits search polygon |
---|---|---|---|
ADDRESS | Item ID | Address with ID | false |
AREA | Item ID | Area with ID | true |
BUILDING | Item ID | Building with ID | false |
NEIGHBORHOOD | Item ID | Neighborhood with ID | true |
Notes
- The distance is measured between the center point of the first item and the center point of the second item.