[talk-ph] railway being shadowed by trunk highway on mapnik

sorabsuperstar at web.de sorabsuperstar at web.de
Sun Jan 2 11:24:56 GMT 2011

Right. However Jim is actually also right that layers should not be used to fix rendering issues. But then again I suppose the problem that broadly rendered highways cover thin railways next to them (if they are on the same layer) is almost as old as OSM.... but yet nobody fixed it. 


Von: "Ed Garcia" 
Gesendet: Jan 2, 2011 9:59:28 AM
An: soeren.rabenstein at email.de
Betreff: Re: [talk-ph] railway being shadowed by trunk highway on mapnik

Hi Soeren,

Oh I see!  Thanks so much.  I've always wondered what the layer was really for.  Now I know better.  I guess this is what they use to indicate skyways?

Thanks again.

On Sun, Jan 2, 2011 at 2:24 PM,  <[soeren.rabenstein at email.de]> wrote:

Hi Ed

 >"Ed Garcia" <[eppgarcia at gmail.com]> wrote
>Is there a way to make mapnik display the railway "over" the highway so it does not disappear?

Sure there is. Add to the railroad a layer tag that has a higher value than the layer of the highway. Pathes with no layer tag are layer=0. So in your case make the railway layer=1, and tadaa: there is your railway.
 If your railway underpasses any bridges, you might need to make abjustments there, e.g. make the bridge layer=2.


website administrator: 
- [www.waypoints.ph]
- [reeflife.eppgarcia.com]

PADI Divemaster #491048

More information about the talk-ph mailing list