Hi We did discuss this a bit, but its problematic to do this in that part of the 'style' may be to set a more user friendly name. Also applying a default style from one layer to another could cause problems if they have different attributes etc. At the moment I dont have a good solution for these issues - though I can see why people might want to copy and paste a qml for multiple layer to speed up symbolisation in these cases....
Regards Tim 2008/2/7, Michael Hove <[EMAIL PROTECTED]>: > QGIS 0.9.2rc1, loading symbology style issue > > If a Symbology style is saved from one layer and then loaded into a new > layer, the layer is renamed with the name of the layer from which the > style > was generated. Should not the <id> and <layername> of the layer into > which > the style is being loaded be preserved, rather than replaced from the > loaded > style? > > From qml file before loading style: > <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> > <qgis version="0.9.2rc1-Ganymede" > > <maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" > geometry="Polygon" type="vector" > > <id>soils_Brown_AWC20080203131757664</id> > > <datasource>/Users/rcline/GIS/soils/brown/soil_sd013/spatial/ > soils_Brown_AWC > .shp</datasource> > <layername>soils_Brown_AWC</layername> > > > From qml file after loading styel from other layer: > <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'> > <qgis version="0.9.2rc1-Ganymede" > > <maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" > geometry="Polygon" type="vector" > > <id>soils_Dickey_AWC20080201151406028</id> > > <datasource>/Users/rcline/GIS/soils/brown/soil_sd013/spatial/ > soils_Brown_AWC > .shp</datasource> > <layername>soils_Dickey_AWC</layername> > <srs> > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user > -- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net _______________________________________________ Qgis-user mailing list [email protected] http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-user
