tags:

views:

22

answers:

1

Hi Guys,

i'm developing a little tool at the moment and i like to convert addresses into long/lat. Is there any way to do this without using javascript because in my case there is no need to display anything since the conversion is in the background.

Thanks in Advance!

+1  A: 

What you are looking for is called Geocoding.

Google provides a Geocoding Web Service which should do what you're looking for. You will be able to do geocoding on your server.

JSON Example:

http://maps.google.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false

XML Example:

http://maps.google.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false

Daniel Vassallo
thanks so much! that's exactly what i was looking for!
n00b
@n00b: I initially mis-read your question. You're looking for Geocoding, not Reverse Geocoding. Nevertheless, you can still do it with the Google Web Services API.
Daniel Vassallo