[OSM-talk] Mapnik Improvements regarding Tunnels
Peter Miller
peter.miller at itoworld.com
Sat Dec 1 09:58:25 GMT 2007
>
> Message: 3
> Date: Fri, 30 Nov 2007 16:42:02 +0000
> From: "Andy Allan" <gravitystorm at gmail.com>
> Subject: Re: [OSM-talk] Mapnik Improvements regarding Tunnels
> To: "Patrick Weber" <p.weber at ucl.ac.uk>
> Cc: OSM-Talk Openstreetmap <talk at openstreetmap.org>
> Message-ID:
> <c4193f8c0711300842h4c8863can44a4e1973d0eb1da at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Nov 30, 2007 3:56 PM, Patrick Weber <p.weber at ucl.ac.uk> wrote:
> > A) If you look at the following Map Extract:
> > http://www.openstreetmap.org/?lat=51.42871&lon=-
> 0.07201&zoom=16&layers=B0T
> > You can see that in the Mapnik layer, the Rail Tunnel is drawn above the
> > elements that should lay over it like roads and parks. Can we have it by
> > default that Rail Tunnels are drawn on the "bottom" layer, so that other
> > elements can be drawn over it.
>
> Can you confirm whether the railway has the appropriate layer tag?
> Adding tunnel = yes doesn't automatically change the render order, as
> far as I'm aware.
>
> > B) The following map extract:
> > http://www.openstreetmap.org/?lat=49.6101&lon=6.13291&zoom=17&layers=B0T
> > shows a main road that becomes a tunnel in the middle section (you can
> > check by switching to T at H layer). I dont know why this doesnt become a
> > tunnel at all, again it would be great if that could get fixed.
>
> It's not "get fixed", so much as having a new feature added (tunnels
> for roads). See
> http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml -
> you can see that tunnels for railways, trams etc have rendering rules,
> but there's no rules yet for road tunnels.
>
Sounds good; can you also implement tunnels for canals at the same time? If
you want an example the canal should disappear underground to the west of
Penton Street and emerge to the east of Graham Street.
http://openstreetmap.org/?lat=51.5336&lon=-0.1022&zoom=15&layers=0BF
> Cheers,
> Andy
>
>
>
More information about the talk
mailing list