[OSM-newbies] avoid repeating the name tag twice

Tal tal.bav at gmail.com
Sat Mar 7 21:40:26 GMT 2009


On Sat, Mar 7, 2009 at 3:51 PM, Pierre-André Jacquod <
pjacquod at alumni.ethz.ch> wrote:

> > I would, however, like to set a default language to the renderer using
> >     name=$(name:he)
> > or something equivalent, for the default international map on the osm
> site.
> I am not aware of such a feature for the current tools. I fear a problem
> could be that $(name:he) is also a valid name somewhere else in the
> world (with an other font than Latin...)


I believe otherwise. I think that in the age of unicode "$(name:he)" will
always be the same, regardless of the font you use, as long as you stick to
unicode. I believe that this site uses utf-8 which is a unicode encoding.
Therefore, "$(name:he)" will always be a dollar sign and  parenthesis around
some Latin letters.


> A possibility would be to never use name=, but only name:XX=xxxx and
> have a tag name:local=XX in order to indicate which is the local one.
> For rendering, a default rule could be that if there is only one
> name:XX=xxx without name:local=... then it will use the name:XX whatever
> XX is.


I like this idea!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20090307/b9a3a693/attachment.html>


More information about the newbies mailing list