Package org.goplanit.osm.defaults
Class OsmHighwayTypeConfiguration
- java.lang.Object
-
- org.goplanit.osm.defaults.OsmInfrastructureConfigurationImpl
-
- org.goplanit.osm.defaults.OsmHighwayTypeConfiguration
-
- All Implemented Interfaces:
OsmInfrastructureConfiguration
public class OsmHighwayTypeConfiguration extends OsmInfrastructureConfigurationImpl
Configuration options regarding the activation/deactivation of specific OSM highway types in the parser- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static Set<String>
DEFAULT_ACTIVATED_OSM_HIGHWAY_TYPES
the OSM highway types that are marked as activated OSM types, i.e., will be processed when parsingstatic Set<String>
DEFAULT_DEACTIVATED_OSM_HIGHWAY_TYPES
the OSM highway types that are marked as deactivated OSM types, i.e., will be ignored when parsing-
Fields inherited from class org.goplanit.osm.defaults.OsmInfrastructureConfigurationImpl
activatedOsmTypes, deactivatedOsmTypes, osmKey
-
-
Constructor Summary
Constructors Constructor Description OsmHighwayTypeConfiguration()
default constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
initialiseDefaultActivatedOsmHighwayTypes()
Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM highway types to macroscopic link segment types that we explicitly do include, i.e., support.protected static void
initialiseDefaultDeactivatedOsmHighwayTypes()
Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM highway types to macroscopic link segment types that we explicitly do not include FOOTWAY BRIDLEWAY STEPS CORRIDOR CYCLEWAY PATH ELEVATOR PROPOSED CONSTRUCTION TURNING_CIRCLE RACE_WAY-
Methods inherited from class org.goplanit.osm.defaults.OsmInfrastructureConfigurationImpl
activate, activate, activateAll, deactivate, deactivateAll, deepClone, getActivatedTypes, getDeactivatedTypes, isActivated, isDeactivated, logDeactivatedTypes
-
-
-
-
Method Detail
-
initialiseDefaultActivatedOsmHighwayTypes
protected static void initialiseDefaultActivatedOsmHighwayTypes()
Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM highway types to macroscopic link segment types that we explicitly do include, i.e., support.- MOTORWAY
- MOTORWAY_LINK
- TRUNK
- TRUNK_LINK
- PRIMARY
- PRIMARY_LINK
- SECONDARY
- SECONDARY_LINK
- TERTIARY
- TERTIARY_LINK
- UNCLASSIFIED
- RESIDENTIAL
- LIVING_STREET
- SERVICE
- PEDESTRIAN
- TRACK
- ROAD
-
initialiseDefaultDeactivatedOsmHighwayTypes
protected static void initialiseDefaultDeactivatedOsmHighwayTypes()
Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM highway types to macroscopic link segment types that we explicitly do not include- FOOTWAY
- BRIDLEWAY
- STEPS
- CORRIDOR
- CYCLEWAY
- PATH
- ELEVATOR
- PROPOSED
- CONSTRUCTION
- TURNING_CIRCLE
- RACE_WAY
-
-