We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6e366 commit a17dac0Copy full SHA for a17dac0
python/plugins/db_manager/db_plugins/spatialite/plugin.py
@@ -277,12 +277,8 @@ def rasterliteGdalUri(self):
277
return gdalUri
278
279
def mimeUri(self):
280
- if self.database().connector.isGpkg():
281
- # QGIS has no provider to load Geopackage rasters, let's use GDAL
282
- uri = u"raster:gdal:%s:%s" % (self.name, self.uri().database())
283
- else:
284
- # QGIS has no provider to load Rasterlite rasters, let's use GDAL
285
- uri = u"raster:gdal:%s:%s" % (self.name, self.rasterliteGdalUri())
+ # QGIS has no provider to load rasters, let's use GDAL
+ uri = u"raster:gdal:%s:%s" % (self.name, self.uri().database())
286
return uri
287
288
def toMapLayer(self):
0 commit comments