Sebastian Spaeth <[email protected]> writes: > Stephan Knauss wrote: >> Sebastian Spaeth wrote: >>>> What else could we render? Nautical charts maybe? What else? >>> Language overlays in 100 languages :-) >> >> Why not? > > I was actually half-serious. But so far nobody has taken up the task. > Well, not a 100 languages. But a few of them would be nice. (en,de,fr,?)
Languages that are not widely used in OSM would not take up much space. So it might not hurt much to cover all languages that are used in OSM. The client could detect which languages are used on a specific tile and render a caption tile for each of them. This could be done using a pre-processor that creates a data-xx.osm for each language converting (for example) "name:xx" tags into "name" tags (and filter out elements that don't have a caption). Then the client can go and render each data-xx.osm file into a caption-xx tile. > >> Is it possible to overlay a captionless base-layer with captions? > > Dynamically in openlayers yes. We would need to create the captionless > layer for all zoom levels (or better remove all text from the default > tiles, rather than have a new full-zoom layer). > >> The top 20 languages (by the number of name-tags) cover already a huge >> part of the planet. > > Yep > > Any takers welcome. I would need to set up the caption layers on the > server (easy) and someone (not me) would need to create style sheets for > osmarender and introduce those caption layers in the clients. The server then should be setup to deliver a default caption tile if a tile for the requested language is not available. The downside of a setup like this is that the tile layer would not be usable anymore without a caption overlay. That makes its use more complicated for sites like the OSM homepage. This would need to offer all the caption overlays which are incompatible with the other base layers that one can choose there. Don't know whether OpenLayers has a smart way of dealing with that. Matthias _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
