title: $:/plugins/tiddlywiki/geospatial/tests/operators/geodistance
description: geodistance operator
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]

title: Description

geodistance operator
+
title: Output

\whitespace trim
<$let
	oxford={{{ [geopoint[51.751944],[-1.257778]] }}}
	new-york={{{ [geopoint[40.730610],[-73.935242]] }}}
>

<$text text={{{ [geodistance<oxford>,<new-york>] }}}/>,
<$text text={{{ [geodistance<oxford>,<new-york>,[miles]] }}}/>,
<$text text={{{ [geodistance<oxford>,<new-york>,[kilometers]] }}}/>,
<$text text={{{ [geodistance<oxford>,<new-york>,[degrees]] }}}/>,
<$text text={{{ [geodistance<oxford>,<new-york>,[radians]] }}}/>,
<$text text={{{ [geodistance<oxford>,<new-york>,[xxxxxxx]] }}}/>

</$let>

+
title: ExpectedResult

<p>3406.2115173004354,3406.2115173004354,5481.766068098352,49.241105484826875,0.8604235593111019,3406.2115173004354</p>