VectorDriver
gma.driver.VectorDriver
class VectorDriver(name = "ESRI Shapefile"):
Vector driver object. Create a vector driver object.
Optional:
name = str. Default 'ESRI Shapefile'.
A vector driver.
Methods
create
[method] .create(out_dst):
Create a new GeoDatabase with this driver.
Parameters:
out_dst: str.
Path of the geo database to create. None for memory.
Returns:
GeoDatabase.
open
[method] .open(in_src, sibling_files = []):
Open a raster file of this driver as a Dataset.
Parameters:
in_src: str.
name of the file to open
Optional:
sibling_files: list||default=None.
A list of filenames that are auxiliary to the main filename.
Returns:
Dataset.
set_creation_options
[method] .set_creation_options(**kwargs):
Set create options! For more, see ~.creation_options_info!
set_open_options
[method] .set_open_options(**kwargs):
Set open options! For more, see ~.open_options_info!
Property
category
Driver category. --> str
creatable
Whether the target drive supports creation. --> bool
creation_ftypes
Supported field storage types. --> list
creation_options
Creation options. --> dict
creation_options_info
creation options. --> list
dimension
Get the dimension vector driver. --> str
extension
Driver extension. --> str
extensions
Driver extensions. --> list
is_raster
Is a raster driver. --> bool
is_vector
Is a vector driver. --> bool
long_name
Driver long name. --> str
multi_layers
Whether the vector driver supports multi layers. --> bool
name
Driver name. --> str
open_options
Open options. --> dict
open_options_info
open options. --> list
sql_dialects
The vector driver support's sql dialects. --> list
transformable
Whether the vector driver supports transformable. --> bool
updatable
Whether the target driver can be modified/updated. --> bool
virtualio
Whether the raster driver supports virtual dataset. --> bool