Dears, I am trying to use the transxchange2gtfs() function to turn some xml files of the bus network providers to GTFS. I am having success in most of these, but i am finding an error in one of the files im trying to convert. your help would be much appreciated:
Below the code and error:
gtfs_4_FBSM_PK1147727_10_8_2023_02_20 <- transxchange2gtfs(path_3)
2023-09-27 16:23:54.176022 This will take some time, make sure you use 'ncores' to enable multi-core processing
Scottish holidays are downloaded but not properly supported
2023-09-27 16:25:30.965299 Importing TransXchange files, single core
2023-09-27 16:25:31.415763 Converting to GTFS, single core
Error in FUN(X[[i]], ...) : Unknown timepoint type: timeInfoPoint
Failed to convert files:
4_FBSM_PK1147727_10_8_2023-02-20.xml with error Error in FUN(X[[i]], ...) : Unknown timepoint type: timeInfoPoint
Error in names(agency) <- seq(1, length(agency)) :
'names' attribute [2] must be the same length as the vector [0]
Merging failed, returing unmerged GFTS object for analysis
gtfs_merge(gtfs_4_FBSM_PK1147727_10_8_2023_02_20, force = TRUE, quiet = TRUE)
Error in names(agency) <- seq(1, length(agency)) :
'names' attribute [2] must be the same length as the vector [0]
Dears, I am trying to use the transxchange2gtfs() function to turn some xml files of the bus network providers to GTFS. I am having success in most of these, but i am finding an error in one of the files im trying to convert. your help would be much appreciated:
Below the code and error: gtfs_4_FBSM_PK1147727_10_8_2023_02_20 <- transxchange2gtfs(path_3) 2023-09-27 16:23:54.176022 This will take some time, make sure you use 'ncores' to enable multi-core processing
Scottish holidays are downloaded but not properly supported 2023-09-27 16:25:30.965299 Importing TransXchange files, single core 2023-09-27 16:25:31.415763 Converting to GTFS, single core Error in FUN(X[[i]], ...) : Unknown timepoint type: timeInfoPoint
Failed to convert files: 4_FBSM_PK1147727_10_8_2023-02-20.xml with error Error in FUN(X[[i]], ...) : Unknown timepoint type: timeInfoPoint
Error in names(agency) <- seq(1, length(agency)) : 'names' attribute [2] must be the same length as the vector [0] Merging failed, returing unmerged GFTS object for analysis