hasgeek / hascore

Hasgeek legacy geonames API
3 stars 2 forks source link

Postal code database API #21

Open jace opened 8 years ago

jace commented 8 years ago

The geoname APIs provided by Hascore are notably missing postal code lookup. Postal codes are the easiest way to locate to an approximate neighbourhood without advanced location parsing.

Data sources:

  1. GeoNames has a full set of worldwide postal codes including lat/lon, but with a caveat that the locations for India are inaccurate: http://download.geonames.org/export/zip/
  2. data.gov.in has three pincode databases for India, but once again without lat/lon: https://data.gov.in/catalog/all-india-pincode-directory
  3. The pincode project by @sanand0 uses geonames data as a base and allows users to drag a map marker to wherever they think the pincode should be located. It is currently offline. https://github.com/sanand0/pincode
souravs89 commented 6 years ago

Dear jace, I am interested in the geolocations of the PIN codes of India. Is there any particular reason for which you think that the locations mentioned in the GeoNames website are not accurate? Thank You very much!

jace commented 6 years ago

It's been a while, but IIRC, if you plot them on a map, you'll find all pin codes for a city are mapped to the centre of the city.

souravs89 commented 6 years ago

Thank You very much for your reply!