Geocoder icon indicating copy to clipboard operation
Geocoder copied to clipboard

[Nominatim] added 'municipality' as a 'locality'

Open uwbas opened this issue 2 years ago • 2 comments

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

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

uwbas avatar May 28 '22 11:05 uwbas

Awesome! 👍

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

jbelien avatar May 28 '22 11:05 jbelien

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).

PaulPatat avatar Jun 04 '22 10:06 PaulPatat