This one works:

http://nominatim.openstreetmap.org/search?street=Old+Palace+Road&postalcode=GU2+7UP&countrycode=uk&format=json

It's countrycode=uk that makes the difference.

Greetings,

Glenn

On 2013-07-25 22:58, OpenStreetMap wrote:
#4918: No results if 'country' is specified in the query
-----------------------+-------------------------
  Reporter:  zeenix@…   |      Owner:  geocoding@…
      Type:  defect     |     Status:  new
  Priority:  minor      |  Milestone:
Component:  nominatim  |    Version:
  Keywords:             |
-----------------------+-------------------------
  The following query returns empty results:

  
http://nominatim.openstreetmap.org/search?street=Old+Palace+Road&postalcode=GU2+7UP&country=United+Kingdom&format=json

  However if you remove 'country=United+Kingdom&' part from it, it correctly
  returns 1 result:

  
http://nominatim.openstreetmap.org/search?street=Old+Palace+Road&postalcode=GU2+7UP&format=json



_______________________________________________
Geocoding mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/geocoding

Reply via email to