Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

building

Ashli edited this page Mar 1, 2017 · 8 revisions

Generating GeoJSON files from sources

git submodule init
git submodule update

To clear existing data (if you need to)

rm -rf generated/*

Install deps

cd Processing
virtualenv env
source env/bin/activate
pip install -r requirements.txt
pip install shapely

Download Cache (CD back to src directory)

mkdir generated
DOWNLOAD_CACHE=cache python ./Processing/process.py sources/ generated

Generating tiles from GeoJSON

cd generated
python ../Processing/vectorTiling.py ../tiles.mbtiles --catalog catalog.geojson

Uploading new tiles to s3

python ./Processing/upload_mbtiles.py  tiles.mbtiles s3://data.openbounds.org/publiclands/tiles/

Clone this wiki locally