[OSM-talk] oneway yes or true

marcus.wolschon at googlemail.com marcus.wolschon at googlemail.com
Fri Feb 27 11:10:52 GMT 2009


On Fri, 27 Feb 2009 11:55:26 +0100, "sly (sylvain letuffe)"
<liste at letuffe.org> wrote:
>>  no
>>  false
>>  0
>>  -1
>> all other values are ignored and treated as yes (why else would you have
>> a
>> oneway-tag).
> 
> Ouch ! While using your software, I'll be extreamly carefull on the road
> ;-)
> 
> Don't want to be droven on an "undefined" or "other" or "maybe" oneway

The opposite is true. "undefined" it is either a oneway=true or not.
In both cases I am allowed to drive it like a oneway=true and it
is the safest thing to do, to ignore this way in the opposite direction
as it is unclear if I am allowed to drive there or not.
Barely 200 roads in all of europe are not something I would worry about.
It's not like you can switch your eyes and brain off just because you have
a navigation system.

Well, anyway. We should better document these possible values in the wiki:
http://wiki.openstreetmap.org/wiki/Key:oneway
That's the place where mappers and developers look up the semantics of
key-value -pairs.

Marcus

> 
> Europe counts :
>                oneway               | count
> ------------------------------------+--------
>  yes                                | 466883
>  1                                  | 104487
>  true                               | 100204
>  no                                 |  35883
>  false                              |   3519
>  -1                                 |   2683
>  undefined                          |    197
>  0                                  |     24
>  unknown                            |     11
>  both                               |     11
>  other                              |      9
>  y                                  |      7
>  ???                                |      7
>  Yes                                |      6
>  yees                               |      6
>  variable                           |      6
>  morning to south, evening to North |      5
>  FIXME                              |      5
>  alternate                          |      4
>  2                                  |      4
>  True                               |      3
>  ye                                 |      3
>  yes/-1                             |      3
>  R760                               |      3
>  true; 1; true                      |      2
>  yes; yes; true; yes; yes           |      2
>  hy                                 |      2
>  no;yes                             |      2
>  +1                                 |      2
>  maybe                              |      2
>  no?                                |      2
> 
>




More information about the talk mailing list