1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 03:19:56 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/docs/geodistance.tid

14 lines
592 B
Plaintext
Raw Normal View History

2023-04-11 16:14:51 +00:00
title: $:/plugins/tiddlywiki/geospatial/docs/geodistance
caption: geodistance operator
tags: $:/tags/GeospatialDocs
!! `geodistance` operator
The `geodistance` operator calculates the distance between two points in [[GeoJSON Point Feature]] format. The points are specified as two operands. An optional third operand specifies the units as `miles`, `kilometers`, `degrees` or `radians` (defaults to `miles`).
2023-04-13 08:39:52 +00:00
!! Examples
2023-04-11 16:14:51 +00:00
<$testcase>
<$data $compound-tiddler="$:/plugins/tiddlywiki/geospatial/tests/operators/geodistance"/>
2023-04-13 08:39:52 +00:00
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
</$testcase>