From ee09491dfef653386320e7c24568df355db52137 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey <edwardchalstrey@gmail.com> Date: Thu, 14 Apr 2022 14:11:07 +0100 Subject: [PATCH] include dropping boundary step regardless of updating db or making new --- etl/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/etl/README.md b/etl/README.md index 536f83bc..99c9768e 100644 --- a/etl/README.md +++ b/etl/README.md @@ -97,11 +97,14 @@ Index geometries. psql < ../migrations/002.index-geometries.up.sql ``` -<!-- TODO: Drop outside limit. --> +Drop building outlines outside London boundary. -<!-- ```bash -./drop_outside_limit.sh /path/to/boundary_file -```` --> +```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 building record per outline.