Uses of Class
org.goplanit.utils.mode.PredefinedModeType
-
-
Uses of PredefinedModeType in org.goplanit.gtfs.converter
Fields in org.goplanit.gtfs.converter with type parameters of type PredefinedModeType Modifier and Type Field Description protected Map<RouteType,List<PredefinedModeType>>
GtfsConverterReaderSettingsWithModeMapping. defaultGtfsMode2PrefinedModeTypeMap
Default mapping (specific to this (services) network) from each supported GTFS mode to PLANit predefined mode.Methods in org.goplanit.gtfs.converter that return types with arguments of type PredefinedModeType Modifier and Type Method Description Set<PredefinedModeType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedPlanitPredefinedModes()
Currently activated mapped PLANit modes as a new set, i.e., modifying this set does not impact the configurationList<PredefinedModeType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedPlanitPredefinedModes(RouteType gtfsMode)
Find the currently mapped PLANit predefined modes for a given gtfsModeMethods in org.goplanit.gtfs.converter with parameters of type PredefinedModeType Modifier and Type Method Description Set<RouteType>
GtfsConverterReaderSettingsWithModeMapping. findGtfsModesFor(PredefinedModeType predefinedModeType)
Find the GTFS mode that is mapped to the given predefined PLANit modeList<RouteType>
GtfsConverterReaderSettingsWithModeMapping. getAcivatedGtfsModes(PredefinedModeType planitModeType)
Find the currently mapped GTFS modes for a given PLANit predefined mode typeprotected void
GtfsConverterReaderSettingsWithModeMapping. setDefaultGtfs2PredefinedModeTypeMapping(RouteType gtfsRouteType, PredefinedModeType planitMode)
Set mapping from GTFS mode to PLANit modeMethod parameters in org.goplanit.gtfs.converter with type arguments of type PredefinedModeType Modifier and Type Method Description protected void
GtfsConverterReaderSettingsWithModeMapping. setDefaultGtfs2PredefinedModeTypeMapping(RouteType gtfsRouteType, List<PredefinedModeType> planitModes)
Set mapping from GTFS mode to PLANit mode -
Uses of PredefinedModeType in org.goplanit.matsim.util
Fields in org.goplanit.matsim.util with type parameters of type PredefinedModeType Modifier and Type Field Description protected Set<PredefinedModeType>
PlanitMatsimWriterModeMappingSettings. activatedPlanitModes
track the PLANit modes that we include in the network to writeprotected static Set<PredefinedModeType>
PlanitMatsimWriterModeMappingSettings. DEFAULT_ACTIVATED_MODES
track the PLANit modes that we include in the network to writeprotected static Map<PredefinedModeType,String>
PlanitMatsimWriterModeMappingSettings. DEFAULT_PLANIT2MATSIM_MODE_MAPPING
provides the default mapping from planit modes ((predefined) mode name) to MATSIM mode (string)protected Map<PredefinedModeType,String>
PlanitMatsimWriterModeMappingSettings. planit2MatsimModeMapping
provides the mapping from PLANit modes ((predefined) mode name) to MATSIM mode (string)Methods in org.goplanit.matsim.util that return types with arguments of type PredefinedModeType Modifier and Type Method Description protected static Set<PredefinedModeType>
PlanitMatsimWriterModeMappingSettings. createDefaultActivatedPlanitModes()
Create the default activate PLANit modes that the MATSIM write will include when writing the network (if they are available).protected static Map<PredefinedModeType,String>
PlanitMatsimWriterModeMappingSettings. createDefaultPredefinedModeMappings()
Initialise the predefined PLANit modes to MATSIM mode mapping, based on the (predefined) mode names.Methods in org.goplanit.matsim.util with parameters of type PredefinedModeType Modifier and Type Method Description void
PlanitMatsimWriterModeMappingSettings. activatePredefinedMode(PredefinedModeType planitModeType)
Activate the provided predefined mode from the activated modes listed for inclusion in the MATSIM network (in mapped form).void
PlanitMatsimWriterModeMappingSettings. deactivatePredefinedMode(PredefinedModeType planitModeType)
Remove the provided predefined mode from the activated modes listed for inclusion in the MATSIM network (in mapped form)protected static String
PlanitMatsimWriterModeMappingSettings. getDefaultPredefinedModeMappings(PredefinedModeType modeType)
Collect the default mapping from PLANit predefined mode to MATSim modevoid
PlanitMatsimWriterModeMappingSettings. updatePredefinedModeMapping(PredefinedModeType planitModeType, String matsimMode)
Overwrite a mapping from a predefined PLANit mode to a particular MATSim modeConstructor parameters in org.goplanit.matsim.util with type arguments of type PredefinedModeType Constructor Description PlanitMatsimWriterModeMappingSettings(String outputDirectory, String outputFileName, String countryName, Map<PredefinedModeType,String> planit2MatsimModeMapping, Set<PredefinedModeType> activatedPlanitModes)
constructorPlanitMatsimWriterModeMappingSettings(String outputDirectory, String outputFileName, String countryName, Map<PredefinedModeType,String> planit2MatsimModeMapping, Set<PredefinedModeType> activatedPlanitModes)
constructor -
Uses of PredefinedModeType in org.goplanit.mode
Methods in org.goplanit.mode that return PredefinedModeType Modifier and Type Method Description PredefinedModeType
PredefinedModeImpl. getPredefinedModeType()
Collect the predefined mode type of this modeMethods in org.goplanit.mode with parameters of type PredefinedModeType Modifier and Type Method Description boolean
ModesImpl. containsPredefinedMode(PredefinedModeType modeType)
verify if predefined mode is registeredPredefinedMode
ModeFactoryImpl. createPredefinedMode(IdGroupingToken groupId, PredefinedModeType modeType)
create a predefined mode instance without registering it on the container.PredefinedMode
ModesImpl. get(PredefinedModeType modeType)
get predefined mode if it is registeredPredefinedMode
ModeFactoryImpl. registerNew(PredefinedModeType modeType)
Create and register a new predefined mode.Constructors in org.goplanit.mode with parameters of type PredefinedModeType Constructor Description PredefinedModeImpl(IdGroupingToken groupId, PredefinedModeType modeType, double maxSpeed, double pcu, PhysicalModeFeatures physicalFeatures, UsabilityModeFeatures usabilityFeatures)
A predefined mode -
Uses of PredefinedModeType in org.goplanit.network
Methods in org.goplanit.network with parameters of type PredefinedModeType Modifier and Type Method Description U
LayeredNetwork. getLayerByPredefinedModeType(PredefinedModeType predefinedModeType)
collect a layer by predefined mode type (we exclude custom mode types) -
Uses of PredefinedModeType in org.goplanit.network.layer
Methods in org.goplanit.network.layer with parameters of type PredefinedModeType Modifier and Type Method Description boolean
NetworkLayerImpl. supportsPredefinedMode(PredefinedModeType predefinedModeType)
Verify if a predefined mode is supported based on its type -
Uses of PredefinedModeType in org.goplanit.network.layer.macroscopic
Methods in org.goplanit.network.layer.macroscopic with parameters of type PredefinedModeType Modifier and Type Method Description boolean
MacroscopicLinkSegmentTypeImpl. isModeTypeAllowed(PredefinedModeType modeType)
Verify if predefined mode type is available on type. -
Uses of PredefinedModeType in org.goplanit.osm.converter.network
Methods in org.goplanit.osm.converter.network that return PredefinedModeType Modifier and Type Method Description PredefinedModeType
OsmNetworkReaderSettings. getMappedPlanitModeType(String osmMode)
convenience method that collects the currently mapped PLANit mode (road or rail) for the given OSM modePredefinedModeType
OsmRailwaySettings. getMappedPlanitRailMode(String osmMode)
convenience method that collects the currently mapped PLANit mode for the given OSM modePredefinedModeType
OsmHighwaySettings. getMappedPlanitRoadMode(String osmMode)
convenience method that collects the currently mapped PLANit road mode for the given OSM modePredefinedModeType
OsmWaterwaySettings. getMappedPlanitWaterMode(String osmMode)
convenience method that collects the currently mapped PLANit mode for the given OSM modeprotected PredefinedModeType
OsmWaySettings. getPlanitModeTypeIfActivated(String osmMode)
Convenience method that collects the currently mapped PLANit mode for the given OSM mode if the parser is active otherwise null is returnedMethods in org.goplanit.osm.converter.network that return types with arguments of type PredefinedModeType Modifier and Type Method Description SortedSet<PredefinedModeType>
OsmNetworkReaderSettings. getActivatedPlanitModeTypes()
Convenience method that collects all currently mapped PLANit mode types (road, rail, water)SortedSet<PredefinedModeType>
OsmNetworkReaderSettings. getActivatedPlanitModeTypes(Collection<String> osmModes)
convenience method that collects the currently mapped PLANit modes (road or rail) for the given OSM modesStream<PredefinedModeType>
OsmWaySettings. getActivatedPlanitModeTypesStream()
Create a stream of currently activated planit mode typesMethods in org.goplanit.osm.converter.network with parameters of type PredefinedModeType Modifier and Type Method Description protected void
OsmWaySettings. addDefaultOsmMode2PlanitPredefinedModeTypeMapping(String osmMode, PredefinedModeType planitModeType)
add mapping from osm mode to PLANit mode (only predefined modes supported for now)protected TreeSet<String>
OsmWaySettings. getAcivatedOsmModes(PredefinedModeType planitModeType)
convenience method that collects the currently mapped OSM modes for the given PLANit modeTreeSet<String>
OsmNetworkReaderSettings. getMappedOsmModes(PredefinedModeType planitModeType)
Collect the mapped OSM modes based on the provided PLANit modeTreeSet<String>
OsmRailwaySettings. getMappedOsmRailModes(PredefinedModeType planitModeType)
convenience method that collects the currently mapped osm rail modes for the given planit modeTreeSet<String>
OsmHighwaySettings. getMappedOsmRoadModes(PredefinedModeType planitModeType)
convenience method that collects the currently mapped osm road modes for the given planit modeCollection<String>
OsmWaterwaySettings. getMappedOsmWaterModes(PredefinedModeType planitModeType)
Convenience method that collects the currently mapped OSM water modes for the given PLANit modeprotected void
OsmWaySettings. setOsmMode2PlanitModeTypeMapping(String osmMode, PredefinedModeType planitModeType)
Add/overwrite a mapping from OSM mode to PLANit mode type.Method parameters in org.goplanit.osm.converter.network with type arguments of type PredefinedModeType Modifier and Type Method Description Set<String>
OsmNetworkReaderSettings. getMappedOsmModes(Collection<PredefinedModeType> planitModeTypes)
Collect the mapped OSM modes based on the provided PLANit mode types (if any) -
Uses of PredefinedModeType in org.goplanit.osm.converter.zoning.handler.helper
Methods in org.goplanit.osm.converter.zoning.handler.helper that return types with arguments of type PredefinedModeType Modifier and Type Method Description Pair<Collection<String>,Collection<PredefinedModeType>>
OsmPublicTransportModeConversion. collectModesFromPtEntity(long osmPtEntityId, Map<String,String> tags, String defaultMode)
collect the eligible modes both OSM and mapped PLANit modes for the given OSM entity representing pt infrastructure.Pair<SortedSet<String>,SortedSet<PredefinedModeType>>
OsmPublicTransportModeConversion. collectPublicTransportModesFromPtEntity(long osmPtEntityId, de.topobyte.osm4j.core.model.iface.EntityType osmEntityType, Map<String,String> tags, String defaultMode)
collect the pt modes both OSM and mapped PLANit modes for a pt entity.Pair<SortedSet<String>,SortedSet<PredefinedModeType>>
OsmPublicTransportModeConversion. collectPublicTransportModesFromPtEntity(de.topobyte.osm4j.core.model.iface.OsmEntity osmEntity, Map<String,String> tags, String defaultMode)
Methods in org.goplanit.osm.converter.zoning.handler.helper with parameters of type PredefinedModeType Modifier and Type Method Description Collection<DirectedConnectoid>
OsmConnectoidHelper. createAndRegisterDirectedConnectoidsOnTopOfTransferZone(TransferZone transferZone, MacroscopicNetworkLayer networkLayer, PredefinedModeType planitModeType, PlanitJtsCrsUtils geoUtils)
Create directed connectoids for transfer zones that reside on OSM ways.boolean
OsmConnectoidHelper. extractDirectedConnectoidsForMode(de.topobyte.osm4j.core.model.iface.OsmNode osmNode, boolean locationIsKnownOsmStopPosition, TransferZone transferZone, PredefinedModeType planitModeType, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
boolean
OsmConnectoidHelper. extractDirectedConnectoidsForMode(org.locationtech.jts.geom.Point location, boolean locationIsKnownOsmStopPosition, TransferZone transferZone, PredefinedModeType planitModeType, boolean suppressLogging, PlanitJtsCrsUtils geoUtils)
create and/or update directed connectoids for the given mode and layer based on the passed in location where the connectoids access link segments are extracted for.void
OsmConnectoidHelper. extractDirectedConnectoidsForStandAloneTransferZoneByPlanitLink(long osmWaitingAreaId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, TransferZone transferZone, PredefinedModeType planitAccessModeType, double maxAllowedStopToTransferZoneDistanceMeters, MacroscopicNetworkLayer networkLayer, boolean suppressLogging)
create connectoids not based on OSM node location but based on auto-generated geographic location on the provided link's link segments by finding either a close enough existing coordinate (OSM node), or if not close enough a newly created coordinate at the appropriate position.org.locationtech.jts.geom.Point
OsmConnectoidHelper. findConnectoidLocationForStandAloneTransferZoneOnLink(TransferZone transferZone, MacroscopicLink accessLink, PredefinedModeType planitModeType, double maxAllowedDistanceMeters)
find a suitable connectoid location on the given link based on the constraints that it must be able to reside on a link segment that is in the correct relative position to the transfer zone and supports the access mode on at least one of the designated link segment(s) that is eligible (if any). -
Uses of PredefinedModeType in org.goplanit.osm.physical.network.macroscopic
Methods in org.goplanit.osm.physical.network.macroscopic that return types with arguments of type PredefinedModeType Modifier and Type Method Description protected Set<PredefinedModeType>
PlanitOsmNetwork. collectMappedPlanitModeTypes(String osmWayLikeKey, String osmWayLikeValue, OsmNetworkReaderSettings settings)
collect the PLANit (predefined) mode types that are mapped, i.e., are marked to be activated in the final network.Method parameters in org.goplanit.osm.physical.network.macroscopic with type arguments of type PredefinedModeType Modifier and Type Method Description protected Set<PredefinedMode>
PlanitOsmNetwork. getAvailableModesFromModeTypes(Collection<PredefinedModeType> predefinedModeTypes)
given predefined mode types, obtain the mode instances on the network that correspond to them -
Uses of PredefinedModeType in org.goplanit.osm.util
Method parameters in org.goplanit.osm.util with type arguments of type PredefinedModeType Modifier and Type Method Description static boolean
OsmModeUtils. hasEligibleOsmMode(Pair<? extends SortedSet<String>,SortedSet<PredefinedModeType>> modeResult)
Check to see if pair with eligible modes contains any eligible OSM modestatic boolean
OsmModeUtils. hasMappedPlanitMode(Pair<? extends SortedSet<String>,SortedSet<PredefinedModeType>> modeResult)
Check to see if pair with eligible modes contains any mapped PLANit mode -
Uses of PredefinedModeType in org.goplanit.utils.mode
Methods in org.goplanit.utils.mode that return PredefinedModeType Modifier and Type Method Description static PredefinedModeType
PredefinedModeType. create(String predefinedModeTypeValue)
convert string to enum.default PredefinedModeType
Mode. getPredefinedModeType()
collect the predefined mode typestatic PredefinedModeType
PredefinedModeType. valueOf(String name)
Returns the enum constant of this type with the specified name.static PredefinedModeType[]
PredefinedModeType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.goplanit.utils.mode that return types with arguments of type PredefinedModeType Modifier and Type Method Description static EnumSet<PredefinedModeType>
PredefinedModeType. getPredefinedModeTypes()
collect all predefined mode typesstatic EnumSet<PredefinedModeType>
PredefinedModeType. getPredefinedModeTypesWithout(PredefinedModeType... excludedModeTypes)
Collect all predefined mode typesMethods in org.goplanit.utils.mode with parameters of type PredefinedModeType Modifier and Type Method Description boolean
Modes. containsPredefinedMode(PredefinedModeType modeType)
verify if predefined mode is registeredPredefinedMode
ModeFactory. createPredefinedMode(IdGroupingToken groupId, PredefinedModeType modeType)
create a predefined mode instance without registering it on the container.PredefinedMode
Modes. get(PredefinedModeType modeType)
get predefined mode if it is registeredstatic EnumSet<PredefinedModeType>
PredefinedModeType. getPredefinedModeTypesWithout(PredefinedModeType... excludedModeTypes)
Collect all predefined mode typesPredefinedMode
ModeFactory. registerNew(PredefinedModeType modeType)
Create and register a new predefined mode. -
Uses of PredefinedModeType in org.goplanit.utils.network.layer
Methods in org.goplanit.utils.network.layer with parameters of type PredefinedModeType Modifier and Type Method Description default boolean
NetworkLayer. supports(PredefinedModeType modeType)
Determine if mode is supported by this layerboolean
NetworkLayer. supportsPredefinedMode(PredefinedModeType predefinedModeType)
Verify if a predefined mode is supported based on its type -
Uses of PredefinedModeType in org.goplanit.utils.network.layer.macroscopic
Methods in org.goplanit.utils.network.layer.macroscopic with parameters of type PredefinedModeType Modifier and Type Method Description boolean
MacroscopicLinkSegmentType. isModeTypeAllowed(PredefinedModeType modeType)
Verify if predefined mode type is available on type. -
Uses of PredefinedModeType in org.goplanit.utils.network.layers
Methods in org.goplanit.utils.network.layers with parameters of type PredefinedModeType Modifier and Type Method Description default T
NetworkLayers. get(PredefinedModeType predefinedModeType)
Find layer that supports the given predefined mode type (not custom mode type)
-