-
Notifications
You must be signed in to change notification settings - Fork 29
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
Debugging shape's incorrect first point #21
Comments
@RuiLoureiro That is strange, indeed. The Rua Quirino da Fonseca also has a bus relation, so it should definitely be chosen. Could you send me the GTFS file and the trip ID, to that I can reproduce this using -T? @marti1959it Could you do the same? Many thanks and sorry for the late answer. |
Patrick, |
I'm sorry for the late reply. I eventually figured out that the problem above was related to the GTFS feed and got it fixed. Here's one example, with the gtfs' shape in blue, pfaedle's shape in green and the gtfs location of the serviced stops in red: OSM for that area: I was expecting for pfaedle to route through the 'Cais do Sodré' way, where the OSM and GTFS stops are located. The Thank you for your attention |
I'm having a hard time understanding why some shapes have incorrectly snapped points. A lot of the errors seem to be in the first and last points of the trips.
Here is an example:
In the next plot, the blue line is the original GTFS shape points, and the red circle is the corresponding trip's first stop location.
The green line is the shape returned by
pfaedle
and the yellow circle is the corresponding trip's first stop location.I was expecting the shape to route through the street Rua Quirino da Fonseca, like is shown here, in OSM:
https://www.openstreetmap.org/directions?engine=fossgis_osrm_car&route=38.73451%2C-9.13502%3B38.73729%2C-9.13377
I have used the -T flag to export the geojson graph and tried to change a few parameters on
pfaedle.cfg
but am having a hard time figuring out what's causing this behavior.Here's a plot of the
graph.json
around that area:Any help will be greatly appreciated
The text was updated successfully, but these errors were encountered: