Bug report #17967

Browser: deleting raster in GeoPackage doesn't work

Added by Jérôme Guélat almost 7 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Browser
Affected QGIS version:3.0.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25863

Description

Using the browser, it is impossible to delete a raster inside a GeoPackage.

1. Get a GeoPackage with raster data (http://www.geopackage.org/data/gdal_sample_v1.2_spatial_index_extension.gpkg) or create your own.
2. Right-click on the raster layer (which is also badly named in the GDAL sample dataset) and choose delete layer.
3. You get the following error message: Layer URI is malformed.


Related issues

Related to QGIS Application - Bug report #19893: It's not possible to delete raster layers in geopackages ... Closed 2018-09-19

Associated revisions

Revision e62c4eb9
Added by Alessandro Pasotti about 6 years ago

Fix cannot deletete GPKG from raster on windows

Fixes #17967 #19893

History

#1 Updated by Jérôme Guélat over 6 years ago

The raster dataset is now correctly named in the browser. Unfortunately it's still impossible to delete it.

#2 Updated by Giovanni Manghi over 6 years ago

  • Affected QGIS version changed from master to 3.0.0
  • Operating System deleted (Windows 7)

Confirmed on QGIS 3.

#3 Updated by Alessandro Pasotti about 6 years ago

  • Assignee set to Alessandro Pasotti

#4 Updated by Jürgen Fischer about 6 years ago

  • Related to Bug report #19893: It's not possible to delete raster layers in geopackages on Windows added

#5 Updated by Alessandro Pasotti about 6 years ago

  • Status changed from Open to In Progress
  • Pull Request or Patch supplied changed from No to Yes

#6 Updated by Anonymous about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#7 Updated by Alessandro Pasotti about 6 years ago

  • Resolution set to fixed/implemented

#8 Updated by Jérôme Guélat about 6 years ago

Thank you!

Also available in: Atom PDF