Skip to content

mdejean/parking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parking/map

A map showing the amount of curbside parking space in New York City.

See it online

https://marcel.dejean.nyc/parking/map/

Run it locally

  1. Install the dependencies
  2. Add the user who will be running the script to postgres createuser -d myusername
  3. Create the template database sudo -u postgres psql -f postgis_template.sql
  4. Get the data and put it in import/
  5. Run ./import.sh
  6. Run ./update_map.sh
  7. Run php -S localhost:8080
  8. Go to http://localhost:8080/map/ in your browser

Data

These datasets must be unzipped and placed in import/

Dependencies

License

Except as otherwise noted, this software is distributed under the terms of the GNU General Public License, version 2 or later. See LICENSE for the full text. Alternate licensing is available.

Parts based on jamesbursa/analyze-nyc-parking-signs (MIT License)