1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 01:03:16 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/docs/geonearestpoint.tid

20 lines
795 B
Plaintext
Raw Normal View History

2023-04-11 16:14:51 +00:00
title: $:/plugins/tiddlywiki/geospatial/docs/geonearestpoint
caption: geonearestpoint operator
tags: $:/tags/GeospatialDocs
!! `geonearestpoint` operator
2023-04-28 09:47:57 +00:00
The `geonearestpoint` operator determines the point in a list that is nearest to a target point. Each input list item is interpreted as a [[GeoJSON Feature]] comprising the candidate points. The target point is specified as the first operand in [[GeoJSON Point Feature]] format.
2023-04-11 16:14:51 +00:00
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/geonearestpoint"/>
2023-04-13 08:39:52 +00:00
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
2023-04-28 09:47:57 +00:00
</$testcase>
<$testcase>
<$data $compound-tiddler="$:/plugins/tiddlywiki/geospatial/tests/operators/geonearestpoint2"/>
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
</$testcase>