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
39 stars 13 forks source link

Unable to convert files from Traveline ftp site #68

Closed GMB-Himley closed 52 minutes ago

GMB-Himley commented 2 months ago

I have downloaded the WM.ZIP file from the Traveline ftp site. When calling transxchange2gtfs for the WM.zip file, I get the error: All files converted Error in gtfs_merge(gtfs_all, force = force_merge) : Duplicated Agency IDs AMN Merging failed, returing unmerged GFTS object for analysis If I then run gtfs_merge, I get: Warning: Duplicated Agency IDs AMN will be mergedDe-duplicating route_id De-duplicating service_id De-duplicating trip_id Condensing duplicated service patterns

If I then run gtfs_write(gtfs,

Am I missing a step? I've been able to run the transxchange2gtfs process with another file from Traveline, so there is an issue with the WM file, but it would appear that the merge process does 'fix' it and then fails on the write?

mem48 commented 1 month ago

SOunds like a problem with teh calendar, can you try head(gtfs$calendar) to see what is in there?