mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-21 15:14:55 +02:00
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> |
||
|---|---|---|
| .. | ||
| acquisition | ||
| offroute | ||
| processors | ||
| __init__.py | ||
| address_book.py | ||
| address_book_api.py | ||
| address_book_test.py | ||
| api.py | ||
| api_keys_admin.py | ||
| aurora_nav_tool.py | ||
| auth.py | ||
| contacts.py | ||
| contacts_api.py | ||
| deployment_config.py | ||
| dispatcher.py | ||
| embedder.py | ||
| enricher.py | ||
| extractor.py | ||
| filing.py | ||
| geocode.py | ||
| geocode_test.py | ||
| google_places.py | ||
| ingester.py | ||
| key_manager.py | ||
| landclass.py | ||
| landclass_test.py | ||
| nav_tools.py | ||
| nav_tools_test.py | ||
| netsyms.py | ||
| netsyms_api.py | ||
| netsyms_test.py | ||
| new_pipeline.py | ||
| organizer.py | ||
| osm_categories.py | ||
| overture.py | ||
| peertube_collector.py | ||
| peertube_scraper.py | ||
| place_detail.py | ||
| query_router.py | ||
| query_router_test.py | ||
| reverse_bundle_test.py | ||
| scraper_runner.py | ||
| status.py | ||
| utils.py | ||
| web_scraper.py | ||
| wiki_rewrite.py | ||
| zim_monitor.py | ||