Description Usage Arguments See Also Examples
encode_olc
creates Open Location Codes from
latitude and longitude values, of a specified length.
1 | encode_olc(lats, longs, length)
|
lats |
a numeric vector of latitudes. |
longs |
a numeric vector of longitudes, equivalent in size to |
length |
the length you want the resulting OLCs to be. The conventional lengths
are 10 or 11, with any number above 8 and any even number below it being acceptable. |
decode_olc
for the opposite operation, and shorten_olc
to convert
"full" Open Location Codes to "short" Open Location Codes.
1 | encode_olc(20.375, 2.775,6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.