-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The trias-example-generator repository serves for processing TRIAS, which is an XML file containing detailed information about the travel offers resulting from a search for transportation options between two points. This file stores information such as transport modes, travel times, ticket information etc. We want to expand TRIAS in order to develop a more personalized and comprehensive search tool that meets the end of the R2R project for enabling first and last-mile ride-sharing to public transport nodes. This data is further used to develop a comprehensive personalized transportation search tool. The schemes for TRIAS data are also publicly available at TRIAS GitHub.
One of the goals of T3.1 of the Ride2Rail (R2R) project is to provide specifications of the travel service provider (TSP) data in order to improve the options of the comprehensive search tool. Because these features are not included in the conventional TRIAS examples, we used the TRiAS examples to generate our own data following the TRIAS format. Generally, we refer to the generation of data to TRIAS files as TRIAS enrichment. We describe TRIAS enrichment with TSP data in detail on page TSP data enrichment and the code performing the enrichment can be seen in TSP_data_generator.py.
As we analyzed the comprehensive TRIAS XML file provided to R2R T3.1, we found that it contained various trips, which most likely belong to several different searches, i.e. different single mobility requests for trips were provided in the file. As they often happened on different days and started and ended at different stops, but with certain reoccurrence (i.e. showing similar patterns of reoccurrence), we decided to merge such trips and put the merged trips into separate files also denoted as single mobility requests. More about this merging is written on TRIAS example extraction page and the code for merging is in mobility_request_generation_TRIAS.py.
As the TRIAS examples contained no ridesharing data, we also generated ride-sharing trip legs based on the pre-defined xsd scheme, from the existing trips in the data. Ridesharing data is on page Ridesharing data and the generator is in file ridesharing_generator.py.