I use QGIS 3.16. I need to find a way to separate the columns of a layer and export each column in a new layer named like the column.
For example: I have a file.csv that I import with the geometry wkt. After import in QGIS I have 6 columns: id
, A
, B
, C
, D
and E
.
Is it possible to find a way to export each column in a layer .shp:
- A.shp: with 2 columns:
id
,A
- B.shp:
id
,B
- C.shp:
id
,C
- D.shp:
id
,D
- E.shp:
id
,E
In this sample "id"= "MAILLE"
and the columns following are A
,B
,C
,D
and E
.
Do you know a way to achieve that in QGIS?