I generated a network from OSM and mapped GTFS onto the network. I realized that some artificial links have freespeed of 1.0. Upon inspection I realized that is because the setFreeSpeedBasedOnSchedule() method does not process certain links. If two stops are on the same link in the route, the following stops are never processed to calculate theoretical minimum speed as the linkId never matches the linkId associated with the next link (as the outer loop is over the links).
Hi there. Could you provide an example dataset where this happens? Ideally just the transit route in question. I think two stops on the same link should not happen with mapping but my memory is a bit hazy on this.
Hi,
I generated a network from OSM and mapped GTFS onto the network. I realized that some artificial links have freespeed of 1.0. Upon inspection I realized that is because the setFreeSpeedBasedOnSchedule() method does not process certain links. If two stops are on the same link in the route, the following stops are never processed to calculate theoretical minimum speed as the linkId never matches the linkId associated with the next link (as the outer loop is over the links).