Open Location Converter
Open Location Converter
A suggestion ? a feedback ? a bug ? an idea ? Write to Each pair of letters therefore represents an area, and the more pairs of
dCode!
letters, the more precise the area (up to an area of 3.5m² with the best
precision)
The Earth is first divided into geographic areas according to a grid of 18x9
(every 20°) which can be identified by 2 coordinates ( AA ), then each area
is divided into sub-areas (a 20x20 grid) identified by the sub-coordinates ( B
B ) etc, themselves redrawn in 20x20 up to 4 times.
Optionally, one last time, the area is cut into a 4x5 grid (4 wide, 5 high)
identifying 20 boxes, numbered from left to right and from bottom to top.
A code is made up of 2 parts separated by a plus sign + of the form AABB
CCDD+EEF or even AABB+CC . The first part is made up of 1 to 4
alphanumeric pairs ( BB,CC,DD are optional), the second part is also
optional, but the fewer letters there are, the less precise the location.
The plus sign is also optional, but it is part of the signature of the code
and makes it easier to read.
Then for each value, multiply it by the precision of each couple according
to the table
#1 AA 20°
#2 BB 1°
#3 CC 0.05°
#4 DD 0.0025°
#5 EE 0.000125°
#6 F 0.00003125°
Add all latitude values and subtract 90° on one side and all longitude
values and subtract 180° on the other to obtain GPS coordinates.
Example: The code 8FW4V75R+8W is cut into pairs 8F,W4,V7,5R,8W
The second pair is' W4' either latitude +18° and longitude +2° etc.
QUESTION
Source code
dCode retains ownership of the "Open Location (Plus Code)" source
code. Except explicit open source licence (indicated Creative Commons /
free), the "Open Location (Plus Code)" algorithm, the applet or snippet
(converter, solver, encryption / decryption, encoding / decoding,
ciphering / deciphering, translator), or the "Open Location (Plus Code)"
functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher,
decode / encode, translate) written in any informatic language (Python,
Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or
API access for "Open Location (Plus Code)" are not public, same for offline
use on PC, tablet, iPhone or Android !
The copy-paste of the page "Open Location (Plus Code)" or any of its
results, is allowed as long as you cite the online source
https://www.dcode.fr/open-location-code