mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-19 16:24:51 +00:00
683ec33004
And add some tests for the data widget
14 lines
584 B
Plaintext
14 lines
584 B
Plaintext
title: $:/plugins/tiddlywiki/geospatial/docs/olc-decode
|
|
caption: olc-decode operator
|
|
tags: $:/tags/GeospatialDocs
|
|
|
|
!! `olc-decode` operator
|
|
|
|
The `olc-decode` operator converts an [[OpenLocationCode|https://github.com/google/open-location-code]] shortcut into the [[GeoJSON Point Feature]] at its centre or the [[GeoJSON Polygon Feature]] representing the bounds of the area identified by the input code.
|
|
|
|
!! Examples
|
|
|
|
<$testcase>
|
|
<$data $compound-tiddler="$:/plugins/tiddlywiki/geospatial/tests/operators/olc-decode"/>
|
|
<$data $tiddler="$:/plugins/tiddlywiki/geospatial"/>
|
|
</$testcase> |