[OSM-talk] oneway yes or true
Andrew Chadwick (email lists)
andrewc-email-lists at piffle.org
Fri Feb 27 18:16:48 GMT 2009
OSM2Go now automagically flips oneway tags, tags on ways like foo:left
and foo:right, and forward and backward members in relations when the
user reverses a way. Better explain what we do for oneway somewhere,
this might as well be it.
We inherit JOSM's presets system, so we use whatever
UI-wise we don't get in your face about reversing stuff like JOSM does
with the option set. Can't afford to on a tiny screen on a small device
with a tendency to be slipped into a pocket and forgotten about.
Simpler=better for us. You'll get a gentle notification, however (o hai;
i fixed ur tags for u)
sly (sylvain letuffe) wrote:
> Europe counts :
> oneway | count
> ------------------------------------+--------
> yes | 466883
> 1 | 104487
> true | 100204
These are all treated as true-and-forwards values. "yes" is the
preferred true value, and is what "-1" flips to.
> no | 35883
> false | 3519
These are left as-is when reversing. They specifically *don't* mean "-1".
> -1 | 2683
This is the one supported true-but-backwards value. It's what "yes" and
all the other true-and-forwards values flip to.
> 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
These are all left alone: OSM2go enforces no reversal policy for unknown
tag values, and nor should it. Possibly it should flash a little ambient
warning about it briefly.
If somebody wants to enhance oneway, please do directions in terms of
the way's node ordering. It's much easier to implement than compass
directions etc.
--
Andrew Chadwick
More information about the talk
mailing list