A map showing the amount of curbside parking space in New York City.
https://marcel.dejean.nyc/parking/map/
- Install the dependencies
- Add the user who will be running the script to postgres
createuser -d myusername
- Create the template database
sudo -u postgres psql -f postgis_template.sql
- Get the data and put it in
import/
- Run
./import.sh
- Run
./update_map.sh
- Run
php -S localhost:8080
- Go to
http://localhost:8080/map/
in your browser
These datasets must be unzipped and placed in import/
- locations.csv
- signs.csv
- Parking_Regulation_Shapefile/
- lion/ (street centerlines)
- nybb.shp Borough boundaries (clipped to shoreline)
- nyct2010wi.shp Census tracts (water included)
- nycb2010wi.shp Census blocks (water included)
- DEPHydrants/ Fire hydrants
- MapPLUTO.shp
- Active_DCA-Licensed_Garages_and_Parking_Lots.csv
- PHP >=7.0
- postgresql >=11.0
- postgis >=3.0
- gdal-bin (for ogr2ogr)
- Geosupport Desktop Edition
- gcc
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)