Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web service to get the GPS Coordinates

I'm developing an web application (jsp/strtus2) which requires the GPS coordinates of a place. What I want to know is, whether there are any free web services that I can get GPS coordinates of a place by passing address or zip code to the server.

Thanks in advance, Nuwan

like image 771
Nuwan Avatar asked Aug 24 '09 02:08

Nuwan


People also ask

How do I find the GPS location in my browser?

The Geolocation API is accessed via a call to navigator. geolocation ; this will cause the user's browser to ask them for permission to access their location data. If they accept, then the browser will use the best available functionality on the device to access this information (for example, GPS).

Is Geolocation API free?

The Geolocation API uses a pay-as-you-go pricing model.


1 Answers

Yahoo's Geocoder is easy to use. Basically change a few query strings and it outputs an easy to parse xml file.

Google's had a few issues in our area with the coordinates being returned being incredibly inaccurate at times. Yahoo tends to actually land on the street in question, but probably wont hit the parcel itself.

That said, just note these services aren't going to be the most accurate.

like image 85
Matt Avatar answered Oct 10 '22 06:10

Matt