ITSLeeds / UK2GTFS

Convert UK transport data (TransXchange / ATOC CIF) to GTFS format in R
https://itsleeds.github.io/UK2GTFS/
GNU General Public License v3.0
37 stars 13 forks source link

KINTORE station missing in stops.txt #22

Closed jeanbaptistemarie closed 3 years ago

jeanbaptistemarie commented 4 years ago

I tried to compute the GTFS archive with OTP, I got this error message: Exception in thread "main" org.onebusaway.csv_entities.exceptions.CsvEntityIOException: io error: entityType=org.onebusaway.gtfs.model.StopTime path=stop_times.txt lineNumber=21609 at org.onebusaway.csv_entities.CsvEntityReader.readEntities(CsvEntityReader.java:161) at org.onebusaway.csv_entities.CsvEntityReader.readEntities(CsvEntityReader.java:120) at org.onebusaway.csv_entities.CsvEntityReader.readEntities(CsvEntityReader.java:115) at org.onebusaway.csv_entities.CsvEntityReader.readEntities(CsvEntityReader.java:108) at org.opentripplanner.graph_builder.module.GtfsModule.loadBundle(GtfsModule.java:181) at org.opentripplanner.graph_builder.module.GtfsModule.buildGraph(GtfsModule.java:108) at org.opentripplanner.graph_builder.GraphBuilder.run(GraphBuilder.java:139) at org.opentripplanner.standalone.OTPMain.run(OTPMain.java:103) at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:73) Caused by: org.onebusaway.gtfs.serialization.EntityReferenceNotFoundException: entity reference not found: type=org.onebusaway.gtfs.model.Stop id=KINTORE at org.onebusaway.gtfs.serialization.GtfsReader.getAgencyForEntity(GtfsReader.java:218) at org.onebusaway.gtfs.serialization.GtfsReader$GtfsReaderContextImpl.getAgencyForEntity(GtfsReader.java:305) at org.onebusaway.gtfs.serialization.mappings.EntityFieldMappingImpl$ConverterImpl.convert(EntityFieldMappingImpl.java:104) at org.onebusaway.gtfs.serialization.mappings.EntityFieldMappingImpl.translateFromCSVToObject(EntityFieldMappingImpl.java:61) at org.onebusaway.csv_entities.IndividualCsvEntityReader.readEntity(IndividualCsvEntityReader.java:131) at org.onebusaway.csv_entities.IndividualCsvEntityReader.handleLine(IndividualCsvEntityReader.java:98) at org.onebusaway.csv_entities.CsvEntityReader.readEntities(CsvEntityReader.java:157)

mem48 commented 4 years ago

Can you tell me more about your gtfs file? Is it rail or bus? Which version are you using? Have you run the google validation on your gtfs file?

mem48 commented 4 years ago

Also it seams that the station was closed in the 60s

https://en.m.wikipedia.org/wiki/Kintore_railway_station