[GIS] QGIS 3: How to rename attribute/field names for Geopackage Layer

fields-attributesgeopackageqgis-3

Issue: I need to rename several attributes/fields in a geopackage layer. How to do this?

Linked Issue: there are numerous pages on how to rename the attributes/fields of a shapefile. However there do not seem to be any pages specifically addressing the modification of attributes to geopackage layers, except a few about using Python scripts. Perhaps what is assumed at the moment (Feb 2019) is that you must be able to do Python programming in order to modify fields in Geopackage layers?

Before tagging this as a duplicate, please make sure you are not presuming that I am trying to modify a shapefile. I am trying to modify a geopackage layer.

Best Answer

You can rename, drop, add, reorder Geopackage fields using QGis 3.x as follows: Processing > Toolbox > Vector table > Refactor fields. This will output a new Geopackage.

Related Question