From 269f24b946efba95feb1b7a757b0016a615caff1 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 10 Mar 2022 09:33:55 +0000 Subject: [PATCH] remove section duplicated elsewhere --- etl/README.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/etl/README.md b/etl/README.md index 832b8239..9fe3adde 100644 --- a/etl/README.md +++ b/etl/README.md @@ -76,28 +76,6 @@ load_uprns.py ./addressbase_dir psql < ../migrations/003.index-buildings.sql ``` -## Alternative, using OpenStreetMap - -This uses the [osmnx](https://github.com/gboeing/osmnx) python package to get OpenStreetMap data. You will need python and osmnx to run `get_test_polygons.py`. - -To help test the Colouring London application, `get_test_polygons.py` will attempt to save a -small (1.5kmĀ²) extract from OpenStreetMap to a format suitable for loading to the database. - -In this case, run: - -```bash -# download test data -python get_test_polygons.py -# load all building outlines -./load_geometries.sh ./ -# index geometries (should be faster after loading) -psql < ../migrations/002.index-geometries.up.sql -# create a building record per outline -./create_building_records.sh -# index building records -psql < ../migrations/003.index-buildings.up.sql -``` - ## Finally Run the remaining migrations in `../migrations` to create the rest of the database structure.