Closed blankse closed 3 months ago
The Python frontend has a preference for the postcode centroids over the postcode areas. That is in principle a good thing because it reduces false positive results. We just need a fast way to find potential postcode areas in placex to complete the data.
@lonvia But the param has the name "polygon_geojson".
I think if it should prefer points over polygon you should add a new param "point_geojson".
Fixed in #3362.
@lonvia Thank you!
What did you search for?
https://nominatim.openstreetmap.org/search?format=jsonv2&polygon_geojson=1&postalcode=91550&countrycodes=de
What result did you get?
No geojson data
What result did you expect?
geojson data like in other postal code searches
Further details
The error was already fixed in April 2023. But now it's back again. Seems to affect many more or all postcodes now.
See: https://github.com/osm-search/Nominatim/issues/3025