[Tagging] Tag highway that goes through/under a building

Matthias Julius lists at julius-net.net
Mon Dec 28 00:39:07 GMT 2009


Roy Wallace <waldo000000 at gmail.com> writes:

> On Mon, Dec 28, 2009 at 2:17 AM, Matthias Julius <lists at julius-net.net> wrote:
>>
>> The rendering of this is not only a matter of z-ordering since we
>> probably don't want those roads to be simply covered up by the
>> building.  Instead they should be rendered similar to roads in tunnels.
>
> Agreed! Do you have an example you could link to?

An example for what?

> It looks like a ticket has already been filed for mapnik:
> http://trac.openstreetmap.org/ticket/2394
>
>> Without a special tag it is hard to define render rules for a "road that
>> is covered by a building".
>
> Is it? Can you explain why? Conceptually, all you need is layer=* and
> the ability to detect the overlap of the building=yes area and the
> highway=* way. But I guess you're saying this is hard to encode with
> "render rules"?

Exactly.  As someone today already stated in the ticket mentioned above
you can not do this with the render rules both for mapnik and
osmarender.  This needs to be done in the pre-processor.

Matthias





More information about the Tagging mailing list