<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>

<body>
<div class="Normal"><span style='font-size: 10pt; '>Hi Mats,</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>the problem you describe is
already known.</span><br><span style='font-size: 10pt; '>Have a look at Bug
#1162
http://trac.osgeo.org/qgis/ticket/1162</span><br><span style='font-size: 10pt; '>I
think this should be the same problem as
yours.</span><br><span style='font-size: 10pt; '>The Bug will be fixed with
Version 1.0.0</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Greets</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Michael</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>-----Ursprüngliche
Nachricht-----</span><br><span style='font-size: 10pt; '>Von: Mats Elfström
[mailto:mats.elfstrom@gmail.com]</span><br><span style='font-size: 10pt; '>Gesendet
am: Donnerstag, 28. August 2008
15:38</span><br><span style='font-size: 10pt; '>An:
qgis-user@lists.osgeo.org</span><br><span style='font-size: 10pt; '>Betreff:
[Qgis-user] Style file problem, no. It's a showstopper.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>(also posted to the
Forum)</span><br><span style='font-size: 10pt; '>Hi!</span><br><span style='font-size: 10pt; '>I
would like to discuss the implementation of style files (qml
format).</span><br><span style='font-size: 10pt; '>Based on experience from
MapInfo, ArcGIS and so on, I expected
this</span><br><span style='font-size: 10pt; '>feature to store the current
cartography, line styles,
labeling</span><br><span style='font-size: 10pt; '>settings and so on. I would
then expect to be able to apply this
style</span><br><span style='font-size: 10pt; '>to equivalent layers. Then I
could give the same appearance to
many</span><br><span style='font-size: 10pt; '>loaded individual shape files for
instance.</span><br><span style='font-size: 10pt; '>:cry: It turns out it does
not work this way, because the
style.qml</span><br><span style='font-size: 10pt; '>file also stores the path to
the data source and the layer name
from</span><br><span style='font-size: 10pt; '>the legend and applies it to the
other layer. This behavior is
totally</span><br><span style='font-size: 10pt; '>unexpected and renders the
style file feature useless.</span><br><span style='font-size: 10pt; '>Or am I
missing the point?</span><br><span style='font-size: 10pt; '>I have tried too
manually edit out the source and layer name tags
from</span><br><span style='font-size: 10pt; '>the qml file but QGis then
complains about their absence.</span><br><span style='font-size: 10pt; '>Please
this is effectively stopping a QGis application which
already</span><br><span style='font-size: 10pt; '>has a narrow time
frame.</span><br><span style='font-size: 10pt; '>It gets worse, because that the
drawing style settings are NOT
loaded,</span><br><span style='font-size: 10pt; '>only the layer name and search
path.</span><br><span style='font-size: 10pt; '>And loading a style file
sometimes also breaks the project qgs
file,</span><br><span style='font-size: 10pt; '>leaving a 0 kb file and destroys
the whole setup.</span><br><span style='font-size: 10pt; '>I tried the default
style option as well, seeing that this produces
a</span><br><span style='font-size: 10pt; '>layer named file. Then I thought of
copying that as I would a lyr file</span><br><span style='font-size: 10pt; '>for
each layer. No Go.</span><br><span style='font-size: 10pt; '>The style file
stores the source path once again, and my idea
would</span><br><span style='font-size: 10pt; '>require manual editing of each
style file - once more a non
working</span><br><span style='font-size: 10pt; '>workaround.</span><br><span style='font-size: 10pt; '>Please
somebody explain the logic behind the qml style
files.</span><br><span style='font-size: 10pt; '>I'm afraid it's quite
incomprehensible to me.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Cheers,
Mats.E</span><br><span style='font-size: 10pt; '>_______________________________________________</span><br><span style='font-size: 10pt; '>Qgis-user
mailing
list</span><br><span style='font-size: 10pt; '>Qgis-user@lists.osgeo.org</span><br><span style='font-size: 10pt; '>http://lists.osgeo.org/mailman/listinfo/qgis-user</span></div>



</body>

</html>