logo separator

[mkgmap-dev] Index with Greek names (PATCH)

From Steve Ratcliffe steve at parabola.me.uk on Tue May 31 14:14:11 BST 2011

Hi

In investigating another problem I discovered that an index created for 
tiles in Greece (and it would also apply to any other place where 
non-latin letters are used) does not work for finding streets.

You can select them but clicking on Find usually does not find them.

This is because the transliteration from Greek characters to Roman 
characters occurs after the labels are sorted for the NET section.
This results in them being completely mis-sorted in NET.

The attached patch does the transliteration first.

It doesn't much affect maps of western European countries, but it would 
be good to get wider testing before committing it.

Maps with ascii labels are sometimes a little smaller, because name that 
are different but transliterate to the same string used to be duplicated 
but with this patch they are not.

..Steve

-------------- next part --------------
A non-text attachment was scrubbed...
Name: translit_first.patch
Type: text/x-patch
Size: 11174 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110531/51651c18/attachment.bin 


More information about the mkgmap-dev mailing list