This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Structed Query returns wrong result

1

Hi, when I search for the city "München" in Germany, the web service returns not the correct city by using: http://nominatim.openstreetmap.org/search.php?format=xml&addressdetails=1&limit=1&polygon=0&countrycodes=de&city=M%C3%BCnchen

Otherwise by using query string, the web service return the correct city http://nominatim.openstreetmap.org/search.php?format=xml&addressdetails=1&limit=1&polygon=0&q=de,M%C3%BCnchen

Any suggestion why and/or how I can fix the it?

Thanks

asked 31 Mar '15, 16:15

jppond's gravatar image

jppond
26112
accept rate: 0%

edited 31 Mar '15, 16:17

Maybe because München is both a city and a county? Still sounds like a bug to me.

(31 Mar '15, 16:36) scai ♦

If nobody has any ideas, I will report this as a bug.

(31 Mar '15, 18:32) jppond
1

… now there: https://trac.openstreetmap.org/ticket/5300 (please always mention such crosslinks at the new AND old location)

(09 Apr '15, 01:34) aseerel4c26 ♦

Source code available on GitHub .