[−][src]Crate transit_model
The transit_model
crate proposes a model to manage transit data.
It can import and export data from
GTFS and
NTFS.
Re-exports
pub use crate::model::Model; |
Modules
calendars | This exposes common information between GTFS and NTFS Mainly 2 common things are grouped here: |
gtfs | GTFS format management. |
model | Definition of the navitia transit model. |
netex_utils | Some utils to work with the NeTEx format, especially the frames. |
ntfs | NTFS format management. |
objects | The different objects contained in the navitia transit model. |
read_utils | Some utilities for input dataset to the library. |
transfers | See function generates_transfers |
validity_period | Some utilities to set and/or calculate validity periods. |
vptranslator | See function translate |
Structs
CURRENT_DATETIME | Current datetime |
Constants
NTFS_VERSION | Current version of the NTFS format |
TRANSFER_MAX_DISTANCE | The max distance in meters to compute the tranfer |
TRANSFER_WAITING_TIME | Waiting time at stop in second |
TRANSFER_WAKING_SPEED | The walking speed in meters per second |
Traits
AddPrefix | Trait for object that can be prefixed |
Type Definitions
Error | The error type used by the crate. |
Result | The corresponding result type used by the crate. |