Description Usage Arguments Details Value Examples
Finds the distance of a point to a great-circle path
1 2 | dtDist2gc(latFrom, lonFrom, latTo, lonTo, pointLat, pointLon,
tolerance = 1e+09)
|
latFrom |
latitude value for the start of the path |
lonFrom |
longitude value for the sttart of the path |
latTo |
lattitude value for the end of the path |
lonTo |
longitude value for the end of the path |
pointLat |
latitude value for the point |
pointLon |
longitude value for the point |
tolerance |
Sometimes called 'cross-track' distance
distance in metres. The sign of the result indicates if the point is to the left (negative) or right (positive) of the line when traveling from 'latFrom,lonFrom' to 'latTo,lonTo'.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.