Opened 6 years ago

Closed 6 years ago

#4822 closed defect (fixed)

Postalcode nominatim does not work

Reported by: windhoekboy Owned by: geocoding@…
Priority: critical Milestone:
Component: nominatim Version:
Keywords: bug, postalcode, nominatim Cc:

Description

Hi!

The nominatim api does not return any results when I search for a postal code.

Takes this for example: http://nominatim.openstreetmap.org/search?format=json&polygon=0&countrycodes=DE&postalcode=66740

It should return the city "Saarlouis" but instead it returns nothing. A reverse search clarifies that this postalcode is known:

http://nominatim.openstreetmap.org/search?format=json&polygon=0&countrycodes=DE&city=Saarlouis

I stumbled about the following strange behaviour: When I enter a city in postalcode it returns the correct address. Take this: http://nominatim.openstreetmap.org/search?format=json&polygon=0&countrycodes=DE&postalcode=Saarlouis

Is there something mixed up with Postalcode and city?

Change History (1)

comment:1 Changed 6 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Nominatim was searching for the postal code in the wrong part of the address. Fixed.

Note: See TracTickets for help on using tickets.