Interface OsmInfrastructureConfiguration

    • Method Detail

      • logDeactivatedTypes

        void logDeactivatedTypes()
      • isDeactivated

        boolean isDeactivated​(String osmValue)
        Verify if the passed in OSM way type is explicitly unsupported. Unsupported types will be ignored when processing ways.
        Parameters:
        osmValue - , e.g. primary, road
        Returns:
        true when unSupported, false if not (which means it is either supported, or not registered)
      • isActivated

        boolean isActivated​(String osmValue)
        Verify if the passed in OSM way type is explicitly supported. Supported types will be processed and converted into link(segments).
        Parameters:
        osmValue - , e.g. primary
        Returns:
        true when supported, false if not (which means it is unsupported, or not registered)
      • deactivate

        void deactivate​(String osmValue)
        Choose to not parse the given combination of way subtype, e.g. highway=road
        Parameters:
        osmValue - to use
      • activate

        void activate​(String... osmWayTypeValues)
        Choose to add a given way value to be on top of the defaults, e.g. highway=road
        Parameters:
        osmWayTypeValues - to activate
      • activate

        void activate​(List<String> osmWayTypeValues)
        Choose to add a given way value to be on top of the defaults, e.g. highway=road
        Parameters:
        osmWayTypeValues - to activate
      • getActivatedTypes

        Map<String,​Set<String>> getActivatedTypes()
        create a copy of the currently supported way types in set form
        Returns:
        set of supported types (by underlying key), any modifications on this set have no impact on the instance internals
      • getDeactivatedTypes

        Map<String,​Set<String>> getDeactivatedTypes()
        create a copy of the currently unsupported way types in set form
        Returns:
        deactivated way types (by underlying key), any modifications on this set have no impact on the instance internals
      • deactivateAll

        void deactivateAll()
        deactivate all types explicitly
      • activateAll

        void activateAll()
        activate all types explicitly