Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have around 4000 addresses for which i need to find the lat and lng using google Geocoding API. I have built a talend job for this, but it is really slow.
This is the ex API Call:
im using ((String)globalMap.get(row2.addresses)) in tREST to call the each addresses in my job.
So for 4k records, i have to use 4k API call.
Just like we can pass around 25 destination or origin to one call in distance matrix api, is there any way to pass multiple addresses to geocoding api in the same call.
I don't think this is possible with the Google Geocoding API, but if you only have 4000 addresses, you only need to do this once. An address' lat/lng will never change unless the address physically moves. If your batch of 4000 addresses change periodically, you should keep a store of your address lat/lng values and search for those first, then add any extra lat/lng values that are found as the number increases.