I have a large shapefile with one layer with several variables. The shapefile has US block groups that I'll use for analysis. However, as I want to use this for leaflet, I would like to create different layers/files for each state.
State Value1 Value2 Value3 ...
NY x x x
CO x x x
NY x x x
Is there a way of grouping per state and generate a layer from that, that I can later save as a shapefile?
I know that I can do it one by one, by using the SQL query tool, but as I have 50 something states, plus different files, that would take me quite of a long time.
Vector > Data Management Tools) and selectStateas your unique field which would create separate layers for each state. – Joseph Mar 08 '19 at 11:46