From 8d10afd68bd12a8ff51fa9e299a556003c959a71 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 11 Apr 2022 10:43:26 +0100 Subject: [PATCH] add drop boundary step --- etl/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etl/README.md b/etl/README.md index f3e9904a..31d632ce 100644 --- a/etl/README.md +++ b/etl/README.md @@ -150,6 +150,15 @@ Load all new building outlines. This step will only add geometries that are not ./load_geometries.sh /path/to/mastermap_dir ``` +Drop building outlines outside London boundary. + +```bash +cd ~/colouring-london/app/public/geometries +ogr2ogr -t_srs EPSG:3857 -f "ESRI Shapefile" boundary.shp boundary-detailed.geojson +cd ~/colouring-london/etl/ +./drop_outside_limit.sh ~/colouring-london/app/public/geometries/boundary.shp +``` + Create a virtual environment for python in the `etl` folder of your repository. In the following example we have name the virtual environment *colouringlondon* but it can have any name. ```bash