Select distance (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
{{article end | {{article end | ||
|seealso=*[[TQL_Examples#Distance]] | |||
|notes= | |notes= | ||
* The distance is measured between the center point of the first [[Item]] and the center point of the second item. | * The distance is measured between the center point of the first [[Item]] and the center point of the second item. | ||
Latest revision as of 16:23, 25 November 2026
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| DISTANCE | decimal | Returns the distance between two Items. | 2 | false |
Allowed clause parameters
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| ADDRESS |
Integer (Item ID), ID, X, Y, XC, YC, XA, YA, XK or YK |
Address with ID. | false |
| AREA |
Integer (Item ID), ID, X, Y, XC, YC, XA, YA, XK or YK |
Area with ID. | true |
| BUILDING |
Integer (Item ID), ID, X, Y, XC, YC, XA, YA, XK or YK |
Building with ID. | false |
| NEIGHBORHOOD |
Integer (Item ID), ID, X, Y, XC, YC, XA, YA, XK or YK |
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.
See also
API Endpoints