I have further reduced the problematic map down to a tiny testcase. All
that is left is:
* A single city node providing location information to mkgmap
* A single road with two nodes
The road is called "Demo Street" and has a ref of "S6". If I build a map
out of this data file and install it on my Vista via MapSource, search
does not work. The street shows up three times in the list, as "S6 Demo
Street", "Demo Street (S6)" and "S6".
Typing "D" should narrow down the list to "Demo Street (S6)" only.
Instead, I get "None Found". Typing "S" instead should probably yield
both "S6 Demo Street" and "S6". I get the latter one only.
Changing the ref from "S6" to "6" seems to fix the issue. Removing the
ref altogether fixes it as well.
None of this makes any sense to me. There are plenty of streets with bot
a name and a ref all over the world - and these work fine. There is
something very specific going on here that I do not understand.
My mkgmap knowledge does not reach far enough to fix this issue myself.
Any help would be much appreciated.
- Bartosz
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>
<bounds minlat='45.0' minlon='7.6' maxlat='45.1' maxlon='7.7' origin='CGImap 0.0.2' />
<node id='1' timestamp='2011-03-28T10:00:00Z' uid='1' user='User' visible='true' version='1' changeset='1' lat='45.07' lon='7.65'>
<tag k='is_in' v='Torino, Piemonte, Italy' />
<tag k='name' v='Torino' />
<tag k='place' v='city' />
</node>
<node id='2' timestamp='2011-03-28T10:00:00Z' uid='1' user='User' visible='true' version='1' changeset='1' lat='45.03' lon='7.61' />
<node id='3' timestamp='2011-03-28T10:00:00Z' uid='1' user='User' visible='true' version='1' changeset='1' lat='45.03' lon='7.69' />
<way id='1' timestamp='2011-03-28T10:00:00Z' uid='1' user='User' Userisible='true' version='1' changeset='1'>
<nd ref='2' />
<nd ref='3' />
<tag k='highway' v='primary' />
<tag k='name' v='Demo Street' />
<tag k='ref' v='S6' />
</way>
</osm>
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev