mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-30 16:00:46 +00:00
14 lines
444 B
Plaintext
14 lines
444 B
Plaintext
|
title: $:/plugins/tiddlywiki/geospatial/docs/olc-encode
|
||
|
caption: olc-encode operator
|
||
|
tags: $:/tags/GeospatialDocs
|
||
|
|
||
|
!! `olc-encode` operator
|
||
|
|
||
|
The `old-encode` operator converts separate latitude and longitude numbers into an [[OpenLocationCode|https://github.com/google/open-location-code]] shortcut code with a specified length (defaults to 11 characters).
|
||
|
|
||
|
```
|
||
|
[olc-encode[51.751944],[-1.257778]]
|
||
|
[olc-encode[51.751944],[-1.257778],[11]]
|
||
|
```
|
||
|
|