0

Does anyone know why the 'alias' not saved when I export a layer to a shp file? So, I made alias in the file when I exported. After I opened exported shp file and properties->attribute form/fields are empty.

enter image description here

Since the names of columns are long, having the alias is critical.

2

1 Answer 1

2

Shapefile can't store alias so you can define them in your project but when exporting they get lost.

One way to keep alias is to save a .qml (QGIS layer style file) along the shp. if the .qml and the other shp files are in the same folder and share the same name, the .qml will be automatically loaded and you will get the alias name set. (Of course as .qml is a QGIS specific format this only work with QGIS, if you share the shapefile with people using some other software the .qml won't work)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.