On 18/11/2011 23:30, Jo wrote:
Concerning the issue with dual carriageways, I am using a brute-force
approach and divide the calculated distance by 2 if these conditions are
true:
highway ~ /^(motorway|trunk|primary|secondary|tertiary)/&&
oneway ~ /yes|true|1/
You probably want to add oneway=-1 to that list. There are some
oddballs who used that indicate oneway is against the vector sense.
Also JOSM proposes to use it when reversing a way.
Jo
Thanks for the hint. I already thought about it but forgot to mention
that the above tests are using regular expressions. ^motorway also
matches motorway_link, etc. and 1 also matches -1.
Hermann
_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk