hydromt_fiat.drivers.OSMDriver#

class hydromt_fiat.drivers.OSMDriver(*, filesystem: FSSpecFileSystem = <factory>, options: DriverOptions = <factory>)[source]#

Driver to read OSM data with the OSMnx API.

Attributes

SUPPORTED_EXTENSIONS

"Set of supported file extensions for this driver.

model_computed_fields

model_config

"Forbid extra fields in the driver configuration and allow arbitrary types.

model_extra

Get extra fields set during validation.

model_fields

model_fields_set

Returns the set of fields that have been explicitly set on this model instance.

name

supports_writing

"Whether the driver supports writing data.

Methods

get_osm_data(polygon, tag, geom_type)

Retrieve OSM data with the OSMnx api.

read(uris, mask, *[, tags, geom_type])

Read OSM data with the OSMnx API.

write(path, gdf, **kwargs)

Write OSMNx data to file.