Not on its own. Need a (Reverse) Geocoder. Can convert a Plus Code to lat/long coordinates purely in code (unless it's a 'shortened' code, then may need a geocoder to decode the 'Locality Reference' - unless can deduce it from local context)
Once have coordinates can then use a Reverse Geocoder to convert to a 'Address String'. This can't typically be done in pure python because it needs a database of places/gazetteer to synthesise the address. Ironically PlusCodes are kinda intended to be an alternative to address. To be an identifier for places that dont have 'formal' addresses; in countries that have a formal addressing system, probably dont need a Plus Code. ... i.e. places that dont have addresses (ie a reverse geocoder wont work!) is a major 'use case' for plus codes. So if someone is using a plus code to refer to a place, it seems a fair chance that it means that an actual 'address' doesnt really exist, and as such trying to convert to a 'address string' will likely fail. (or a smart reverse geocoder would create the address using a plus code, bringing you full circle) On Thu, Jul 30, 2020 at 11:33 AM Pankaj Raina <pankajraina....@gmail.com> wrote: > Can we convert Plus Codes to corresponding address strings using OLC in > python. > > Please help in this. > > Regards, > Pankaj > > -- > 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-code+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/open-location-code/61a1fc3d-f339-4124-835b-8362daa95ecao%40googlegroups.com > <https://groups.google.com/d/msgid/open-location-code/61a1fc3d-f339-4124-835b-8362daa95ecao%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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-code+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/open-location-code/CAJCAUuJkLQmgdLpKWcSzkSL53iE1qPY0k%3DEBAZTPiyBM4p1%3DVg%40mail.gmail.com.