Getting Latitude and Longitude from PIN

My question is similar to this question here . Given the pincode (for some Indian cities) I want the latitude / longitude of the location. is there any service that will provide this? api locations? google maps api? any other service?

The api places seem to have the ability to search by type 'postcode', but does not work for the pincode I tried. In the Maps api geocoding, I tried the following query:

http://maps.googleapis.com/maps/api/geocode/xml?address=110016,Delhi&sensor=false

      

but this gives an imprecise result.

Any help?

thank

+4


source to share


4 answers


Geonames , IN, has a database of 15266 PINs for India with coordinates.



+14


source


The Geocoding API is really the API you want - its for turning addresses into coordinates.



If the information is inaccurate, then the Google database is inaccurate. I suggest to see if you can find this location in mapmaker, google.com/mapmaker. and, if necessary, you need to change it.

+1


source


https://data.gov.in/resources/all-india-pincode-directory-contact-details-along-latitude-and-longitude/download

Visit this URL and a file with PINs against longitudes and latitudes will be downloaded.

+1


source


we can use the address to convert the pin code like this:

https://apis.mapmyindia.com/advancedmaps/v1/<LicenceKey>/geo_code?addr=post%20office&pin=400097

      

This worked for me

0


source







All Articles