TransWikia.com

QGIS: Splitting layer into individual shapefiles with the attribute as the shapefile name

Geographic Information Systems Asked by dmcn on March 15, 2021

In QGIS 3.14 I have created a layer containing multiple polygons from x/y coordinate data, but I now need to split those ploygons into individual layers/shapefiles by their different attributes – However, I need these new layers/ shapefiles to be named after the different attributes that they are split, but I only seem to be able to get layers numbered arbitarily 1 to x

Eg:
Attrbiute Field 4 has different feature numbers – eg. F021, F032, F063, which represent the individual polygons that I need seperated into different layers.
When I split by attribute to create the shapefiles I get field_4_1, field_4_2 etc. (where the _1 and _2 are arbitary numbers and not realated to the feature), instead of field_4_F021, field_4_F032 – or ideally just F021, F032 etc.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP