You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to merge several GTFS feeds because we want to use GTFS data sets from neighboring regions in a single simulation.
After having a look at the pt2matsim process I think the best place to do this is in an additional step before invoking PTMapper, which handles merging the unmapped transitSchedule.xml (and the vehicleDefinitions.xml). A simplistic approach would be to merge the relevant files (e.g. via xslt). A more sophisticated approach could handle duplicate ids (e.g. vehicleDefinitions>vehicle>id can easily be the same in multiple files).
I wanted to ask if someone already did this before / if there already is an established way to achieve this?
The text was updated successfully, but these errors were encountered:
I don't know about an established way but there's ScheduleTools.mergeSchedules which, together with ScheduleTools.createVehicles(), could be used to achieve this. Doing this before running PTMapper is the way to go. Combining xml files should work as well I think.
I need to merge several GTFS feeds because we want to use GTFS data sets from neighboring regions in a single simulation.
After having a look at the pt2matsim process I think the best place to do this is in an additional step before invoking PTMapper, which handles merging the unmapped transitSchedule.xml (and the vehicleDefinitions.xml). A simplistic approach would be to merge the relevant files (e.g. via xslt). A more sophisticated approach could handle duplicate ids (e.g. vehicleDefinitions>vehicle>id can easily be the same in multiple files).
I wanted to ask if someone already did this before / if there already is an established way to achieve this?
The text was updated successfully, but these errors were encountered: