[Qgis-user] autostyles for PostGIS

Pierre Chevalier Géologue pierrechevaliergeol at free.fr
Sun Sep 19 01:47:51 PDT 2010


George Silva claviota:
> .. 
> My suggestions is:
> Build a style file. For postgis, store that file in the database in a 
> qgis specific table.
I agree.

Another solution would be to build a specific table in the 
postgis-enabled database, containing two fields: one for the table, and 
one for the style. The second field would contain the whole style file, 
which is an xml.
Something like:
CREATE TABLE qgis_styles (tablename varchar, qgisstyle varchar);

And then, qgis could populate this table, on demand, with the relevant data.


> 2 cents 
Just 1 cent

A+
Pierre

-- 
____________________________________________________________________________
Pierre Chevalier Géologue EI
    Mesté Duran
    32100 Condom
  Tél+fax  :    09 75 27 45 62
                05 62 28 06 83
		06 37 80 33 64
  Émail  :   pierrechevaliergeolCHEZfree.fr
  icq#   :   10432285
  skype  :   pierre.chevalier1967
  http://pierremariechevalier.free.fr/pierre_chevalier_geologue
____________________________________________________________________________






More information about the Qgis-user mailing list