--
Public site: http://www.openlocationcode.com/
Github project: https://github.com/google/open-location-code
Demo site: http://plus.codes/
---
You received this message because you are subscribed to the Google Groups "Plus Codes Community Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-location-c...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/open-location-code/024d993f-9f69-40f0-b822-a90a43f1660en%40googlegroups.com.
From GPS coordinates:
Example: (lat, long) = 48.8583,2.2923
1- add 90° to the latitude and 180° to the longitude
Example: 48.8583+90=138.858348.8583+90=138.8583, 2.2923+180=182.29232.2923+180=182.2923
2- multiply the values by 8000 (= 20 ^ 3)
Example: 138.8583×8000=1110866.4138.8583×8000=1110866.4, 182.2923×8000=1458338.4182.2923×8000=1458338.4
3- convert the values obtained to base 20 (with the alphabet 23456789CFGHJMPQRVWX) by limiting yourself to the whole part and supplementing with initial zeros if the result has less than 5 digits.
Example: 1110866(10)=[6,18,17,3,6](20)=8WV58(20OLC)1110866(10)=[6,18,17,3,6](20)=8WV58(20OLC), 1458338(10)=[9,2,5,16,18](20)=F47RW(20OLC)1458338(10)=[9,2,5,16,18](20)=F47RW(20OLC)
4- insert the 2 times52 times5 characters obtained by alternating latitude then longitude and write the result in the form 'XXXXXXXX + XX'
Example: 8WV58 and F47RW give 8F,W4,V7,5R,8W or the plus code 8FW4V75R+8W
The Open Location (OLC) codes are in the format XXXXXXXX+XX or sometimes XXXX+XX Place (the first 4 characters are deleted) this second form requires a database in order to know the place which allows to find the 4 first characters.
Codes have a + hence their nickname plus codes
The Google company created these codes which are used more and more, thanks to Google Maps, any reference to the search engine is a clue.