osm-ToniE / ptna

Public Transport Network Analysis for OSM
GNU General Public License v3.0
19 stars 5 forks source link

SortRouteWayNodes(): report if a roundabout is used a second time directly after the first time #58

Closed osm-ToniE closed 5 years ago

osm-ToniE commented 5 years ago

usually this points to a sorting problem

osm-ToniE commented 5 years ago

i.e.

$current_way_id == $next_way_id && isClosedWay($current_way_id)

osm-ToniE commented 5 years ago

roundabout apprearing a second time directly after first time does not report: "PTv2 Route: has a gap, consists of 2 segments" That's why this should be reported.

osm-ToniE commented 5 years ago

Report error only of route has no gaps, consists of one segment