Hi Thilo,
thank you for the quick feedback !
You are right. If I do:
<rule e="node" k="station_type" v="ubahn" zoom-min="15">
<symbol src="jar:symbols/ubahn.png" />
</rule>
Then I can see the symbol.
If I do :
<rule e="node" k="station_type" v="ubahn" zoom-min="15">
<caption k="name" font-style="bold" font-size="13" fill="#2d2dec" stroke="#ffffff" stroke-width="2.0" />
</rule>
Then I see the caption.
If I have both, I see only the symbol.
I tried to have 2 separate rules, one for the symbol and one for the caption, but it looks like the rendering engine takes randomly one or the other, but never both.
I have also tried to duplicate my nodes:
<node lat='48.1490234' lon='11.44403'>
<tag k='name' v='Westkreuz' />
<tag k='station_type' v='sbahn' />
</node>
<node lat='48.1490234' lon='11.44403'>
<tag k='name' v='Westkreuz' />
<tag k='station_name' v='yes' />
</node>
and then render them this way:
<rule e="node" k="station_name" v="yes" zoom-min="15">
<caption k="name" font-style="bold" font-size="13" fill="#2d2dec" stroke="#ffffff" stroke-width="2.0" />
</rule>
<rule e="node" k="station_type" v="ubahn" zoom-min="15">
<symbol src="jar:symbols/ubahn.png" />
</rule>
But the captions are never shown either. Is there a limitation ?
Best regards
Olivier