Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 1.85 KB

CONTRIBUTING.md

File metadata and controls

74 lines (52 loc) · 1.85 KB


logo
Water The Trees

Water The Trees is a platform that crowd sources tree planting and maintenance. We believe in the power of trees to restore natural habitat for animals, insects, and fauna. We are interesting in continuous massive tree planting events to help sequester carbon and stabilize climate change extremes.

Water.The.Trees.Demo.mov

Getting Started

To install the node.js dependencies:

npm install

We also depend on GDAL and Tippecanoe. On Macs, both can be installed through Homebrew.

To install GDAL using Homebrew:

brew install gdal

To install tippecanoe using Homebrew:

brew install tippecanoe

Running

To run the whole pipeline:

npm run all

You can also run each stage of the pipeline independently. A full run does the following:

npm run download    # downloads all of the source data
npm run convert     # converts all source data into newline delimited GeoJSON
npm run normalize   # normalizes all the converted files
npm run concatenate # smashes all the normalized files together
npm run tile        # builds a vector tile set from the concatenated file

We also include a tile server so that you can see the neat things you've made:

npm run tile-server

You will need to have MAPBOX_API_TOKEN set in your environment to view your tiles using the tile server.

Forked and refactored from: opentrees-data