logo separator

[mkgmap-dev] Fix and augment sort definitions

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Jan 4 08:40:51 GMT 2022

Hi Gerd

Sorry - I hadn't noticed these changes. They don't show up with
$ svn log resources/sort/cp1252.txt or cp1254.txt

All the other mkgmap sort files have all the expansions possible
including the eszett and diphthongs if applicable.

The two non-mkgmap sort files (0000848.SRT/Turkey and
I00003A0.SRT/adriatic TOPO) have expand for "ß" and some of "Œ"... so I
presumed it was expected and reasonably supported.

In the binaries, the expand is expressed as a list of sortOrders 
{primary,secondary,tertiary}. The secondary and tertiary are disrupted
and don't match ones from actual characters (in the case of "ß", the
two s's get different secondaries). So these double chars will sort
after the real char and only match with PRIMARY.

As there many unknowns about how to make --lower-case indexing work and
the setting, regarding collation strength, of the bit-flag indicating
same-name in some of the MDR sections, I feel that it is better to have
the all the expands.

However, if you are against this, I'll redo cp1252 without these
expansions. I'm not sure of the basis of having the diphthongs as
alternate secondaries of their first character and the eszett as a
unique character.

Ticker

On Mon, 2022-01-03 at 11:44 +0100, Gerd Petermann wrote:
> Hi Ticker,
> 
> see
> https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3948
> https://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=3949
> 
> the sortResource.patch reverts these changes.
> 
> In Mapsource the results are a bit better with your patch.
> I'll try again with my Oregon later.
> 
> Gerd
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list