[QGIS-trac] [Quantum GIS] #3370: Support style self-load for spatialite/postgis

Quantum GIS qgis at qgis.org
Fri Dec 24 11:44:50 EST 2010


#3370: Support style self-load for spatialite/postgis
--------------------------------+-------------------------------------------
   Reporter:  aperi2007         |              Owner:  nobody       
       Type:  enhancement       |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  MapCanvas         |            Version:               
   Keywords:                    |   Platform_version:               
   Platform:  Windows           |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 When add a shapefile to the canvas, if there is a style (qml) with the
 same name of shapefile it is load automatically.

 It would be very useful to hav a similar action for a table-layer.

 It could be use the same paradigm used for the shapefiles:

 Infact as for a shapefile the style to be self-load must be available in
 the same folder and with the same name of the shapefile but with qml
 extension,
 for a table/view (spatialite/postgis) layer the style , to be self-load,
 could be available in a table with "_qml" postfix.
 For example for the table
 "rivers" the style could be retrieve automatically if exist a table with
 name "rivers_qml", in the same database and same schema.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3370>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list