Hi,

> Anyways, can you give me an example (code) how to accomplish the
> language tag and fallback for Mapnik and Osmarender?
>

here is a piece of code for osmarender which provide rendering of name:zh
with fallback to name:en and
finally if none of then defined a fallback to standard name if for city 
names...


<rule e="node" k="place" v="city">
    <rule  k="name:zh" v="*">
        <text k="name:zh" class='city-caption' />
    </rule>
    <else>
        <rule  k="name:en" v="*">
            <text k="name:en" class='city-caption' />
        </rule>
        <else>
              <text k="name" class='city-caption' />
        </else>
    </else>
</rule>

I can't help you with mapnik

Dodi 


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to