trekarta icon indicating copy to clipboard operation
trekarta copied to clipboard

Area stacking order

Open hungerburg opened this issue 4 years ago • 1 comments

I noticed at times, that areas within another area are not shown; Somebody mapped a scree within a scrub; But they could have done just the opposite, put a scrub within a scree.

Tracking down, where the stacking level gets assigned I found https://github.com/andreynovikov/trekarta/blob/19e2741342e8483958f0977aa5f744911dd722be/app/src/main/java/org/oscim/theme/XmlThemeBuilder.java#L680

OSM Carto does quite some effort around that, see https://wiki.openstreetmap.org/wiki/Standard_tile_layer#Rendering_order

The issue is minor; Probably even belongs to VTM instead?

hungerburg avatar Jul 11 '20 11:07 hungerburg

Unfortunately this is indeed VTM limitation - the order is always defined by theme and nothing can be done with that. I did my best to select the best order but it is always a compromise...

andreynovikov avatar Sep 03 '20 13:09 andreynovikov