Update readme with how I created the working district table
This commit is contained in:
parent
cf06bb9f49
commit
81dabdf097
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue