vtm
vtm copied to clipboard
Areas overlap and subtract
Hello When two natural areas overlap, one does not appear on vtm but does on mapsforge:
- Application used: Cruiser 3.0.7
- The map used: Arab-Peninsular - 2023-01-06 from OpenAndroMaps: https://www.openandromaps.org/en/downloads/asia-middle-east
- Theme used: Elevate - Elements 5.2
- Image location: https://www.openstreetmap.org/#map=11/25.5604/47.3477 25.5187, 47.3542
Thanks for the detailed report.
This is a known issue in OpenGL, see https://github.com/mapsforge/vtm/issues/212.
- There is a possible workaround with the VTM theme attribute mesh (with side effects: https://github.com/mapsforge/vtm/issues/224#issuecomment-564487735)
- Or organize the theme rules better, if they are not declared as separate layers (see https://github.com/mapsforge/vtm/issues/224#issuecomment-261043687)
Both cases require to modify the theme and it can be difficult with themes for Mapsforge engine.
Thank you so much
Let's keep it open, in case we can do something in the library.
Another case was reported in Cruiser Discussions: https://github.com/devemux86/cruiser/discussions/38
About a natural=water
north of Munich: https://www.openstreetmap.org/relation/12048180
I tried adding the following: place=region region:type=mountain_area This led to the tag: natural=sand being ignored and the polygon representing the sand disappeared. Here is an example of relation that no longer appear in OAM maps: https://www.openstreetmap.org/relation/10827666 https://www.openstreetmap.org/relation/12048768
This was resolved from OAM: https://www.openandromaps.org/oam-forums/topic/naturalsand-and-placeregion#post-55198