Tristramg / mumoro

Multiobjective multimodal shortest path routing
GNU General Public License v3.0
39 stars 6 forks source link

check start and end day for GTFS #37

Open arbimo opened 11 years ago

arbimo commented 11 years ago

The bitset for Service (used in Duration) is only 128 bit long.

A Warning should therefore be shown when start_date and end_date in configuration are separated by more than 128 days.

When performing a query with time dependent data, we should also check that the day used for duration is not above 128. (otherwise, if it is not a segfault, it gives completely wrong information about which trips are available on that day