Skip to content

[Nominatim] added 'municipality' as a 'locality' - #1156

Closed
uwbas wants to merge 1 commit into
geocoder-php:masterfrom
uwbas:add-municipality-as-locality
Closed

uwbas wants to merge 1 commit into
geocoder-php:masterfrom
uwbas:add-municipality-as-locality

Conversation

@uwbas

@uwbas uwbas commented May 28, 2022

Copy link
Copy Markdown

Municipality was not in the array of 'locality' fields, see #1155.

Order matters, not sure what position in the array this should have.

@jbelien

jbelien commented May 28, 2022

Copy link
Copy Markdown
Member

Awesome! 👍

Could you also add a test for it ?
Don't forget to also commit the cached response.

@jbelien jbelien changed the title added 'municipality' as a 'locality' [Nominatim] added 'municipality' as a 'locality' May 28, 2022
@PaulPatat

Copy link
Copy Markdown

This is not consistent with the GoogleMaps provider at least for Dutch addresses. The town of Zaandam is in the municipality of Zaanstad. Google maps returns Zaandam as locality and Zaanstad as administrative area level 2. This would return Zaanstad as locality and nothing as administrative area level 2 (we don't have counties).

@Nyholm Nyholm closed this Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants