[Geocoding] [OpenStreetMap] #4822: Postalcode nominatim does not work

OpenStreetMap trac at noreply.openstreetmap.org
Sat Mar 30 17:12:14 UTC 2013


#4822: Postalcode nominatim does not work
----------------------------------------+-------------------------
 Reporter:  windhoekboy                 |      Owner:  geocoding@…
     Type:  defect                      |     Status:  new
 Priority:  critical                    |  Milestone:
Component:  nominatim                   |    Version:
 Keywords:  bug, postalcode, nominatim  |
----------------------------------------+-------------------------
 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?

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4822>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list