<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Pretty cool - so we can deliver script-generated SVG code instead of a filename? Nice!</p>
<p>Care to do a blog post with some example? This sounds quite exciting to me.</p>
<p>Andreas</p>
<p>On 2016-06-24 14:12, Raymond Nijssen wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hi Hugo,<br /><br /> It works! Thanks a lot!!<br /><br /> This is exactly what i was looking for, but somehow could not find.<br /><br /> Here is a little example with some fake svg's:<br /><br /><a href="http://terglobo.nl/downloads/example.png">http://terglobo.nl/downloads/example.png</a><br /><br /> Now I will script generating svg based on real data.<br /><br /> Regards,<br /> Raymond<br /><br /><br /> On 23-06-16 09:02, Hugo Mercier wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On 22/06/2016 19:06, Richard Duivenvoorde wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On 22-06-16 14:39, Hugo Mercier wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi Raymond,
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- Add a text field to my feature layer containig svg, and somehow make<br /> qgis display that on my map;</blockquote>
<br /> This should work, no ?</blockquote>
<br /> Are you sure? This would mean that the value(!) of an attribute would<br /> contain the actual svg (code, not filename).<br /> Any example on how to use that with styling then?</blockquote>
<br /> Hmmm exact, I don't think you can include the content (I tried to<br /> include a data url but it does not work).<br /><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">- Add a text field to my feature layer containig a path to a png (or<br /> svg), and somehow make qgis display that on my map.</blockquote>
<br /> An SVG marker with the file name defined as an expression ?</blockquote>
<br /> Same here, while we managed to get for example colors dynamic, we could<br /> not find a way (yet) to set the marker-svg once filename is retrieved<br /> from an attribute...<br /><br /> Happy to get an example or pointers :-)</blockquote>
<br /> with an SVG-marker the filename can be "data-defined", so you can for<br /> instance use an expression like '/xxx/mymarker_' || id || '.svg'<br /><br /><br /> _______________________________________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /><br /></blockquote>
<br /> _______________________________________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>