sjlu / cities

Lookup cities based on zipcodes or GPS coordinates
https://www.npmjs.com/package/cities
27 stars 15 forks source link

wrong city/zip on coord look up #15

Open RobThyNeighbor opened 7 years ago

RobThyNeighbor commented 7 years ago

ran this cities.gps_lookup(40.570668,-74.61799) and got this: city: "Raritan" distance: 1.6409564465151485 latitude: "40.571302" longitude: "-74.63740" state: "New Jersey" state_abbr: "NJ" zipcode: "08869"

resulting latitude and longitude is different from the passed lat/lng arguments. result should be in Somerville, NJ 08876

sjlu commented 7 years ago

Hey Rob,

Sometimes the file is out of date, I'll run the script to make sure everything is all updated.