2023-04-13 08:39:52 +00:00
|
|
|
title: $:/plugins/tiddlywiki/geospatial/tests/operators/olc-decode
|
|
|
|
description: olc-decode operator
|
2022-12-07 09:17:27 +00:00
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
|
2023-04-13 08:39:52 +00:00
|
|
|
title: Description
|
|
|
|
|
|
|
|
Open Location Code operators
|
|
|
|
+
|
2022-12-07 09:17:27 +00:00
|
|
|
title: Output
|
|
|
|
|
|
|
|
(<$text text={{{ [olc-decode:bounds[9C3WQP2R+QV]] }}}/>)
|
|
|
|
(<$text text={{{ [olc-decode:point[9C3WQP2R+QVH]] }}}/>)
|
|
|
|
|
|
|
|
+
|
|
|
|
title: ExpectedResult
|
|
|
|
|
2023-04-14 20:37:52 +00:00
|
|
|
<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]]]}})
|
2022-12-07 09:17:27 +00:00
|
|
|
({"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[51.7519375,-1.257765625]}})
|
|
|
|
</p>
|