.settings
OsmNetworkReader property
Description
The .settings
property allows access to the settings of the OsmNetworkReader
. Under this umbrella settings instance
various other categorised settings instances are available, among which:
- highway settings (for road)
- railways settings (for rail, tram, etc.)
- waterway settings (for water based modes)
Return type
OsmNetworkReaderSettings
implementation
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 settings
osm_reader = network_converter.create_reader(NetworkReaderType.OSM, "<country_name>")
osm_reader.settings.<some method>
See also
OsmNetworkReaderSettings
the settings available
Source code
Class OsmNetworkReaderWrapper
in converterwrappers.py