Hi folks,<br><br>Not sure when this started, but, mapnik seems to be getting layers wrong when drawing objects...<br><br>e.g.<br><a href="http://www.openstreetmap.org/?lat=30.297629&lon=120.155582&zoom=18&layers=B000FTF">http://www.openstreetmap.org/?lat=30.297629&lon=120.155582&zoom=18&layers=B000FTF</a><br>
<br>In this view there is a two dual carriageway primary roads that meet at a junction at ground level (no layer tag), above the junction running north south is a dual carriageway trunk elevated road/viaduct (layer=2), above the primary roads, with some below the trunk and some above is a junction consisting of a number of trunk_link roads (various layer tags) linking the east west primary road to the trunk road... Mapnik appears to be currently drawing all trunk_link roads below everything else, even though they are tagged with layer tags of 1, 2 and 3 depending on which other ways they pass over, though it's difficult to see if it's drawing them under the trunk as there are no borders visible making it all appear to be at the same layer... <br>
<br>Similar confusion is also visible in other places where the same road crosses other roads and there are link roads present...<br>e.g. <a href="http://www.openstreetmap.org/?lat=30.27611&lon=120.16596&zoom=17&layers=B000FTF">http://www.openstreetmap.org/?lat=30.27611&lon=120.16596&zoom=17&layers=B000FTF</a> - east west primary linked to north south trunk (bicycle flyover and roundabout between the two)<br>
e.g. <a href="http://www.openstreetmap.org/?lat=30.21797&lon=120.171&zoom=17&layers=B000FTF">http://www.openstreetmap.org/?lat=30.21797&lon=120.171&zoom=17&layers=B000FTF</a> - No link roads present here, but, double decker bridge with primary road at layer 1 and trunk at layer 2 rendered with the primary road above the trunk...<br>
e.g. <a href="http://www.openstreetmap.org/?lat=30.27895&lon=120.19501&zoom=17&layers=B000FTFT">http://www.openstreetmap.org/?lat=30.27895&lon=120.19501&zoom=17&layers=B000FTFT</a> - Primary links roads at layer 1 overlaid by unclassified roads with no layer tag<br>
<br>osmarender seems to get it right, even if it does look a bit messy where the different layers join...<br><br>d<br>