Add district table for california districts.

This commit is contained in:
Eli Ribble 2026-01-13 19:47:19 +00:00
parent e6e8371742
commit 00fd676adc
No known key found for this signature in database
24 changed files with 4384 additions and 125 deletions

View file

@ -31,6 +31,14 @@ You'll need a number of environment variables for configuring things;
> BASE_URL=https://sync.nidus.cloud ARCGIS_CLIENT_ID=foo ARCGIS_CLIENT_SECRET=bar POSTGRES_DSN='postgresql://?host=/var/run/postgresql&dbname=nidus-sync' ./nidus-sync
```
### Districts
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
```
## Hacking
### air