[mkgmap-dev] Command to transliterate Characters/Cyrillic/Greek into latin1 even for Unicode maps?
From Felix Hartmann extremecarver at gmail.com on Wed Sep 3 16:40:45 BST 2014
Hi everyone, okay - I found the problem now.... Is it possible that the command: mkgmap:country ~ '(GRC)' is not working properly for lines that are no address. So for simple streetlabels to be shown - it seems to me that "mkgmap:country~" is not properly read in from the boundaries file. Or the boundaries for Greece and for example Taiwan are not good at all (but it seems to work without problems for points!). So if I create the map like: /mkgmap:country ~ '(GRC)' & name:int!=* & name=* {set name='${name|ascii:} ${name}'}/ I end up with the nearly no street name transliterated. While if I simply use: /name:int!=* & name=* {set name='${name|ascii:} ${name}'}/ then it works as expected... Could it be that the mkgmap:country tag is only read in under certain rules, but not generally for all objects? My current solution would be to just skip using the mkgmap:country command - and instead using a file in /inc folder that is changed depending on country (and anyhow not use unicode for maps spanning several countries like continents). That's not a big problem... On 21.08.2014 23:55, Steve Ratcliffe wrote: > Hi > > Yes, I have created a map of Greece with the patch and your rule > inserted just before the <finalize> in the lines file. > > It seems to work as expected. > > ..Steve > > On 19/08/14 18:31, Felix Hartmann wrote: >> Any News Steve or Andrzej? Is the patch actually working for you? >> >> >> On 14 August 2014 13:34, Felix Hartmann <extremecarver at gmail.com >> <mailto:extremecarver at gmail.com>> wrote: >> >> ups, that was just a typo in the email, not in my style... >> >> Would be cool if you could check later. >> >> On 14.08.2014 13:24, Steve Ratcliffe wrote: >> >> On 13/08/14 15:40, Felix Hartmann wrote: >> >> Am I doing something wrong? >> >> name:int!=* & name=* {set name='${name|ascii:} ${name}' >> >> >> Apart from the missing close '}' it looks OK to me. >> >> I can investigate more later. >> >> ..Steve >> >> >> -- >> keep on biking and discovering new trails >> >> Felix >> openmtbmap.org <http://openmtbmap.org> & www.velomap.org >> <http://www.velomap.org> >> >> >> >> >> -- >> Felix Hartman - Openmtbmap.org & VeloMap.org >> Floragasse 9/11 >> 1040 Wien >> Austria - Österreich >> >> >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -- keep on biking and discovering new trails Felix openmtbmap.org & www.velomap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140903/0a660db7/attachment.html>
- Previous message: [mkgmap-dev] Command to transliterate Characters/Cyrillic/Greek into latin1 even for Unicode maps?
- Next message: [mkgmap-dev] Command to transliterate Characters/Cyrillic/Greek into latin1 even for Unicode maps?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list