On Sun, Oct 19, 2008 at 08:22:42PM +0200, Jiri Klement wrote: > Hi, > > I've modified orp and XSLT to support z-mode and z-index. What they > are for is described here: > http://wiki.openstreetmap.org/index.php/Osmarender/NewFeaturesProposal > > Now I'm trying to modify stylesheets to actually use it. However I > have a problem with <area> instructions. Currently some <area> > instructions have layer="-5", others don't. In my opinion almost every > <area> should have layer="-5", except highways. Unfortunatelly setting > layer="-5" or z-mode="bottom" in current implementation removes layer > information.
There are several more features that shouldn't necessarily be layered all the way to the bottom. For example runways, sport tracks and buildings. Oh, and the access restriction stuff. > What should I do about it? > - Use z-mode="bottom" for almost every <area> instructions as layers > are used rarely on areas anyway. > - Modify z-mode="bottom" to use layers. Layer 5 in z-mode="bottom" > will still be bellow layer="-5" in z-mode="normal" > - Introduce other z-mode values like z-mode="bottom" (really bottom, > no layers) and z-mode="bottom-layered" > - Keep it as it is now. Why it's not a best idea is visible for example here: > > http://www.openstreetmap.org/?lat=49.76321&lon=13.06208&zoom=17&layers=0B00FTF > - Something else... Not sure what's the best solution. I agree the status quo isn't perfect, but I'd test things _very_ carefully before changing too much o f the layering, I've done some work on it myself and it's very easy to create really bad results... Good luck! -- Knut Arne Bjørndal aka Bob Kåre [EMAIL PROTECTED] [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
