• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice to find the locaton given the GPS

 
Harish Shivaraj
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
Im new to the web services. However Im keen to learn.

Im in a need for a reliable webservice which takes in GPS lat and the long and return the corresponding city/town names etc.
Is there webservice which can do this? And also since this is for a commercial use, I need to be quite careful with the licensing.

Either i can calculate this myself, however this requires a bit of an effort on geometry kiils.

What im not certain about is using the third part services for commercial use. Even if I decided to use their service, how certain could I be that its safe and reliability?
And were would I look for these services. Has anyone used such a service in your job?

Thanks
 
Vijay Vishwa
Ranch Hand
Posts: 40
1
Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Harish,

There are third party webservices available that can give information regarding location based on latlong.
One of them is googleapis. You can check the licensing information.

Simply invoke the following service using URLConnection and read from InputStream.



The InputStream will return the JSON data which can be parsed using any json engine
If you want XML then simply change json to xml in url.
 
Harish Shivaraj
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks very much. I actually managed to find the same link which you provided earlier.
I was only concerned about using those services. But what I've heard so far is that its absolutely fine to use such services and they are very reliable.

Thanks Vijay.

H
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!