Skip to content

Pet project to map NYC's water capture and delivery system

Notifications You must be signed in to change notification settings

chinigo/nyc_drinking_water

Repository files navigation

Results

Rendered map of watersheds and pipelines

Procedure

  • Install dependencies

    $ brew tap osgeo/osgeo4mac
    $ brew install postgres
    $ brew install postgis2 --build-from-source
    $ brew install grass7 --with-postgresql --with-libpq --with-matplotlib
    $ brew install gdal2 --with-postgresql --with-sfcgal --with-armadillo --with-qhull --with-opencl --with-libkml
    $ brew install gdal2-pdf --with-poppler
    $ brew install qgis3 --with-grass
    
  • Install direnv as per https://direnv.net/

  • Install pipenv as per https://github.com/pypa/pipenv

  • $ cp envrc.example .envrc
    $ pipenv install
    $ ./bin/nyc_drinking_water ensure_postgis
    $ ./bin/nyc_drinking_water --help
  • Copy TIGER data for NY and surrounding states using https://github.com/chinigo/tiger_tamer:

    $ ./bin/tame --projection 200100 all ./TIGER/2018
  • $ ./bin/nyc_drinking_water run_all

About

Pet project to map NYC's water capture and delivery system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages