<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I have cross-posted to ux and
developer, because this conversation seems to be running on both
lists.Perhaps someone shopuld pull it from one of the lists?<br>
Your call, but see my bottom-posted thoughts:<br>
<br>
On 2014/03/02 16:25, Anita Graser wrote:<br>
</div>
<blockquote cite="mid:op.xb3mb51jna7rjy@anita-pc" type="cite">
<br>
<br>
------- Weitergeleitete Nachricht -------
<br>
Von: "Nathan Woodrow" <a class="moz-txt-link-rfc2396E" href="mailto:madmanwoo@gmail.com"><madmanwoo@gmail.com></a>
<br>
An: "Andreas Neumann" <a class="moz-txt-link-rfc2396E" href="mailto:a.neumann@carto.net"><a.neumann@carto.net></a>
<br>
Kopie: <a class="moz-txt-link-rfc2396E" href="mailto:qgis-developer@lists.osgeo.org">"qgis-developer@lists.osgeo.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:qgis-developer@lists.osgeo.org"><qgis-developer@lists.osgeo.org></a>
<br>
Betreff: Re: [Qgis-developer] Renaming Save Style -> Save
Properties (Vector layer dialog)
<br>
Datum: Sun, 02 Mar 2014 12:58:39 +0100
<br>
<br>
Andreas,
<br>
<br>
Something like this is what I was thinking. (With a better UI of
course)
<br>
<br>
<a class="moz-txt-link-freetext" href="http://i.imgur.com/2XbNqlp.png">http://i.imgur.com/2XbNqlp.png</a>
<br>
<br>
<br>
<br>
- Nathan
<br>
<br>
<br>
On Sun, Mar 2, 2014 at 9:45 PM, Nathan Woodrow
<a class="moz-txt-link-rfc2396E" href="mailto:madmanwoo@gmail.com"><madmanwoo@gmail.com></a> wrote:
<br>
<br>
<br>
<blockquote type="cite">Hey Andreas,
<br>
<br>
<blockquote type="cite">
<br>
</blockquote>
<br>
I'm not 100% yet. I'm not sure what it is but I really hate
the Load Style../Save Style buttons at the bottom of the
dialog. I was thinking a >new page in the properties dialog
would be better with the title Import/Export. For me this would
mean not having a open another dialog, >which I really don't
like the idea of, and we have more room to play with.
<br>
<br>
<br>
<br>
<br>
<blockquote type="cite">One of my goals is to be able to export
just the style part in order to expand the Style Manager to
handle prebuilt styles. I was planning on >adding some
Save and Load buttons on the style tab that would just load
the style information from the .qml file.
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
Please consider this methodolgy:<br>
Currently, when QGIS loads a map layer, certain default things
happen: Styles get assigned, etc etc.<br>
As a maplayer is loaded (or perhaps only when the user changes
something (like style)), QGIS should dump a [maplayername].qgis
file, text format, perhaps keyword-value layout, into the directory
that the map is stored. This file will then contain all the internal
QGIS defaults, and of course updates to the current (style ) status,
as the user changes them.<br>
The benefits of using this implementation scheme could be vast:<br>
<ul>
<li>For deployment purposes, users could create/edit this file
outside of QGIS</li>
<li>QGIS Dev could implement a methodology whereby user scripts
could read and write to this maplayer specific file - for
example: map production information whilst capture staff are
creating features.</li>
<li>This file could even be designed to live at the project level,
and at the user level - this way departmental level defaults
could be set (deployed), and for those users who need it, these
could be over-ridden by having that filename als local to the
user, but with user specific values.<br>
</li>
<li>Should any of these filenames only have some of the default
keyword-values, QGIS could look for the other defaults at higher
filename level (ie project level if user-level does not exist),
or as currently, at the internally stored default actions.</li>
</ul>
<p><br>
The above implementation strategy would not need a special
"export" menu as the information would then always be stored in a
user useable file.<br>
If this file becomes corrupt or nonsensical, QGIS actions could
revert to the default internal actions.<br>
</p>
<p>As time goes by, I reckon QGIS developers would find many more
uses for this map-layer specific file mechanism, should it be
available.<br>
</p>
<p>Hope I'm making sense.<br>
</p>
<p>Kind regards,<br>
Zoltan<br>
</p>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Service
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>