include dropping boundary step regardless of updating db or making new

This commit is contained in:
Ed Chalstrey 2022-04-14 14:11:07 +01:00
parent e10213c54c
commit ee09491dfe

View File

@ -97,11 +97,14 @@ Index geometries.
psql < ../migrations/002.index-geometries.up.sql psql < ../migrations/002.index-geometries.up.sql
``` ```
<!-- TODO: Drop outside limit. --> Drop building outlines outside London boundary.
<!-- ```bash ```bash
./drop_outside_limit.sh /path/to/boundary_file 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. Create a building record per outline.