We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey, How can I use Google search to find the longitude and latitude of a place. Say I fill in the location as a search query and then I use the web to find the geo location of that place. Is there any API existing which can do this? Or is there any way I can use the data at google maps in my application?
Any kind of help would be great :)
Answers
This is a good start:
https://developers.google.com/maps/documentation/geocoding/
Be aware off:
You might also like this for later. It gives the google street view image from a lat/lon: (If you request to much google will probably block you for a certain time, also making use of a API is better then this if many people are going to use it).
Thanks for the prompt reply.
Another problem that I faced was to access the gps data on an android application which is being built on processing. Any ideas on how to do that?
The second question is relatively distinct enough of the first to be worth of another thread, in the Android category (at least if you want to have a chance to get an answer...).
If I try the code from clankill3er I get the error
expecting RPAREN, found 'http'
.. can you give a working example?
The code formatter of the forum messes up with URLs, just replace the HTML link with the raw URL.
I always use:
"http://" + "blahblahblah.com";
=))