On 11/12/2007, <b class="gmail_sendername">Stephen Hope</b> <<a href="mailto:slhope@gmail.com">slhope@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In Brisbane they are building a long tunnel, connecting the northern<br>and southern main roads and bypassing the city centre.  It is going to<br>go under two suburbs, the river, then another two suburbs on the other<br>side. There is no access except either end.  I'm wondering the best
<br>way to render this.<br><br>On a low to medium zoom map, this tunnel should show - it's going to<br>be one of the main through routes of the city when it's finished.  But<br>on a high zoom map of the city centre, I'm wondering what it is going
<br>to look like.  It is a very high density area, with lots of small<br>blocks, lanes, POI's etc., and you won't be able to see either end of<br>the tunnel.  How are the render programs going to handle a divided<br>
trunk road in a tunnel  crossing the entire map tile?  Or maybe the<br>question should be how *should* they handle it?</blockquote><div><br>This is how a tunnel gets rendered by osmarender/t@h...<br><br><a href="http://www.informationfreeway.org/?lat=30.25621384971583&lon=120.15584703884582&zoom=16&layers=B000F000">
http://www.informationfreeway.org/?lat=30.25621384971583&lon=120.15584703884582&zoom=16&layers=B000F000</a><br><br>and this is in mapnik...<br><br><a href="http://www.informationfreeway.org/?lat=30.25621384971583&lon=120.15584703884582&zoom=16&layers=0000F0B0">
http://www.informationfreeway.org/?lat=30.25621384971583&lon=120.15584703884582&zoom=16&layers=0000F0B0</a><br><br>This particular tunnel just goes under a small amount of road and a section of lake... <br>As it stands right now, 
osmarender/t@h renders the tunnel as just dotted lines, you can't see what's in the tunnel, but, it looks like a tunnel and mapnik, doesn't render any differently to a surface road... <br></div><br>For your area, with current rendering rules on both 
osmarender/t@h and mapnik, you'll see a pair of dotted lines crossing the whole area in osmarender/t@h and the road crossing the entire area in mapnik...<br><br>I believe some work has gone into tunnels in mapnik already, but I don't know where that's got to, so someone else can give the status of that...
<br><br>As far as editing goes, while the tunnel will be tagged at a different layer to the features it passes under, as far as the view the editors give, it'll just be a way running through them... There's currently no way that I'm aware of to hide other tagged layers or only show certain tagged layers, I'm specifically talking tagged layers as josm and potlatch both deal with layers, but layers of entire blocks of data rather than the tagged layers of features... This can make the data somewhat troublesome to work with at times...
<br><br>d<br></div>