trekarta
trekarta copied to clipboard
Area stacking order
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?
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...