Add PAD-US public land classification lookup

Integrates USGS PAD-US 4.0 (651k features) into a local PostGIS database
for point-in-polygon land ownership queries. Adds /api/landclass endpoint
returning classifications, public/private status, and management hierarchy.

- lib/landclass.py: connection pool, lookup_landclass(), domain label maps
- lib/api.py: GET /api/landclass?lat=&lon= (feature-flag gated)
- home.yaml: enable has_landclass flag

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-04-22 15:36:37 +00:00
commit 9c5b0520f9
3 changed files with 287 additions and 1 deletions

View file

@ -37,7 +37,7 @@ features:
has_hillshade: true
has_3d_terrain: false
has_traffic_overlay: true
has_landclass: false
has_landclass: true
has_address_book_write: false
has_overture_enrichment: true
has_google_places_enrichment: true