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_fieldsmodel_config"Forbid extra fields in the driver configuration and allow arbitrary types.
model_extraGet extra fields set during validation.
model_fieldsmodel_fields_setReturns the set of fields that have been explicitly set on this model instance.
namesupports_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.