mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-29 18:34:44 +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]]
|
|
```
|
|
|