OpenAndroMaps “green railway lines” are rendered as active railways in VTM #1302
Replies: 4 comments 3 replies
|
Hello @troNpo , I help maintain these themes, so I'll give the answer as I see+understand it: This is tagged as OpenAndroMaps' tag-mapping does indeed have an entry not found in Mapsforge: This is why you are seeing railway tracks - I would expect The nearest I could find in Mapsforge is: |
|
Thank you very much for your quick reply, I really appreciate it. I know your work well — in fact, this report comes from a VTM theme I’m developing based on Motorider.xml for OpenAndroMaps. With the information you provided, we’ve adjusted the rules and now have the behaviour we were aiming for on OpenAndroMaps. Thanks again for the clarification and your time. |
|
Thanks for the clarification. Based on your explanation, we separated This small change fixes the rendering issue in VTM and aligns the theme with the expected behavior for former railway lines. Here is the code we added: <!-- Disused railways -->
<m k="railway" v="disused">
<m zoom-min="13">
<line cap="butt"
stroke="#80999999" width="0.8"
stipple="15" stipple-stroke="#E0FFFFFF" stipple-width="0.4"/>
</m>
</m>
<!-- Abandoned railways -->
<m k="railway" v="abandoned">
<m zoom-min="13">
<line cap="butt"
stroke="#80AAAAAA" width="0.8"
stipple="3" stipple-stroke="#A0FFFFFF" stipple-width="0.4"/>
</m>
</m> |


Hello @troNpo , I help maintain these themes, so I'll give the answer as I see+understand it:
This is tagged as
highway=trackandrailway=abandonedwith atracktype(ie: surface) ofgrade2. Looking at a section of this "track" suggests that the off-road (brown) styling I use is correct. It's a track that a reasonably sturdy vehicle can drive on - no rails evident.OpenAndroMaps' tag-mapping does indeed have an entry not found in Mapsforge:
<osm-tag key="railway" value="abandoned" zoom-appear="14"/>This is why you are seeing railway tracks - I would expect
railway=abandonedto be an old railway track, rusty, hidden by grass/weeds etc and not something you could take a vehicle on.The near…