[QGIS-trac] [Quantum GIS] #1162: missing possibility to use QML Style for more than one layer

Quantum GIS qgis at qgis.org
Thu Jul 17 03:21:18 EDT 2008


#1162: missing possibility to use QML Style for more than one layer
------------------------------------------------+---------------------------
   Reporter:  bjpfei                            |              Owner:  nobody       
       Type:  enhancement                       |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.0.0
  Component:  Symbology                         |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 In the qml-File informations about datasource or layername are
 stored.[[BR]]

 {{{
 <datasource>dbname='bla' host=localhost port=123 user='test'
 table="zonenplan"."grundnutzung" (wkb_geometry) sql=</datasource>
     <layername>grundnutzung</layername>
 }}}
 Furthermore the classificationfield is stored as column-number and not
 with the fieldname.[[BR]]

 {{{
 <classificationfield>13</classificationfield>
 }}}

 Thus at the moment it's not possible to use a QML-Style for more than one
 layer. If you use it with another layer QGIS renders nothing or in some
 cases still crashes.
 However I think the sense of a QML-Style is using it for more than one
 layer because for use with one layer we have the standard style.
 So, are there any reasons for saving all these informations in the QML-
 Style?

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1162>
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