logo separator

[mkgmap-dev] use of --mdr7-del can break address search/street search

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Jan 19 08:01:48 GMT 2022

Hi all,

see https://files.mkgmap.org.uk/detail/547

A search in Mapsource for street name "Birkenweg" only finds "Birkenweg Foot,Unna"
while it should find many more entries for cities like Altena, Fröndenberg/Ruhr, Hemer and others.

The cause of the trouble is that the first road label in the map that that starts with "Birkenweg" is the 
"Birkenweg Foot" in Unna. 
With --mdr7-del=foot the label is treated like "Birkenweg" and all other roads with label "Birkenweg"
in this tile are ignored because the index already contains an entry "Birkenweg" (only one entry per map is stored).
This index entry will point to the label "Birkenweg Foot" in the tile, and thus only roads with that label are found.

I have a few ideas how to fix this problem, but I am pretty sure that search can only work well 
when the real street name is stored  in one of the 4 road labels (without other words or refs). 
Up to now the --housenumbers option forces this when the road has numbers, but mkgmap 
should probably always do this. If that is done the option --mdr7-del could work like this: 
If any of the listed words is found ignore the label for the index.

Or maybe the option is obsolete and we can simply ignore the first label for the index 
whenever there are further labels.


More information about the mkgmap-dev mailing list