mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-12 19:20:27 +00:00
20 lines
674 B
Plaintext
20 lines
674 B
Plaintext
|
title: $:/plugins/tiddlywiki/geospatial/tests/operators/olc-decode
|
||
|
description: olc-decode operator
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Description
|
||
|
|
||
|
Open Location Code operators
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
(<$text text={{{ [olc-decode:bounds[9C3WQP2R+QV]] }}}/>)
|
||
|
(<$text text={{{ [olc-decode:point[9C3WQP2R+QVH]] }}}/>)
|
||
|
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>({"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[51.751875,-1.257875],[51.752,-1.257875],[51.752,-1.25775],[51.751875,-1.25775],[51.751875,-1.257875]]]}})
|
||
|
({"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[51.7519375,-1.257765625]}})
|
||
|
</p>
|