[Geocoding] [OpenStreetMap] #4918: No results if 'country' is specified in the query

Glenn Plas glenn at byte-consult.be
Fri Jul 26 00:23:04 UTC 2013


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
>




More information about the Geocoding mailing list