1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-12 23:14:21 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/docs/geopoint.tid

23 lines
702 B
Plaintext
Raw Normal View History

2023-04-11 16:14:51 +00:00
title: $:/plugins/tiddlywiki/geospatial/docs/geopoint
caption: geopoint operator
tags: $:/tags/GeospatialDocs
!! `geopoint` operator
The `geopoint` operator converts separate latitude, longitude and (optionally) altitude numbers into a [[GeoJSON Point Feature]] that can be used with other geospatial primitives.
The coordinates are specified as two or three operands:
```
[geopoint<latitude>,<longitude>,<attitude>]
```
Any operands that cannot be interpreted as a valid number will be interpreted as the value zero.
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/geopoint"/>
2023-04-13 08:39:52 +00:00
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
</$testcase>