Hello,
Lets say I have two addresses I want to travel between. Which is easy enough to look up on google maps. How can I find the data points for that trip so I could add it too Alteryx?
Thanks,
Frazer
Solved! Go to Solution.
Hi @The_Fray
If the data contains the addresses of two points it is possible to geocode it by calling google API and get the lat and long of the two points.
Please go through the below blog for detailed info:
https://www.theinformationlab.co.uk/2017/01/23/geocode-addresses-alteryx-google-api/
Hello,
Thanks for the thoughts. I am not sure if that is exactly what I am looking for. Perhaps an example is better to explain: how would I get the points for the following route?
Hi @The_Fray You might want to check out the google directions API for this.
https://developers.google.com/maps/documentation/directions/intro
Looks like it can return a series of points (which you can then build into a polyline for your route) or return an encoded polyline (which you would have to decode and then convert into geojson/Alteryx spatial object).