logo separator

[mkgmap-dev] Minor documentation patch

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Jan 9 08:11:53 GMT 2022

Hi Mike,

thanks for the patch.  I fear the original text was really wrong. Your
suggestion is better but it still doesn't catch the case that all(!) words might
be removed.

Assume  option --mdr7-del=PTH,TRK,UNP,PAV
and label is  "PTH UNP" or just "PTH"
In both cases the processing of --mdr7-del would end up
in an empty label and thus nothing is added to MDR7 section.

With a label "SCHILLERSTRASSE UNP" the part " UNP" is removed.
With a label "UNP SCHILLERSTRASSE" nothing is removed.

The code actually splits the label at every blank (space) into an
array of words. Then it removes from right to left if the last
word appears in the list. A label that doesn't contain a blank
is an array with one element.

I have no idea how well this works with languages that are read from
right to left, but that's a different story.

Maybe you find better wording?

Gerd






________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike Baggaley <mike at tvage.co.uk>
Gesendet: Samstag, 8. Januar 2022 16:24
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Minor documentation patch

Hi Gerd,

Please find attached a minor documentation patch.

Cheers,
Mike


More information about the mkgmap-dev mailing list