Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Data Append to URL String

yashd
8 - Asteroid

Hey Everyone, I have been facing this roadblock to append the Lat and Lon in the API URL, but i am getting error and I am not able to figure the way around it. Your Input would be appreciated if any other tool I would need to use let me know.

Thank you in advance

 

 

4 REPLIES 4
adm510
11 - Bolide

You need to enclose the literal string values in quotes, try something like this:

 

"http://maps.googleapis.com/maps/?location=" + [lat] + "," + [long]+"&radius=100"

nick_ceneviva
11 - Bolide

You'll need to concatenate the different parts of the URL with the longitude and latitude.  It'll look something like this: "https://maps.googleapis.com.......location" + [Lat] + "," + [Lon] + "&radius..................."

yashd
8 - Asteroid

hey Nick, I did try it but I am getting error something like this, is there any more input can give by seeing this error.

Thank you in advance

nick_ceneviva
11 - Bolide

ahhh my bad.  You are also going to have to convert the longitude and latitude to a string in order to concatenate.  You can do this either through a select tool or with a function (ToString) in the formula tool.

Labels