Select distance (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
{{article end | {{article end | ||
|notes= | |notes= | ||
* The distance is measured between the center point of the first [[ | * The distance is measured between the center point of the first [[Item]] and the center point of the second item. | ||
|api=* [[Api session query]] | |api=* [[Api session query]] | ||
}} | }} | ||
{{TQL nav}} | {{TQL nav}} | ||
Latest revision as of 13:03, 6 July 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.
API Endpoints