- AuthorPosts
- October 25, 2021 at 15:51 #45394Kriss72Participant
With oruxmaps, on a part of the forest the elements are hidden (France_North_oam.osm.map).
October 26, 2021 at 19:55 #45424TobiasKeymasterThat’s a problem with OSM data – the forest has layer=1, which means it should be rendered above the ground-layer (with roads etc.); this makes no sense.
Developer of Elevate mapstyle
October 26, 2021 at 22:09 #45426ChristianKKeymasterImo IT would make sense to remove Layers from landuse or natural in preprozessing
Any drawbacks possible?October 27, 2021 at 01:13 #45436JohnPercyParticipantThere are a suprising number of landuse=* AND layer=* – most of them apparently due to incorrect mapping.
However, what about: https://www.openstreetmap.org/way/162654920 which combines landuse=railway, manmade=bridge and layer=1 to map the outline of a railway bridge?Voluntary and Velocity themes - https://voluntary.nichesite.org
October 27, 2021 at 22:35 #45446TobiasKeymasterImo IT would make sense to remove Layers from landuse or natural in preprozessing
Any drawbacks possible?I think OSM Carto is doing this here, as it shows the forest below the roads:
https://www.openstreetmap.org/way/37195165/
The layer tag has just been removed btw.But you never know what strange tagging some people are using, see John’s example.
Developer of Elevate mapstyle
October 31, 2021 at 07:34 #45456ChristianKKeymasterBut you never know what strange tagging some people are using, see John’s example.
🙂
Ok, I added this:
<translation> <name>landuse|natural clear layers</name> <description>landuse|natural clear layers</description> <match mode="and"> <tag k="landuse|natural" v=".*"/> <tag k="Layer" v=".*"/> </match> <output> <copy-all/> <tag k="Layer" v="dummy"/> </output> </translation>
This should do the job for 99,9%
As for the Bridges: IMO There is not need for Layer Tags if the Theme is made with care.
October 31, 2021 at 10:47 #45458JohnPercyParticipantAs for the Bridges: IMO There is not need for Layer Tags if the Theme is made with care
I’m not so sure about that. Tobias?
Voluntary and Velocity themes - https://voluntary.nichesite.org
October 31, 2021 at 12:15 #45460TobiasKeymasterAs for the Bridges: IMO There is not need for Layer Tags if the Theme is made with care
I’m not so sure about that. Tobias?
In John’s example the layer tag would be necessary if you want to display the landuse=railway below the rails in Elevate, as man_made=bridge isn’t in tag-mapping. The landuse would be rendered below the river, as landuses below waterways is the proper order in the theme. But it’s some not really relevant mapping. To have it displayed one would need the layer tag or have man_made=bridge in the map.
The actual rails have bridge=yes and will be displayed.
It’s probably fine with most use cases, but there are those exceptions which might need some analysation.
Developer of Elevate mapstyle
October 31, 2021 at 12:24 #45462TobiasKeymasterWe also had this example last year, which wouldn’t render correctly without layer:
https://www.openandromaps.org/oam-forums/topic/render-differencesSo maybe it’s better to leave layers, at least if some kind of bridge is involved?
Developer of Elevate mapstyle
1 user thanked author for this post.
October 31, 2021 at 12:35 #45464ChristianKKeymasterOK
<translation> <name>landuse|natural clear layers</name> <description>landuse|natural clear layers</description> <match mode="and"> <tag k="landuse|natural" v=".*"/> <tag k="Layer" v=".*"/> <notag k="bridge" v=".*"/> </match> <output> <copy-all/> <tag k="Layer" v="dummy"/> </output> </translation>
October 31, 2021 at 13:04 #45466TobiasKeymasterGreat, maybe also notag man_made=bridge?
This should cover most cases. If there’s still something wrong we’ll probably hear it in the forum.Developer of Elevate mapstyle
2 users thanked author for this post.
- AuthorPosts
- You must be logged in to reply to this topic.