Driver
Wrap a GDAL/OGR Data Source Driver. For more information, see the C API documentation: https://gdal.org/api/vector_c_api.html https://gdal.org/api/raster_c_api.html
Constructor
Signature
def Driver(
dr_input: str | int | c_void_p
)
Parameters
| Name | Type | Description |
|---|---|---|
| dr_input | `str | int |
Methods
ensure_registered()
@classmethod
def ensure_registered() - > null
Attempt to register all the data source drivers.
Returns
| Type | Description |
|---|---|
null |
driver_count()
@classmethod
def driver_count() - > integer
Return the number of GDAL/OGR data source drivers registered.
Returns
| Type | Description |
|---|---|
integer | The total count of currently registered GDAL/OGR data source drivers. |
name()
@classmethod
def name() - > string
Return description/name string for this driver.
Returns
| Type | Description |
|---|---|
string | The internal GDAL/OGR description or name string identifying the driver. |