I am constructing a GeoPackage from vector layers that have values for a number of years, each year is an attribute (1965, 1995, 2025, 2055, 2085). I have styled the layers and added the styles to the GeoPackage. In the layer_styles file, each of my files has many styles attributed to each layer (Figure 1).
When I load the GeoPackage, however, only the default style loads and other styles need to be loaded from the styles interface rather than being listed along with the default style as previously (Figure 2).
Is there a way to import the GeoPackage with all styles being active and selectable from the right-click menu or will I have to load them each time from the GeoPackage for each layer?
As a follow-up (if this is not possible), what is the purpose of the f_table_name attribute in layer_styles if not to facilitate loading?
Maybe this is a bug?
Things I have checked/tried:
- The styles are in fact in the GeoPackage
- The layer does have its name listed in f_table_name for multiple styles
- I checked for guides, but all of the ones I found only mention the default layer style, which is not ideal if I want to have many styles for the same layer. I figure there must be a reason that you are able to save multiple styles...
Alternatively, is there a better practice method for this?
I want to avoid having to save multiple instances of the same layer within the GeoPackage just for styling.