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