recon/lib
Matt 484dfbd1e0 landclass: filter antimeridian-wrapping PAD-US records
47 PAD-US units (Aleutian/Bering-Sea BOEM marine features, all is_valid=False)
are stored as antimeridian-wrapping polygons whose bbox spans ~360 deg of
longitude. Their invalid planar geometry forms latitude bands that ST_Intersects
false-matches for non-US points (e.g. London/Germany at ~51N matched
"Rat Islands" ogc_fid 3974).

Fix: add `AND (ST_XMax(geom) - ST_XMin(geom)) < 60` to the lookup_landclass
SELECT. No DB writes; two cheap ST_XMax/XMin evals on the already
spatial-index-filtered result set. Verified live: total 651088 rows,
filtered 651041 (exactly 47 excluded); Yosemite/Grand Canyon retained,
London/Germany now empty.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 16:34:14 +00:00
..
acquisition
offroute Switch /api/reverse/<lat>/<lon> elevation source from Valhalla to planet-DEM 2026-05-20 15:20:35 +00:00
processors fix: ZIM table extraction — pipe-delimited cells instead of concatenation 2026-05-07 01:32:25 +00:00
__init__.py
address_book.py
address_book_api.py
address_book_test.py
api.py api: add auto mode to offroute endpoint validation 2026-05-08 22:37:49 +00:00
api_keys_admin.py Add Nav-I API key management UI 2026-04-23 06:50:44 +00:00
aurora_nav_tool.py
auth.py
contacts.py
contacts_api.py
deployment_config.py
dispatcher.py
embedder.py
enricher.py
extractor.py fix: PDF extraction quality — word-boundary checks and layout mode 2026-05-07 01:36:23 +00:00
filing.py
geocode.py fix(geocode): apply viewport bias to Netsyms address results 2026-04-26 20:59:17 +00:00
geocode_test.py
google_places.py
ingester.py
key_manager.py
landclass.py landclass: filter antimeridian-wrapping PAD-US records 2026-05-20 16:34:14 +00:00
landclass_test.py landclass: filter antimeridian-wrapping PAD-US records 2026-05-20 16:34:14 +00:00
nav_tools.py feat(geocode): add viewport bias for location-aware search 2026-04-26 04:03:44 +00:00
nav_tools_test.py
netsyms.py
netsyms_api.py Switch /api/reverse/<lat>/<lon> elevation source from Valhalla to planet-DEM 2026-05-20 15:20:35 +00:00
netsyms_test.py
new_pipeline.py
organizer.py
osm_categories.py
overture.py
peertube_collector.py
peertube_scraper.py
place_detail.py feat(place): add boundary polygon to place detail response 2026-04-26 08:26:47 +00:00
query_router.py
query_router_test.py
reverse_bundle_test.py Switch /api/reverse/<lat>/<lon> elevation source from Valhalla to planet-DEM 2026-05-20 15:20:35 +00:00
scraper_runner.py
status.py
utils.py
web_scraper.py
wiki_rewrite.py Add wiki link rewriting to local Kiwix 2026-04-23 06:34:22 +00:00
zim_monitor.py