Is it possible to get the Lat/Long pair given Plus Code?

92 views
Skip to first unread message

Sreenivasulu Saya

unread,
Feb 4, 2020, 6:36:45 AM2/4/20
to Plus Codes Community Forum
Hi All,

Given a Plus Code, it is possible to get the Lat/Long values?

So fart, I did not find any mention of this in the office website of Plus Code: https://plus.codes/

If if there any documentation regarding this, please share it.

Regards,
  --Sreeni Saya
Bangalore, India.

Barry Hunter

unread,
Feb 4, 2020, 6:52:20 AM2/4/20
to Sreenivasulu Saya, Plus Codes Community Forum
On that site, use the 'Find your code' button. Paste in the plus code, will display the location on map, can get the coordinates. 

Or to do the decoding yourself, there is lots of implementations in different languages can use

As long as wanting to decode a 'full' 11 charactor or 'global' plus code, if wanting to decode shortened codes (a locatalty as a name, and 7 chars plus code) - much more complicated as need a geocoder. Not sure anyone has released a full decoder as opensource that fully supports decoding short codes. 


Although there is an API if want that, means the complexity of decoding is offloaded to a remote server :)
powered in part by the Google Maps API. 



--
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/47140a46-66f7-4994-9c84-e8580efc352e%40googlegroups.com.

River Mersey

unread,
Feb 4, 2020, 7:03:43 AM2/4/20
to Plus Codes Community Forum
Hi,

Here is a description of the algorithm for generating a plus code from long/lat:
From this, an algorithm can be made to generate long/lat from a plus code of suitable definition.

My own attempt at applying a long/lat to plus code VBA algorithm on an ms access databases is available at:

From: open-loca...@googlegroups.com <open-loca...@googlegroups.com> on behalf of Sreenivasulu Saya <saya...@gmail.com>
Sent: Tuesday, February 4, 2020 11:36:45 AM
To: Plus Codes Community Forum <open-loca...@googlegroups.com>
Subject: [open-location-code] Is it possible to get the Lat/Long pair given Plus Code?
 

Sreenivasulu Saya

unread,
Feb 5, 2020, 12:59:14 AM2/5/20
to Barry Hunter, Plus Codes Community Forum
Hi Barry,

Thanks a lot for your pointers to PlusCode to Lat/Long. I will explore the links you have shared.

Regards,
  --Sreeni Saya


Sreenivasulu Saya

unread,
Feb 7, 2020, 5:23:15 AM2/7/20
to River Mersey, Plus Codes Community Forum
Hi River,

Thanks for sharing the links.

Regards,
  --Sreeni Saya



You received this message because you are subscribed to a topic in the Google Groups "Plus Codes Community Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/open-location-code/uTOTIY5omFE/unsubscribe.
To unsubscribe from this group and all its topics, 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/AM0PR04MB4547D35542325C355836AB9AAF030%40AM0PR04MB4547.eurprd04.prod.outlook.com.
Reply all
Reply to author
Forward
0 new messages