Дана Wednesday 16 June 2010 12:07:19 Peter Körner написа:
I started a testcase with language overlays instead of complete language maps. This should save a lot of RAM (loading all 270+ map styles took ~16GB of Memory only for renderd).
It's still rendering the low-zoom tiles so it is very slow. I also activated only three language overlays to test the setup but the other stlye-files are already in place.
So feel free to play around: http://toolserver.org/~osm/locale/
Works great! :) Could you add this to the local CSS?
.dataLayersDiv { height: 20em; margin-right: 1em; overflow: scroll; }
because the overlay list is too long and some of the languages are off the screen.
Not sure whether it is appropriate for this list, but I was thinking on how to properly cascade languages, without coming to a full conclusion.
First, if I am watching Serbian layer, and there is place that doesn't have Serbian name, but does have Croatian name, I would prefer to see Croatian name instead of the "main" name. There probably are more such cases (Nynorsk/Bokmal?). (I see you are not rendering those but I guess you will eventually.)
A harder problem is that for some uses, users might legitimately need to display several languages. For example, there is this square in Belgrade that has:
lang=Трг републике lang:sr@Latn=Trg republike lang:en=Republic Square
A tourist from USA, viewing a map of Belgrade, will want to have all three: the first is actual name of the square as actually written on the street signs on the square (which he needs so that he could read the square name on the signs and verify that he really is there); the second is transcription of the name to Latin alphabet (which he needs so that he could know how to read the square name aloud so that he could ask the locals how to get there); the third is the English name of the square (which he needs to ask the English-speaking locals how to get there).
I am not sure how to display all of this without drowning the map with text, and I am not sure how people would choose what they want to see (maybe someone who is not traveling to Belgrade but only looking at the map would prefer to see only sr@Latn and English?).
If this is implemented, next step is automated transcription...