logo separator

[mkgmap-dev] Fix and augment sort definitions

From Gerd Petermann gpetermann_muenchen at hotmail.com on Mon Jan 10 10:29:22 GMT 2022

Hi Ticker,

I've committed displaySrt_v2.patch .

I don't fully understand the comment
"Leave the above because no method of inputting them anyway and unlikely at start of names."

It is possible to enter these characters in MapSource and I think MapSource uses MDR12
when you type only a few characters for the name of a POI and don't pick up an entry from the list.


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Montag, 10. Januar 2022 11:20
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Fix and augment sort definitions

Hi Gerd

I tried various approaches to fixing "Find" when the fixed length Mdr17
(maybe also Mdr12) prefix contains sort.expand chars and couldn't make
it work. I could documents these attempts in Sort.java if you feel this
is worthwhile.

New patch attached that, for cp1252, leaves "ß" as its own PRIMARY
after "s". Moved æ,Æ etc to be PRIMARIES on the grounds that their
behaviour will be the same as "ß". Made cp1254 consistent as it had
similar partial fixes.

The main reason for the patch is to fix all the other sort/cp*.txt
files that had line " > #" which was taken as a comment, resulting in
"#" being ignored in collation.

With the Display patch (sent previously, but also attached here), it
can reproduce the resource/sort file from the binary SRT section.


More information about the mkgmap-dev mailing list