This object is in archive! 
Nested tags inside a theme
Solved
I`ve a problem with nested themes. Example/default osmarender theme excerpt:
does not work for me (bank is because of an attempt to check another png file).
Is this because of the mapsforge, or there are other limitations?
Tadeusz
The same problem
Without xml:
rule e="node" k="amenity" v="place_of_worship" zoom-min="17"
rule e="node" k="denomination|religion" v="jewish"
symbol src="file:/symbols/synagogue.png" /
/rule
rule e="node" k="denomination|religion" v="muslim|moslem"
symbol src="file:/symbols/mosque.png" /
/rule
rule e="node" k="denomination|religion" v="christian"
symbol src="file:/symbols/bank.png" /
/rule
/rule
Without xml:
rule e="node" k="amenity" v="place_of_worship" zoom-min="17"
rule e="node" k="denomination|religion" v="jewish"
symbol src="file:/symbols/synagogue.png" /
/rule
rule e="node" k="denomination|religion" v="muslim|moslem"
symbol src="file:/symbols/mosque.png" /
/rule
rule e="node" k="denomination|religion" v="christian"
symbol src="file:/symbols/bank.png" /
/rule
/rule
I have renderable=false set in tag mapping for key=religion and value=christian, could this be the cause?
I have renderable=false set in tag mapping for key=religion and value=christian, could this be the cause?
Hi,
from my point of view the rules seem to be correct. I also expect that your tag-mapping.xml file contains correct attributes. I mean that generated map contains elements for "religion = christian".
I can remember that sometimes ware some troubles with reading png files. For this reason try replace bank.png with simple circle:
<rule e="node" k="amenity" v="place_of_worship" >
<rule e="node" k="denomination|religion" v="christian">
<circle r="6" fill="#ff0000" stroke="#606060" stroke-width="1.5" />
</rule>
</rule>
Hi,
from my point of view the rules seem to be correct. I also expect that your tag-mapping.xml file contains correct attributes. I mean that generated map contains elements for "religion = christian".
I can remember that sometimes ware some troubles with reading png files. For this reason try replace bank.png with simple circle:
<rule e="node" k="amenity" v="place_of_worship" >
<rule e="node" k="denomination|religion" v="christian">
<circle r="6" fill="#ff0000" stroke="#606060" stroke-width="1.5" />
</rule>
</rule>
Replies have been locked on this page!