.highway_settings

OsmNetworkReaderSettings property
Description

The .highway_settings property allows access to the OsmHighwaySettings specific to configuring the parsing of all OSM ways tagged as highway= and is present on the OsmNetworkReaderSettings.

Return type

OsmHighwaySettings

Example 1

from planit import *

# create a network converter
planit_instance = Planit()
network_converter = planit_instance.converter_factory.create(ConverterType.NETWORK)

# example Open Street Map (OSM) network reader and access to its highway settings        
osm_reader = network_converter.create_reader(NetworkReaderType.OSM, "<country_name>")
osm_reader.settings.highway_settings.<some_method>

See also

OsmRailwaySettings the settings available
OsmHighwaySettings the settings available OsmWaterwaySettings the settings available

Source code

Class OsmNetworkReaderSettingsWrapper in converterwrappers.py