GithubHelp home page GithubHelp logo

cities's People

Contributors

jbranchaud avatar sjlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cities's Issues

how to add another cities?

Hi,
I want to add other cities(cities of Iran) to this library, How can I do that? where can I find cities boundaries?

wrong city/zip on coord look up

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

locale?

Is this only for US cities?

I tried lat/long for Taj Mahal and it gave me a city in Alaska

no city and zip for this NJ coord

this NJ coordinate did not return proper city and zip:
city: ""
distance: 3.0210747571303753
latitude: "40.542141"
longitude: "-74.51377"
state: "New Jersey"
state_abbr: "NJ"
zipcode: "088HH"

Actually I forked it and fixed it

I'll do a pull request in a few..

The dependencies section in the package.json file is for modules the this package depends on in order to function. Your module has no dependencies, and thus this should be blank.

The nodeJS versioning problem was because you explicitly declared 0.8 instead of requiring a minimum of 0.8 .. 0.10 is newer than 8.

Prepending

Wrong reverse geocoding

Hi,

I have encountered an issue when finding the city for "35.689566","139.770879"
The effective location is Chiyoda, a city in Japan, but cities is returning Adak in Alaska!

Dependencies?

Two questions:

1, why the specification of Node 0.8 - this makes it so the module cannot be installed on any other version.

  1. Why the Express dependency? The module does not include any code from Express?

Not able detect zip code 92603

I am using function cities.zip_lookup() and passing zipCode 92603 which is zip code for Irvine, CA and it's returning me undefined.

How to Add City

Entering the zip 94501, returns Coast Guard Isla instead of Alameda. Coast Guard Isla is not a California City, County, it is small harbor and dock for the US Coast Guard. Is there a way to add Cities to Zip Codes?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.