Open tudorbarascu opened 5 years ago
the ways to add vectors and rasters from geopackage are not similar at all:
QgsRasterLayer("GPKG:/python_cookbook/data/data.gpkg:srtm", "name", "gdal")
QgsVectorLayer("/python_cookbook/data/data.gpkg|layername=places", "name", "ogr")
the ways to add vectors and rasters from geopackage are not similar at all:
QgsRasterLayer("GPKG:/python_cookbook/data/data.gpkg:srtm", "name", "gdal")
QgsVectorLayer("/python_cookbook/data/data.gpkg|layername=places", "name", "ogr")