Distance
The “distance” operation allows to calculate planar or geodesic distance, between two geometries specified by the user.
Example of request:
Related response:
{"distance": 199.99806291642642}
SErvice parameters
Parameter | Description |
---|---|
f | Response format Valid values: html | json |
Geometry from which the distance is measured. The syntax of this parameter should be: | |
Geometry to which the distance is measured. The syntax of this parameter should be: | |
Reference system identifier used to describe geometries. | |
distanceUnit | Distance unit used to represent the resulting distance. See the list of possible values |
geodesic | A flag that has to be equal to “true” if the geodesic distance is wanted to be calculated. Otherwise, the planar distance is calculated. Valid values: true | false Default values: false |
token | Required security key in order to perform this function which is generated by filling in the corresponding form. |