From 482ab5060c39409f776a14437039add0b35c5ac3 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 11 Feb 2019 09:07:26 +0000 Subject: [PATCH] Set postcode zoom and class --- etl/load_postcodes.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etl/load_postcodes.sh b/etl/load_postcodes.sh index 35a6ac3d..39bc25c5 100755 --- a/etl/load_postcodes.sh +++ b/etl/load_postcodes.sh @@ -39,3 +39,5 @@ sed -i 's/^\"POINT/\"SRID=4326;POINT/' codepo_gb/london_postcodes_4326.csv # Load cat codepo_gb/london_postcodes_4326.csv \ | psql -c "COPY search_locations ( center, search_str ) FROM stdin WITH CSV HEADER;" + +psql -c "UPDATE search_locations SET zoom = 18, search_class = 'postcode';"