VectorDriver
gma.driver.VectorDriver
[class] VectorDriver(name = "ESRI Shapefile"):Create a vector driver object.
**Optional:
name = str. Default 'ESRI Shapefile'.
A vector driver.
Method
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
[property] .category
Driver category. --> str
creatable
[property] .creatable
Whether the target drive supports creation. --> bool
creation_ftypes
[property] .creation_ftypes
Supported field storage types. --> list
creation_options
[property] .creation_options
Creation options. --> dict
creation_options_info
[property] .creation_options_info
creation options. --> list
dimension
[property] .dimension
Get the dimension vector driver. --> str
extension
[property] .extension
Driver extension. --> str
extensions
[property] .extensions
Driver extensions. --> list
is_raster
[property] .is_raster
Is a raster driver. --> bool
is_vector
[property] .is_vector
Is a vector driver. --> bool
long_name
[property] .long_name
Driver long name. --> str
multi_layers
[property] .multi_layers
Whether the vector driver supports multi layers. --> bool
name
[property] .name
Driver name. --> str
open_options
[property] .open_options
Open options. --> dict
open_options_info
[property] .open_options_info
open options. --> list
sql_dialects
[property] .sql_dialects
The vector driver support's sql dialects. --> list
transformable
[property] .transformable
Whether the vector driver supports transformable. --> bool
updatable
[property] .updatable
Whether the target driver can be modified/updated. --> bool
virtualio
[property] .virtualio
Whether the raster driver supports virtual dataset. --> bool