[OSM-dev] osm.xml: r16190 mocks up XML parser/Mapnik?
Tom Hughes
tom at compton.nu
Fri Jul 31 00:04:55 BST 2009
On 30/07/09 19:08, Lennard wrote:
> Tom Hughes wrote:
>
>> You haven't said which layer that is, but it looks like it is a layer
>> that is only supposed to be selecting bridges in which case your fix
>> is wrong as it will cause it to select things with no bridge tag.
>
> Indeed, this is the one exception in the layers bridge/tunnel handling.
> It selects anything that is not *not* a bridge, and renders those as a
> bridge. This conveniently catches all expanded usage now, like
> bridge=span/swing/viaduct/swivel.
No, it is selecting anything this is not not a bridge - the selection
was a double negative "not in ('no'...)" so was selecting things that
were bridges. Things with no bridge tag are not bridges.
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list