Skip to content

Conversation

missinglink
Copy link
Member

@missinglink missinglink commented Oct 3, 2025

This PR adds support for the search_layers param when using the SpatialPipResolver.

The parameter can be used to specify which layers are searched for the 'lowest matching admin layer'.

This functionality is already supported via the spatial HTTP endpoint (used for reverse geocoding) but wasn't considered useful for import-time PIP operations.

On reflection we are using this functionality specifically for this function which ensures that Geonames doesn't replace its own Geonames admin entries with WOF ones.

@missinglink missinglink marked this pull request as ready for review October 3, 2025 16:19
@missinglink
Copy link
Member Author

This just requires some testing before it's merged

@missinglink missinglink merged commit 97b4fbd into master Oct 6, 2025
5 checks passed
@missinglink missinglink deleted the spatial-layers branch October 6, 2025 14:25
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