is there any Python library or sample code to convert list of lat/long to plus code

75 views
Skip to first unread message

Sundar Ganesh

unread,
May 20, 2019, 5:46:50 PM5/20/19
to Plus Codes Community Forum
My application is generating around 100K  lat / long per day based on user's location , My requirement is i want to convert  all the 100K lat/long which were stored in csv format  to plus code . I tried it with google sheets addons  to convert  lat/long to plus code . 

 My question is ,

1. Is there any Python library  or python sample code  to convert list of latitude and longitude to PLus code ? 

Zongwei Li

unread,
May 20, 2019, 5:57:05 PM5/20/19
to Sundar Ganesh, Plus Codes Community Forum
The Python library is available in the main Github repo here. Simply call encode, e.g. encode(47.365590, 8.524997).

--
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 post to this group, send email to open-loca...@googlegroups.com.
Visit this group at https://groups.google.com/group/open-location-code.
To view this discussion on the web, visit https://groups.google.com/d/msgid/open-location-code/19539bbf-4cda-4f50-b049-94e2cb4f87af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages