logo separator

[mkgmap-dev] Command to transliterate Characters/Cyrillic/Greek into latin1 even for Unicode maps?

From Steve Ratcliffe steve at parabola.me.uk on Mon Aug 11 22:26:35 BST 2014

Hi Felix

> Could there be a command like {set name='${mkgmap:trans:name}' }
> That way one could build a map that is usable for people who do
> understand the local script/language, and who don't by setting all names
> e.g.
> name=('name:en|name:int|mkgmap:trans:name''(name in e.g. Japanese Script) '

A quick patch attached which is a first attempt at such a thing.



You need the colon there at the moment, but I will fix that if we go
with this syntax.  An alternative syntax could be: 

> Even better would of course be if there would be an additional function
> to check if "name" is already in two scripts - this is often the case
> for Japan or Thailand or Singapore... Dunno if that is easy to
> implement. I hope/guess the above /mkgmap:trans:name/ would be easy, as
> the code exists if you use e.g. --latin1.
> --
> keep on biking and discovering new trails
> Felix
> openmtbmap.org &www.velomap.org
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: transliterate_filter.patch
Type: text/x-patch
Size: 2338 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140811/f47fd3f1/attachment.bin>

More information about the mkgmap-dev mailing list