Skip to content

Rewrite downtown resolver to return one merged polygon per source layer#2

Draft
wordsandnumbers wants to merge 1 commit intomainfrom
service-centric-downtown-search
Draft

Rewrite downtown resolver to return one merged polygon per source layer#2
wordsandnumbers wants to merge 1 commit intomainfrom
service-centric-downtown-search

Conversation

@wordsandnumbers
Copy link
Copy Markdown
Owner

Replace individual zone-feature candidates with a service-centric union approach: each candidate is now the unary_union of all matching features from a single ArcGIS layer. Adds explicit boundary-layer search (score=2) before falling back to zoning keyword filtering (score=1), with a four-stage pipeline (Hub boundary → Hub zoning → ArcGIS fallback → Nominatim). Fixes deduplication destroying zone variants and returning raw zone codes (MX-1, CBD-2) as candidate names.

Replace individual zone-feature candidates with a service-centric union
approach: each candidate is now the unary_union of all matching features
from a single ArcGIS layer. Adds explicit boundary-layer search (score=2)
before falling back to zoning keyword filtering (score=1), with a
four-stage pipeline (Hub boundary → Hub zoning → ArcGIS fallback →
Nominatim). Fixes deduplication destroying zone variants and returning
raw zone codes (MX-1, CBD-2) as candidate names.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wordsandnumbers wordsandnumbers force-pushed the service-centric-downtown-search branch from c073e91 to 3f15db5 Compare April 9, 2026 18:41
@wordsandnumbers wordsandnumbers marked this pull request as draft April 15, 2026 23:13
@wordsandnumbers
Copy link
Copy Markdown
Owner Author

I'm just keeping this because it was an interesting idea. Probably don't merge it, but revisit the concept later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant