Re-adding group for posterity On Fri, Mar 22, 2019 at 11:48 AM Zongwei Li <zong...@google.com> wrote:
> The easiest way is to use the Geocoding API, like I mentioned as option 2. > This will do both the address conversion and give you the corresponding > plus code in the response. Yes, it's possible for an address to not exist, > in which case the API will say so in the response. > > If you have your own method of converting addresses to lat/long, you can > use one of the libraries (like the Python library) to then convert the > lat/long to plus codes without going through the Geocoding API. > > On Fri, Mar 22, 2019 at 11:45 AM sundarganesh govindakumar < > dssundarganes...@gmail.com> wrote: > >> Thanks Zongwei for your reply . >> >> In my use case , we are trying to extract plus code for 300 million >> address locations . how should i approach this problem ? ,I have two more >> questions for you . >> Question 1: >> should i first convert 300 million address location to their >> corresponding lat/long ? , is there any possiblity address wont return >> latitude and longitude ,if address is fake or does not exsist ? >> >> question 2 : >> using only address , i cant convert them to pluscode ? is conversion of >> address to latitude and longitude is mandatory ,to generate plus code ? >> >> Thanks >> sundar >> >> On Thu, Mar 21, 2019 at 1:00 PM 'Zongwei Li' via Plus Codes Community >> Forum <open-location-code@googlegroups.com> wrote: >> >>> Hey Sundar, >>> >>> We have a Python library open-sourced here >>> <https://github.com/google/open-location-code/tree/master/python>. The >>> library takes in latitude/longitude though, so to convert from an address >>> you'll need to do one of the following: >>> >>> 1) Convert address to lat/long. Convert lat/long to plus code using the >>> library. >>> 2) Pass the address to the Google Geocoding API >>> <https://developers.google.com/maps/documentation/geocoding/start>, >>> which will have the plus code in the response. >>> >>> On Thu, Mar 21, 2019 at 12:53 PM <dssundarganes...@gmail.com> wrote: >>> >>>> Hi guys , >>>> >>>> I have a list of 1 million company addresses , how can i use >>>> python inorder to generate plus code ? pluscode have any library in >>>> python ? >>>> >>>> Thanks >>>> sundar >>>> >>>> -- >>>> 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 post to this group, send email to >>>> open-location-code@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/14e59153-cb23-421b-b883-4e5e1a6b1409%40googlegroups.com >>>> <https://groups.google.com/d/msgid/open-location-code/14e59153-cb23-421b-b883-4e5e1a6b1409%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> 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 post to this group, send email to open-location-code@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/CAOOjiHcpUa7Ofd-BKVPBPH%2BAwU1Ajk-3M6gUEAUN_Aw4XT54MQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/open-location-code/CAOOjiHcpUa7Ofd-BKVPBPH%2BAwU1Ajk-3M6gUEAUN_Aw4XT54MQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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 post to this group, send an email to open-location-code@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/CAOOjiHfaa-LYCT%2BuzbgSj2VHFio7hrOxtynLnboOTXaS%2B7e5iw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.