Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.09 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.09 KB

Setup

This setup assumes that you already have a working installation of Python.

You will need to install the libraries shapefile and shapely. Both are available via pip:

> python -m pip install shapefile
> python -m pip install shapely

Usage

Run the script from the command line, passing in two arguments: latitude and longitude. (No comma, please!)

If neither argument is passed, it defaults to Fuji Café near the Pearl Street Mall.

If the point is found to lie within any neighborhoods, then it will print metadata about the neighborhood (name, city, state, county, Region ID).

> python main.py 40.018423 -105.279782
Neighborhood found: Whittier, City of Boulder, CO — Boulder County (Region ID 416094)

Upcoming Features

  • Right now the script is configured to only search within the state of Colorado. It would be nice to search other states, too.

References

Neighborhood boundary files come from Zillow, and are used under the Creative Commons license.