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

Problems in the shape of the routes after importig GTFS #241

Open
vsperez opened this issue Jun 19, 2021 · 3 comments
Open

Problems in the shape of the routes after importig GTFS #241

vsperez opened this issue Jun 19, 2021 · 3 comments

Comments

@vsperez
Copy link
Member

vsperez commented Jun 19, 2021

Expected functionality
The routes should be the same as the GTFS file.

Describe the bug
In some case, the construction of the shape results with unexpected segment from the polyline to the busstop.

To Reproduce
Import specific GTFS.

@vsperez
Copy link
Member Author

vsperez commented Jun 19, 2021

This ocurres while the algorithm is searching the location on the busstop along the shape. When the best match is not found or the best match skips the correct location.

The fixing, in all the cases, is using the ShapeDistanceTraveled of GTFS. If it is not provided, the parameter maxDistanceBetweenStops should be carefully selected in order to avoid the cause.

vsperez added a commit to vsperez/transitime that referenced this issue Jun 19, 2021
There is a special case, if route passes over the same arc (street), it
is still possible to select the incorrect shape segment for the bus stop
if the field shapedistancetraveled is not provided.
scrudden added a commit that referenced this issue Jul 30, 2021
@wkulesza
Copy link

It would help if you could provide example valeus for maxDistanceBetweenStops and maxTravelTimeSegmentLength.
I currently have 20000.0 and 100

@vsperez
Copy link
Member Author

vsperez commented Nov 30, 2023 via email

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

No branches or pull requests

2 participants