
Moin, in the Wiki the != test is described as follows: highway!=motorway This will be true when the highway tag exists, but it does NOT have the value motorway.
From my understanding this should read like
highway!=motorway This will be true when the highway tag exists, but it does NOT have the value motorway, or when there is no highway tag at all. Shall I correct the description in the Wiki or must I correct my understanding of the != test? Gruss Torsten

On 28.03.2010 09:05, Torsten Leistikow wrote:
Moin,
in the Wiki the != test is described as follows:
highway!=motorway This will be true when the highway tag exists, but it does NOT have the value motorway.
From my understanding this should read like
highway!=motorway This will be true when the highway tag exists, but it does NOT have the value motorway, or when there is no highway tag at all.
Shall I correct the description in the Wiki or must I correct my understanding of the != test?
Yes. That is how it works. Wiki is often outdated or incomplete, or sometimes even wrong...
Gruss Torsten _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

From my understanding this should read like
highway!=motorway This will be true when the highway tag exists, but it does NOT have the value motorway, or when there is no highway tag at all.
This is correct. highway!=motorway returns true exactly when highway=motorway would return false. It looks like I wrote that sentence on the wiki, I have no idea what I was thinking - sorry. ..Steve
participants (3)
-
Felix Hartmann
-
Steve Ratcliffe
-
Torsten Leistikow