Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Geo name resolver #3

Open
daguar opened this issue Jan 14, 2014 · 1 comment
Open

Geo name resolver #3

daguar opened this issue Jan 14, 2014 · 1 comment

Comments

@daguar
Copy link
Owner

daguar commented Jan 14, 2014

Need a resolver for variations on geographic names.

Ideally, this would profile the data set and determine if it was: states, counties (FIPS), countries, etc. (perhaps regions of the US?) essentially allowing an easy mapping to a shapefile set.

For example, for states, we should accept all of the following:

  • Massachusetts
  • massachusetts
  • MA (USPS abbreviation)
  • Mass. (AP abbreviation)

and resolve to some standard (I'm thinking full name, eg Massachusetts; though this could later be a configurable option).

For a full list see: http://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations

This is probably worth making a standalone repo/lib.

@daguar
Copy link
Owner Author

daguar commented Jan 15, 2014

@ycombinator -- This is the fuller version of what you were asking for.

Funny enough, I can't find an equivalent JS library for this:
http://search.cpan.org/~sderle/Geo-StreetAddress-US-0.99/US.pm

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant