glam/backend/postgres
kempersc 49141c005b feat(api): add PostGIS boundary REST endpoints
Add new endpoints for querying administrative boundaries:
- GET /boundaries/countries - List all countries with boundary data
- GET /boundaries/countries/{code}/admin1 - List provinces/states
- GET /boundaries/countries/{code}/admin2 - List municipalities
- GET /boundaries/lookup?lat=&lon= - Point-in-polygon lookup
- GET /boundaries/admin2/{id}/geojson - Get single boundary GeoJSON
- GET /boundaries/countries/{code}/admin2/geojson - Get all admin2 as GeoJSON
- GET /boundaries/stats - Get boundary statistics

Uses proper joins through country_id/admin1_id foreign keys.
2025-12-07 18:56:11 +01:00
..
glam-postgres-api.service added web annotations 2025-12-06 19:50:04 +01:00
load_nde_data.py added web annotations 2025-12-06 19:50:04 +01:00
main.py feat(api): add PostGIS boundary REST endpoints 2025-12-07 18:56:11 +01:00
requirements.txt added web annotations 2025-12-06 19:50:04 +01:00