VirtualVectorGeoDatabase
Luo_Suppe2026-08-15
gma.gio.VirtualVectorGeoDatabase
[class] VirtualVectorGeoDatabase(gma_lys, **kwargs):Create a VRT GeoDatabase object!
Parameters:
gma_lys: str||GeoDatabase||Layer||list[str/GeoDatabase/Layer].
Layers, GeoDatabases or paths.
Optional:
**kwargs:
Other parameters passed to _algos.geo.vrt.VRTGeoDatabase.add_layer.
Inheritance
All properties and methods of VirtualVectorGeoDatabase are inherited from GeoDatabase - they are not repeated on this page. See the parent class documentation for details.
gma.gio.GeoDatabase →Example
from gma import gio
ly = gio.open_vector('Australia.shp')
vvgd = gio.VirtualVectorGeoDatabase([ly]) # combine Layers into a virtual GeoDatabase
print(type(vvgd).__name__, vvgd.layer_names)
print('features:', len(vvgd.get_layer(0)))
VirtualVectorGeoDatabase ['Australia']
features: 11