I have shapefiles with a pre-determined format, but different data. Is there a way in QGIS to set the style automatically based on pre-determined fields, before any files are open?

I'm thinking something along the lines of a stylesheet which references the fields, possibly based on the file name.


Based on this post How to copy paste layers from one QGIS project to another?

You could try following these steps.


There is a plugin named Layers menu from project that lets you import layers from other project files including the styling.


right click the layer and select save as...layer definition file and save... then from another project, click the layer menu and select add from layer definition file

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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