[Qgis-user] style files
    Alex M 
    tech_dev at wildintellect.com
       
    Thu Feb 18 13:25:29 PST 2016
    
    
  
On 02/18/2016 12:44 PM, Kyle T. Kouri wrote:
> Hello all,
> I have a spatial lite db file that has 15 tables in it.  I am trying to figure
> out a way to create style files for each table and then when ever I open this
> the styles are saved with it.  Right now I have to open one at a a time for
> each table in the spatial lite DB.  My goal is to have multiple .sl3 db files
> with the same tables (different data) for each of the national parks in the
> USA.  But when I send the data out people can just open up the .sl3 file in
> QGIS and see the style the way I want set it.  So they dont also have to load
> all the .qml or .sld files. 
> 
> Kyle Todd Kouri
> 
> 
This is the closest thing I know of
https://pvanb.wordpress.com/2014/05/15/saving-layer-styles-to-your-spatialite-database/
I was wondering what would happen if you had multiple styles for the
same layer, and I think the Save as Default style box is the key there.
Otherwise I would save QGIS projects, and send the project file with the
data, and tell users to open the projects.
You could potentially write a plugin that does the autoloading of
associated styles and tables too.
Enjoy,
Alex
    
    
More information about the Qgis-user
mailing list