[GIS] How to copy columns from layer 1 to layer 2

fields-attributeslayersqgis

I have two layers, the first layer is pipe: that has some fields (column) title like : length, id, material. Also I have another layer that is empty (without any fields). How can I copy fields (column) title from layer 1 to layer 2?

I am new to QGIS.

Best Answer

If you join two layers, the resulting layer will contain the columns of both input layers. Just join and then use "Save as ..." to save the result to a new file.

Related Question