[gtfs] Need help to decrypt error message

I generate GTFS from routes data and get many error messages like this in the logs.

web_1 | ERROR [2020-08-17 04:56:05,393] com.conveyal.gtfs.GTFSFeed: routes line 2404: Number 8.0 outside of acceptable range [0.0,7.0].
web_1 | ERROR [2020-08-17 04:56:05,393] com.conveyal.gtfs.GTFSFeed: routes line 2406: Number 8.0 outside of acceptable range [0.0,7.0].

Looking into routes.txt, I see, lines 2404-2406:

    0 > route_id,agency_id,route_short_name,route_long_name,route_desc,route_type
2404 > R757,1,529,529,"....",1  <<< error
2405 > R38650,1,"....",8        ok
2406 > R36749,1,51,51,"....",1  <<< error

First, there’s no number 8 in the given lines.

Let’s check other files:

agencies.txt

agency_id,agency_name,agency_url,agency_timezone
1,dummy agency,http://ya.ru,Asia/Krasnoyarsk

I see nothing wrong.

calendar.txt

service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
WE,0,0,0,0,0,1,1,20160101,20300101
WD,1,1,1,1,1,0,0,20160101,20300101

trips.txt

R757,1,WE,TR757_WE_1_0
R757,1,WE,TR757_WE_1_1
R757,1,WE,TR757_WE_1_2
R757,1,WE,TR757_WE_1_3
R757,1,WE,TR757_WE_1_4
R757,1,WE,TR757_WE_1_5
R757,1,WE,TR757_WE_1_6
R757,1,WE,TR757_WE_1_7
R757,1,WE,TR757_WE_1_8
R757,1,WE,TR757_WE_1_9
R757,1,WE,TR757_WE_1_10
R757,1,WE,TR757_WE_1_11
R757,1,WE,TR757_WE_1_12
R757,1,WE,TR757_WE_1_13
R757,1,WE,TR757_WE_1_14
R757,1,WE,TR757_WE_1_15
R757,1,WE,TR757_WE_1_16
R757,1,WE,TR757_WE_1_17
R757,1,WE,TR757_WE_1_18
R757,1,WE,TR757_WE_1_19
R757,1,WE,TR757_WE_1_20
R757,1,WE,TR757_WE_1_21
R757,1,WE,TR757_WE_1_22
R757,1,WE,TR757_WE_1_23

WE = weekend.

stop_times.txt

0,06:00:00,06:00:30,S16785,TR757_WE_0_0
1,06:03:13,06:03:43,S16797,TR757_WE_0_0
2,06:04:17,06:04:47,S16795,TR757_WE_0_0
3,06:05:40,06:06:10,S16799,TR757_WE_0_0
4,06:07:32,06:08:02,S16800,TR757_WE_0_0
5,06:08:57,06:09:27,S66974,TR757_WE_0_0
6,06:10:36,06:11:06,S20669,TR757_WE_0_0
7,06:12:24,06:12:54,S16807,TR757_WE_0_0
8,06:14:32,06:15:02,S16809,TR757_WE_0_0
9,06:17:33,06:18:03,S16811,TR757_WE_0_0
10,06:20:04,06:20:34,S66975,TR757_WE_0_0
11,06:21:17,06:21:47,S16824,TR757_WE_0_0
12,06:22:49,06:23:19,S16821,TR757_WE_0_0
13,06:24:50,06:25:20,S16818,TR757_WE_0_0
14,06:27:26,06:27:56,S16815,TR757_WE_0_0
15,06:34:42,06:35:12,S16839,TR757_WE_0_0
16,06:39:39,06:40:09,S16840,TR757_WE_0_0
17,06:41:57,06:42:27,S16844,TR757_WE_0_0
18,06:44:06,06:44:36,S16846,TR757_WE_0_0
19,06:45:19,06:45:49,S16848,TR757_WE_0_0
20,06:47:44,06:48:14,S16850,TR757_WE_0_0
21,06:50:01,06:50:31,S16852,TR757_WE_0_0
22,06:53:56,06:54:26,S16855,TR757_WE_0_0
23,07:04:09,07:04:39,S16857,TR757_WE_0_0
24,07:10:45,07:11:15,S17047,TR757_WE_0_0
25,07:13:31,07:14:01,S17051,TR757_WE_0_0
26,07:15:15,07:15:45,S17053,TR757_WE_0_0
27,07:18:20,07:18:50,S17055,TR757_WE_0_0
28,07:20:41,07:21:11,S20677,TR757_WE_0_0
29,07:24:50,07:25:20,S17056,TR757_WE_0_0
30,07:29:12,07:29:42,S20679,TR757_WE_0_0
31,07:38:59,07:39:29,S20682,TR757_WE_0_0
32,07:56:33,07:57:03,S20683,TR757_WE_0_0
33,08:01:15,08:01:45,S20685,TR757_WE_0_0
34,08:07:32,08:08:02,S17252,TR757_WE_0_0
35,08:10:56,08:11:26,S17085,TR757_WE_0_0
36,08:14:17,08:14:47,S17083,TR757_WE_0_0
37,08:16:36,08:17:06,S67011,TR757_WE_0_0
38,08:19:55,08:20:25,S17075,TR757_WE_0_0
39,08:27:00,08:27:30,S17073,TR757_WE_0_0
40,08:28:58,08:29:28,S17068,TR757_WE_0_0
41,08:30:47,08:31:17,S17064,TR757_WE_0_0
42,08:33:41,08:34:11,S18031,TR757_WE_0_0

I see no column that has a range of 0-7. Stops referred here have no “number” in them.

What can be wrong with this GTFS data?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.