osm-ToniE / ptna

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

Multiple gtfs.zip files #148

Open mgageo opened 3 weeks ago

mgageo commented 3 weeks ago

When there are several gtfs files, you should choose the file that covers the current day

image

osm-ToniE commented 3 weeks ago

Thanks, there is actually a bug, but not related to handling several GTFS files.

Bug: inside a single GTFS file, PTNA does not correctly calculate the earliest day when a trip or route provides service to the public.

What you might report here is related to multiple GTFS files though:

For the reported "C2" GTFS route:

Analysis:

So for this GTFS data version 2024-10-28 best trip is still in the future: 2024-11-04, the report in the image above (made based on GTFS data as of 2010-28) is correct, despite the error in the calculation.

However for the GTFS data version 2024-10-31 (just updated that), the earliest day is given as 2024-10-29 but calculated as 2024-11-06 (bug) which should have an impact on the image above.

See: https://github.com/osm-ToniE/gtfs/issues/15

osm-ToniE commented 3 weeks ago

https://github.com/osm-ToniE/gtfs/issues/15 has been closed and GTFS for FR-BRE-Start has been updated.