Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've recently had cause to dust off an application I built several years ago to extract geocodes (longitude and latitude) from address data. The application uses the Google Maps API to take a list of addresses or postcodes and return the relevant coordinates, which you can then output to CSV or Excel. I haven't seen a recent version of the API code on Qlikcommunity recently so I thought I'd share mine.
All these instructions can also be found on the home screen of the QlikView app.
Note that each Google account has a daily limit for the number of requests it can submit (circa 5,000), so you may need to run the query in batches to get all your addresses.
Hello Mark,
can you please advise if this can be done for Qlik Sense?
I can get geocodes from Google using Python (geocoder is excellent library) or Qlik REST connector.
But your example is the perfect in terms what I want to achieve - I have Excel list with approx. geo names, then upload it and have lng and ltd for each of them from Google directly in Qlik sense.
Thanks,
Slava.
Never mind, was able to re-create it in the Qlik Sense.
It was easy, vFile should be the full path to csv file with addresses.
vKey is the Google Maps API key.
Nice work Mark
works fine for me
Regards,
Alan