My first thougth was : who says that there are utf8 chars in the map?
Ahhh. You said that --utf8 was no option. But I had to read it as : use --charset=utf8
So mkgmap can make those .img’s. Nice, I hope it just transfers the text untouched.
Well actually it does. That looks exactly like the chars in the transliteration table for greece that I use. See here some characters (copied from wordpad): look at tke leftmost column.
Don’t know. Until now I never used mkgmap so I cannot test. But it should bring an errormesage and stop.
Or nothing put out or only ???'s. Because thats in line whith what mkgmap does now.
Further my opinion is that if a parameter --charset=… is omitted the output should be utf8 (and only then). Exactly the same content as in the osm tags. (–charset=utf8 is confusing as no charset will be used. So this should bring an errormessage too and the program should stop, not even start.)
That looks ok. So your claim is that the cyrillic from Bulgaria is correctly transliterated too (in that same .img)?
Thank you for the effort Chris. I see the transliteration. Ok. But you left me unsure as you did not utter a direct “yes” or “no” on my question if both cyrillic and greek are transliterated within one map. (or run of mkgmap).
I would like to know also if georgian, arabic, chinese and so are transliterated. Dou you know what all is transliterated?
Translit now transliterates all items that have a name tag. So nodes, ways and relations. (But only if there are not already tags like name:en or int_name. It adds an extra tag with the transliteration. It only uses one transliteration table with less then 400 entries. It does not use regions or .gpx files anymore.
When I drive to Siberia again this summer my 60Cx will show all placenames and in towns all streets. I’m happy.
If you decide to release this it would be great to add it to mkgmap. Of course I don’t know your code either, so I don’t know how easy or in what
manner it could be done. Contact me directly or via the mkgmap list if you want to discuss it.
I would like an integration in mkgmap. As I never did something with it my plan was to first install mkgmap (on a new system that shortly will arrive). Then play a bit with it and investigate the source. I could start looking where transliteration code could be added. I’m not familiar with java so that would take some time.
When time comes I will post a message in your list.
Today I downloaded a .zip snapshot from http://www.mkgmap.org.uk/snapshots/ Unzipped it. Put a mongolia.osm file in its directory and typed java -jar mkgmap.jar mongolia.osm and voila an .img! Not often things go so fluently. Very good job. How could I have imagined that it was that easy?
Below all of Mongolia. I first had splittted mongolia.osm from a geofabrik asia.osm.bz2 file.