i want to get the latitude and longitude using the zipcode for android application
+1
A:
You will have to use a Geocoding Service, like the ones provided by Google or the freely available Nominatim. Note that since you will be just providing a ZIP code, you might not get the results you want due to the inaccuracy of the address itself.
npinti
2010-09-04 07:38:04
Also (at least for Google), make sure you fill in as many details as possible, and maybe even set some region options, to ensure the ZIP code is searched in the country you expect it to be. For ZIP code formats that hold spaces, you might want to remove those first, for otherwise Google might only use the first part and show you another country as well.
Arjan
2010-09-04 08:05:17
+2
A:
You could use YQL like so: select centroid from geo.places where text="ZIPCODE_HERE"
Tyler Gillies
2010-09-04 07:45:03