Bug report #17220

Metadata for a geopackage layer are not saved

Added by shenriod - about 2 years ago. Updated 8 months ago.

Status:Feedback
Priority:Normal
Assignee:-
Category:Metadata
Affected QGIS version:master Regression?:No
Operating System:Ubuntu 16.04 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:25119

Description

When I edit the metadata of a geopackage layer (right-click on the layer in the Layer panel - Properties / metadata), they are not saved in the Geopackage.

So if I right-click on the layer in the browser and choose "Properties", the metadata window that opens doesn't contain anything

History

#1 Updated by Giovanni Manghi about 2 years ago

that panel saves metadata in the project, not the datasource.

#2 Updated by Etienne Trimaille about 2 years ago

The metadata panel is still a work in progress.

There is still a lot to do about saving metadata. It's work package 3: metadata storage in the QEP: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/91

#3 Updated by Giovanni Manghi 8 months ago

  • Status changed from Open to Feedback

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

#4 Updated by Gerben Schmidt 8 months ago

Hi,

Just installed QGIS 3.6
The issue is still valid: metadata cannot be written to a layer in a geopackage

#5 Updated by Giovanni Manghi 8 months ago

aren't such metadata written at a project level (and not really in the datasource)?

#6 Updated by Alessandro Pasotti 8 months ago

Yes: they are stored in the project XML, unless of course you store the project inside a geopackage, in that case the project XML itself is stored inside the geopckage.

#7 Updated by Giovanni Manghi 8 months ago

Alessandro Pasotti wrote:

Yes: they are stored in the project XML, unless of course you store the project inside a geopackage, in that case the project XML itself is stored inside the geopckage.

so I guess this ticket is possibly invalid(?).

Also available in: Atom PDF