[Geocoding] [OpenStreetMap] #5177: Nominatim API Bug: postal code

OpenStreetMap trac at noreply.openstreetmap.org
Sat May 24 13:30:09 UTC 2014


#5177: Nominatim API Bug: postal code
----------------------------+-------------------------
 Reporter:  pmiller.live@…  |      Owner:  geocoding@…
     Type:  defect          |     Status:  new
 Priority:  minor           |  Milestone:
Component:  nominatim       |    Version:
 Keywords:  postalcode      |
----------------------------+-------------------------
 Hi OSM folks,

 I've come across a small bug within the geocoding api nominatim

 The API documentation [1] says, searching for postal code should be done
 with the 'postalcode' parameter.

 The documented parameter does not give any results for some cities, e.g.:
 http://nominatim.openstreetmap.org/search?postalcode=4000&city=Basel&countrycodes=CH&format=json

 Changing the 'postalcode' parameter to 'postalCode' for no obvious reasons
 gives results:
 http://nominatim.openstreetmap.org/search?postalCode=4000&city=Basel&countrycodes=CH&format=json

 Please verify that the correct API documentation is present and/or explain
 the situation, that would be a great help :)

 Thanks!

 Paul

 [1] http://wiki.openstreetmap.org/wiki/Nominatim

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



More information about the Geocoding mailing list