
On 06/14/2012 10:10 PM, Thorsten Kukuk wrote:
On Thu, Jun 14, Ralf kleineisel wrote:
When I try the address search in mapsource I get this:
City search for "Berlin": Berlin is found, but mapsource displays "Berlin, NOT_SET, DEU".
Looks like somebody played with the admin boarder of Berlin :(
I guess you need now: mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level4=Hamburg { set mkgmap:city='${mkgmap:admin_level4}' } mkgmap:country=DEU & mkgmap:city!=* & mkgmap:admin_level4=Berlin { set mkgmap:city='${mkgmap:admin_level4}' }
This didn't help. To find the correct values I tried this: highway=* { set mkgmap:city='${mkgmap:admin_level2}' } as the first line in the "lines" file. This gives me "DEU, NOT_SET_, DEU" for a street in Berlin. Then I tried the same for all admin_level values from 3 up to 11. For all of them I get: "Not_set, NOT_SET_, DEU" Seems mkgmap doesn't find any bounds except the level2 one. How can I debug this a bit more?