Package org.goplanit.gtfs.converter
Class RouteTypeExtendedToPredefinedPlanitModeMappingCreator
- java.lang.Object
-
- org.goplanit.gtfs.converter.RouteTypeExtendedToPredefinedPlanitModeMappingCreator
-
public class RouteTypeExtendedToPredefinedPlanitModeMappingCreator extends Object
Each eligible GTFS extended Route type is mapped to a PLANit mode through this dedicated mapping class so that the memory model's modes are user configurable yet linked to the original format. Note that when the reader is used i.c.w. a network writer to convert one network to the other. It is paramount that the PLANit modes that are mapped here are also mapped by the writer to the output format to ensure a correct I/O mapping of modes The default extended mapping is provided below. It is important to realise that modes that are marked as N/A have no predefined equivalent in PLANit, as a result they are ignored.- 100-117, 400-405 - Railway Service types to TrainMode
- 200-209,700-716,800 - Bus Service types to BusMode
- 900-906 - Tram Service types to LightrailMode
- 1000,1200 - Water/Ferry Service types to Ferry
- 1100 - Air Service types to N/A
- 1300,1400 - Aerial/funicular Service types to N/A
- 1500-1507 - Taxi Service types to N/A
- 1700 - Misc Service types to N/A
- 1702 - Horse-drawn carriage Service types to N/A
-
-
Constructor Summary
Constructors Constructor Description RouteTypeExtendedToPredefinedPlanitModeMappingCreator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
execute(GtfsConverterReaderSettingsWithModeMapping settings)
Perform and populate mapping in provided settings
-
-
-
Method Detail
-
execute
public static void execute(GtfsConverterReaderSettingsWithModeMapping settings)
Perform and populate mapping in provided settings- Parameters:
settings
- to populate
-
-