[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. Reason: 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. Gerd
- Previous message: [mkgmap-dev] How to display administrative boundaries / shade them?
- Next message: [mkgmap-dev] use of --mdr7-del can break address search/street search
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list