Help

Convert address (list) to geocode (latitude and longitude) through map block and google API

Topic Labels: Extensions
3340 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Michael_La
4 - Data Explorer
4 - Data Explorer

I have a list of addresses and I already represented them through Map block using google Map API on the map.
The queseion is how to get the coresponding geocode (latitude and longitude) for each address.

eventhough I noteced that Map Block created text code for each address called Geocode cache is that may help or converted to coordinates.

“Geocode cache
This block stores additional information for each address. Create a new text field in your table and pick it below. Other map blocks can use the same field.”

Thank you so much for your help in advance.

1 Reply 1
Steven_Lehrburg
5 - Automation Enthusiast
5 - Automation Enthusiast

I realize this is a few years old, but in case anyone is searching for this in the future: it looks like those fields are base-64-encoded JSON. I think you'll need to do the decoding in an Automation, but that should get you the latitude and longitude.