geofileops.get_driver#

geofileops.get_driver(path: str | os.PathLike[Any]) str#

Get the gdal driver name for the file specified.

Parameters:

path (PathLike) – The file path. GDAL vsi paths are also supported.

Returns:

The OGR driver name.

Return type:

str