Closed osm-ToniE closed 5 years ago
Fixed: we already have a special analysis for the first way being a oneway way. extend this by analyzing whether the entry node of the first way (=oneway) corresponds to the first or last node of the second way. if so, we know that the first way (=oneway) is used in wrong direction "PTv2 route: using oneway way(s) in wrong direction:".
There was an issue with oneway=-1 on the first way. Caused by a single '=' in an if statement. Created two new test files. deleted an old test file (replaced by the new tests)
If the first way is a oneway way and used in wrong direction, the tool simply reports a gap with no further hint. It is hard to detect the issue in the relation with JOSM, because JOSM does not detect that at all. A text like the existing "PTv2 route: using oneway way(s) in wrong direction: %s" should appear also here. Test with Test/RBO-6209-006-issue-17.osm