Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freespeed of artifical links #238

Open
pburla91 opened this issue Aug 27, 2024 · 1 comment
Open

Freespeed of artifical links #238

pburla91 opened this issue Aug 27, 2024 · 1 comment

Comments

@pburla91
Copy link

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).

@polettif
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants