<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Didier,<br>
<br>
I had a quick check with QGIS 2.10 and QGIS master. While overriding
of stroke-color works fine, the overriding of the stroke-width
(param(outline-width)) is broken in both versions. As far as I can
tell your SVG symbol seems to be properly prepared.<br>
<br>
Can you please open a bug report for this and attach a simple demo
project and your SVG file?<br>
<br>
Thanks,<br>
Andreas<br>
<br>
<div class="moz-cite-prefix">On 18.09.2015 14:57, didier peeters
wrote:<br>
</div>
<blockquote
cite="mid:BB0FE723-7E91-474E-BAE1-842A7021634D@ulb.ac.be"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Hi Andreas, <br class="">
<font class="" color="#5856d6"><br class="">
</font>yes, I can define a border width ‘manually’ in the
styling of the layer, but I cannot override this with a value
from Postgis.<br class="">
I will send you a svg.<br class="">
<font class="" color="#5856d6"><br class="">
</font>Didier<br class="">
<font class="" color="#5856d6"><br class="">
<br class="">
<br class="">
</font>See also <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/">http://blog.sourcepole.ch/2011/06/30/svg-symbols-in-qgis-with-modifiable-colors/</a><br
class="">
<font class="" color="#5856d6"><br class="">
</font>
<blockquote type="cite" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class="">
<div class="">Le 18 sept. 2015 à 14:42, Andreas Neumann
<<a moz-do-not-send="true"
href="mailto:a.neumann@carto.net" class="">a.neumann@carto.net</a>>
a écrit :<br class="">
<font class="" color="#00afcd"><br class="">
</font>Hi Didier,<br class="">
<font class="" color="#00afcd"><br class="">
</font>Did you prepare your SVG file accordingly?<br
class="">
<font class="" color="#00afcd"><br class="">
</font>You need something like the following in your SVG
file wherever you want to dynamically replace
properties:<br class="">
<font class="" color="#00afcd"><br class="">
</font><rect fill="param(fill) #ff0000"
stroke="param(outline) #00ff00"
stroke-width="param(stroke-width) 10" width="100"
height="100"><br class="">
<font class="" color="#00afcd" face="monospace"><span style="white-space: pre;" class="">
</span></font>Can you share your SVG file so I can have a look if it is
properly prepared?<br class="">
<font class="" color="#00afcd"><br class="">
</font>Andreas<br class="">
<font class="" color="#00afcd"><br class="">
</font>On 18.09.2015 14:36, didier peeters wrote:<br
class="">
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br
class="">
<font class="" color="#00afcd"><br class="">
</font>_______________________________________________<br
class="">
Qgis-user mailing list<br class="">
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br
class="">
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
class="">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br
class="">
<blockquote type="cite" class="">
<div class="">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type" class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> I
can refine my description : <br class="">
the problem occurs on the border width only, the
border color works fine. <br class="">
<font class="" color="#12c00e" face="monospace"><span style="white-space: pre-wrap;" class="">
</span></font>
<blockquote
cite="mid:B76CC645-6A3B-4B94-B8C2-CBB991842E20@ulb.ac.be"
type="cite" class="">
<pre class="" wrap="">
Still, no one has ever met this problem ?
Didier
</pre>
Le 17 sept. 2015 à 22:37, didier peeters <a
moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:dpeeter1@ulb.ac.be"><a class="moz-txt-link-rfc2396E" href="mailto:dpeeter1@ulb.ac.be"><dpeeter1@ulb.ac.be></a></a>
a écrit :<br class="">
I have a problem with the border parameter of
SVG markers in QGis 2.10 (on Mac OS 10.10.5);
I’m using PostGIS layers and the SVG markers
properties are determined by the DB, i.e. the
svg itself, the color, the rotation, with data
define override. I also want to define the
border color and width the same way but it
doesn’t work, nothing happens. If I deactivate
the overriding everything is correct. <br
class="">
</blockquote>
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br
class="">
<blockquote
cite="mid:B76CC645-6A3B-4B94-B8C2-CBB991842E20@ulb.ac.be"
type="cite" class=""><font class=""
face="monospace"><br class="">
<br class="">
<br class="">
<span style="white-space: pre-wrap;" class="">
</span></font>_______________________________________________<br
class="">
</blockquote>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br
class="">
<blockquote
cite="mid:B76CC645-6A3B-4B94-B8C2-CBB991842E20@ulb.ac.be"
type="cite" class="">Hello,<br class="">
I haven’t found any bug report about this. Any
idea ?<br class="">
Qgis-user mailing list<br class="">
<blockquote type="cite" class="">
<pre class="" wrap="">For the color I use a varchar type (same as for the color of the svg itself) and for the width a numeric (also tried real, double precision, …) .
Didier
</pre>
</blockquote>
</blockquote>
_______________________________________________<br
class="">
Qgis-user mailing list<br class="">
<pre class="" wrap=""><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</body>
</html>