Class OsmRailwayTypeConfiguration

    • Field Detail

      • DEFAULT_ACTIVATED_OSM_RAILWAY_TYPES

        protected static final Set<String> DEFAULT_ACTIVATED_OSM_RAILWAY_TYPES
        the OSM railway types that are marked as activated OSM types, i.e., will be processed when parsing
      • DEFAULT_DEACTIVATED_OSM_RAILWAY_TYPES

        protected static final Set<String> DEFAULT_DEACTIVATED_OSM_RAILWAY_TYPES
        the OSM railway types that are marked as deactivated OSM types, i.e., will be ignored when parsing
    • Constructor Detail

      • OsmRailwayTypeConfiguration

        public OsmRailwayTypeConfiguration()
        Default constructor
    • Method Detail

      • initialiseDefaultActivatedOsmRailwayTypes

        protected static void initialiseDefaultActivatedOsmRailwayTypes()
                                                                 throws PlanItException
        Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM railway types to macroscopic link segment types that we explicitly do include, i.e., support.
        • LIGHT_RAIL
        • RAIL
        • SUBWAY
        • TRAM
        Throws:
        PlanItException - thrown when error
      • initialiseDefaultDeactivatedOsmRailwayTypes

        protected static void initialiseDefaultDeactivatedOsmRailwayTypes()
                                                                   throws PlanItException
        Since we are building a macroscopic network based on OSM, we provide a mapping from the common OSM railway types to macroscopic link segment types that we explicitly do not activate either because they are not used in general assignment (miniature) or because we cannot properly convert them (turn tables, razed), or because they do not represent a railway as such (platform as a way)
        • FUNICULAR
        • MONO_RAIL
        • NARROW_GAUGE
        • ABANDONED
        • CONSTRUCTION
        • DISUSED
        • MINIATURE
        • RAZED
        • TURNTABLE
        • PROPOSED
        Throws:
        PlanItException - thrown when error