[OSM-talk] oneway != -1!

Simon Hewison simon at zymurgy.org
Wed Apr 12 07:20:42 BST 2006

Immanuel Scholz wrote:

> The current general idea of oneway is to be a boolean-like value. I
> recommend turning the line segment around instead of setting oneway to -1
> in case of the wrong direction inserted.
> (Unfortunatly, there is currently no easy way to turn the segment around.
> Volunteer hackers? ;)

Surely that's just a matter of performing a GET segment/segmentid
then swap the from and to attributes
then PUT segment/segmentid, with everything else the same?

or am I missing something?
Simon Hewison

More information about the talk mailing list