From 81dabdf097a3158bbd23b3261686dff6cf11f307 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 13 Jan 2026 23:36:09 +0000 Subject: [PATCH] Update readme with how I created the working district table --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06c3f16a..b10a53ba 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,9 @@ You'll need a number of environment variables for configuring things; There's a table containing district information in the database, `public.district`. It was created with: ``` -shp2pgsql -s 4326 -c -D -I CA_districts.shp public.district | psql -d nidus-sync +shp2pgsql -s 3857 -c -D -I CA_districts.shp public.district | psql -d nidus-sync +psql +ALTER TABLE district ADD COLUMN geom_4326 geometry(MultiPolygon,4326) GENERATED ALWAYS AS (ST_Transform(geom, 4326)) STORED; ``` ## Hacking