[OSM-talk] Fwd: Multilingual map

D Tucny d at tucny.com
Mon Mar 9 15:29:40 GMT 2009


Forward to list...

---------- Forwarded message ----------
From: D Tucny <d at tucny.com>
Date: 2009/3/9
Subject: Re: [OSM-talk] Multilingual map
To: "Robert (Jamie) Munro" <rjmunro at arjam.net>


2009/3/9 Robert (Jamie) Munro <rjmunro at arjam.net>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> D Tucny wrote:
> > Hi folks,
> >
> > I've been thinking about how it would be good to have the map available
> > in multiple languages... I think the easiest way to do this with what we
> > have is using a captionless base layer and transparent caption layers
> > for each of the languages... So... I put this thinking into practice and
> > put together a proof of concept at http://osm.newportcoastsoftware.com
> >
> > There is a single base, captionless layer and 40 transparent caption
> > layers, all available only to zoom 8.
>
> That's great, but would it be possible for the individual language
> layers to fall back to local where a name is not given in a particular
> language?
>

With my first go a couple of weeks back for 8 languages I did do fallback to
at least 'name' using views as suggested on the wiki, setting this up for 40
languages however was somewhat less trivial and I felt that there would be a
benefit to being able to display languages with no fallback... I'll have a
look to see about adding additional layers with fallback...


>
> How much storage do the caption layers take compared to the data?
>

All blank tiles are removed after rendering and replaced with symlinks to
land/sea/transparent tiles...

For the captionless layers disk usage (in KB) is...
68      0
144     1
384     2
1072    3
3236    4
11420   5
37764   6
140656  7
518544  8
713288 (or 696MB)

For the caption layers...
585276  defcap
561076  arcap
560028  cscap
561132  cycap
559680  czcap
559824  dacap
562064  decap
560160  elcap
566132  encap
562140  eocap
560500  escap
561532  ficap
561000  frcap
559828  gacap
560056  hecap
559920  hicap
559916  hrcap
562472  hucap
559900  iscap
560552  itcap
560276  jacap
559752  ja_rmcap
559676  klcap
559944  kocap
560340  lacap
560240  ltcap
560188  lvcap
560284  nlcap
560620  plcap
559988  rocap
561140  rucap
559964  skcap
560072  slcap
560028  srcap
560160  svcap
559940  thcap
559924  ukcap
564112  zhcap
564088  zh_pycap
561240  zh_pytcap

So each caption layer is about 546MB with the default one being slightly
larger at 571MB...

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090309/59b4f518/attachment.html>


More information about the talk mailing list