vtm icon indicating copy to clipboard operation
vtm copied to clipboard

Areas overlap and subtract

Open abdullahO2 opened this issue 2 years ago • 5 comments

Hello When two natural areas overlap, one does not appear on vtm but does on mapsforge:

image

image

  • 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

abdullahO2 avatar Jan 22 '23 05:01 abdullahO2

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.

devemux86 avatar Jan 22 '23 09:01 devemux86

Thank you so much

abdullahO2 avatar Jan 23 '23 10:01 abdullahO2

Let's keep it open, in case we can do something in the library.

devemux86 avatar Jan 23 '23 10:01 devemux86

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

devemux86 avatar Feb 17 '23 16:02 devemux86

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

abdullahO2 avatar Dec 18 '23 20:12 abdullahO2