conveyal / gtfs-editor

A web-based GTFS editing framework. THIS PROJECT IS DEPRECATED. See https://github.com/ibi-group/datatools-ui for current version.
https://github.com/ibi-group/datatools-ui
MIT License
134 stars 63 forks source link

Stops not loaded when importing feed #246

Open xivk opened 8 years ago

xivk commented 8 years ago

Stops are not being loaded when importing one of these feeds:

http://gtfs.irail.be/mivb/mivb-gtfs.zip http://gtfs.irail.be/nmbs/nmbs-latest.zip

Both relatively small feeds but with stops. No errors are reported, files are being detected but stop count is zero. Log:

14:14:52.056 INFO (Entity.java:232) Loading GTFS table feed_info from feed_info.txt
14:14:52.210 INFO (GTFSFeed.java:90) Feed ID is undefined.
14:14:52.215 INFO (GTFSFeed.java:92) Feed ID is 'null'.
14:14:52.216 INFO (Entity.java:232) Loading GTFS table agency from agency.txt
14:14:52.217 INFO (Entity.java:228) Table calendar was missing but it is not required.
14:14:52.222 INFO (Entity.java:232) Loading GTFS table calendar_dates from calendar_dates.txt
14:14:52.621 INFO (Entity.java:228) Table fare_attributes was missing but it is not required.
14:14:52.631 INFO (Entity.java:228) Table fare_rules was missing but it is not required.
14:14:52.636 INFO (Entity.java:232) Loading GTFS table routes from routes.txt
14:14:52.790 INFO (Entity.java:232) Loading GTFS table shapes from shapes.txt
14:14:52.811 INFO (Entity.java:232) Loading GTFS table stops from stops.txt
14:14:54.143 INFO (Entity.java:228) Table transfers was missing but it is not required.
14:14:54.144 INFO (Entity.java:232) Loading GTFS table trips from trips.txt
14:14:54.712 INFO (Entity.java:228) Table frequencies was missing but it is not required.
14:14:54.712 INFO (Entity.java:232) Loading GTFS table stop_times from stop_times.txt
14:15:06.863 INFO (Entity.java:240) Record number 500.0k
14:15:13.089 INFO (Entity.java:240) Record number 1.0M
14:15:19.390 INFO (Entity.java:240) Record number 1.5M
14:15:26.203 INFO (Entity.java:240) Record number 2.0M
14:15:33.149 INFO (Entity.java:240) Record number 2.5M
14:15:37.248 INFO (GTFSFeed.java:105) 0 errors
14:15:37,272 INFO  ~ GtfsImporter: importing agencies...
14:15:37,433 INFO  ~ Agencies loaded: 1
14:15:37,443 INFO  ~ GtfsImporter: importing stops...
14:16:07,013 INFO  ~ Stops loaded: 0
14:16:07,015 INFO  ~ GtfsImporter: importing routes...
14:16:07,341 INFO  ~ Routes loaded:775
14:16:07,341 INFO  ~ GtfsImporter: importing Shapes...
14:16:07,341 INFO  ~ Shape points loaded: 0
14:16:07,341 INFO  ~ Shapes loaded: 0
14:16:07,341 INFO  ~ GtfsImporter: importing Service Calendars...
14:16:07,448 INFO  ~ Service calendars loaded: 205
14:16:07,453 INFO  ~ GtfsImporter: importing trips...
14:16:08.974 INFO (GTFSFeed.java:189) Total patterns: 6495

I also made sure this was not a duplicate of #232

Mapeta commented 7 years ago

Same issue with me. Stops are not being loaded and there is no error message. I used the sample feed provided by Google: https://developers.google.com/transit/gtfs/examples/sample-feed.zip

10:06:13.671 INFO (Entity.java:228) Table feed_info was missing but it is not required.
10:06:13.675 INFO (GTFSFeed.java:90) Feed ID is undefined.
10:06:13.675 INFO (GTFSFeed.java:92) Feed ID is 'null'.
10:06:13.675 INFO (Entity.java:232) Loading GTFS table agency from agency.txt
10:06:13.678 INFO (Entity.java:232) Loading GTFS table calendar from calendar.txt
10:06:13.678 INFO (Entity.java:232) Loading GTFS table calendar_dates from calendar_dates.txt
10:06:13.710 INFO (Entity.java:232) Loading GTFS table fare_attributes from fare_attributes.txt
10:06:13.711 INFO (Entity.java:232) Loading GTFS table fare_rules from fare_rules.txt
10:06:13.712 INFO (Entity.java:232) Loading GTFS table routes from routes.txt
10:06:13.712 INFO (Entity.java:232) Loading GTFS table shapes from shapes.txt
10:06:13.713 INFO (Entity.java:232) Loading GTFS table stops from stops.txt
10:06:13.713 INFO (Entity.java:228) Table transfers was missing but it is not required.
10:06:13.714 INFO (Entity.java:232) Loading GTFS table trips from trips.txt
10:06:13.714 INFO (Entity.java:232) Loading GTFS table frequencies from frequencies.txt
10:06:13.715 INFO (Entity.java:232) Loading GTFS table stop_times from stop_times.txt
10:06:13.717 INFO (GTFSFeed.java:105) 0 errors
10:06:13,718 INFO  ~ GtfsImporter: importing agencies...
10:06:13,979 INFO  ~ Agencies loaded: 1
10:06:13,979 INFO  ~ GtfsImporter: importing stops...
10:06:13,992 INFO  ~ Stops loaded: 0
10:06:13,992 INFO  ~ GtfsImporter: importing routes...
10:06:13,994 INFO  ~ Routes loaded:5
10:06:13,994 INFO  ~ GtfsImporter: importing Shapes...
10:06:13,994 INFO  ~ Shape points loaded: 0
10:06:13,994 INFO  ~ Shapes loaded: 0
10:06:13,994 INFO  ~ GtfsImporter: importing Service Calendars...
10:06:13,995 INFO  ~ Service calendars loaded: 2
10:06:13,995 INFO  ~ GtfsImporter: importing trips...
10:06:13.996 INFO (GTFSFeed.java:189) Total patterns: 9
10:06:14,027 INFO  ~ Trips loaded: 11
10:06:14,242 INFO  ~ Imported GTFS file: 1 agencies; 5 routes;0 stops; 0 stopTimes; 11 trips;0 shapePoints