I'm using this basic render.xml to debug:
===============
<?xml version="1.0" encoding="utf-8"?>
<renderingStyle name="test2" depends="" version="1">
<line>
<switch>
<case tag="route_train" value="" color="#ff0000" strokeWidth="2"/>
<case tag="railway" value="rail" color="#00ff00" strokeWidth="4"/>
</switch>
</line>
<order>
<switch>
<!-- Line -->
<switch area="false" objectType="2" order="80">
<case tag="route_train" value="" order="102"/>
<case tag="railway" value="" order="101"/>
</switch>
</switch>
</order>
</renderingStyle>
===============
So I render:
At zoom level 11 the route_train is still visible:
But at zoom level 10 the route_train is hidden (while railway is still visible):
Thanks for any hints.
(crossposting from Github discussions, hoping that maybe somebody on the mailing list knows - https://github.com/osmandapp/OsmAnd/discussions/17316)
Reto