<html><head></head><body>Nice workflow!<br><br><div class="gmail_quote">On 29 June 2016 02:31:27 GMT+12:00, Raymond Nijssen <r.nijssen@terglobo.nl> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Here is an example of a map with code generated svg images as symbols.<br />The quick and dirty script does:<br /><br />- aggregate all features from input point layer with same geometry<br />- calculate min/max times and values for whole set<br />- create svg files for every feature with filename based on id<br />- create a layer in qgis<br /><br />Manually i added the data defined filename based on the id:<br /><br />'/tmp/img_measure_' || "imgid" || '.svg'<br /><br />Et voila!<br /><br /><a href="http://terglobo.nl/downloads/voorbeeld_kaart_01.png">http://terglobo.nl/downloads/voorbeeld_kaart_01.png</a><br /><br />Thank you all for your suggestions!<br /><br />Raymond<br /><br /><br /><br />On 26-06-16 11:58, Raymond Nijssen wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> There is this library to make it easier:<br /> <br /> <a
href="https://pypi.python.org/pypi/svgwrite">https://pypi.python.org/pypi/svgwrite</a>/<br /> <br /> And since it is python, you can use the standard code editor in QGIS (or<br /> an external one if you prefer).<br /> <br /> Raymond<br /> <br /> On 25-06-16 21:33, Lauri Kajan wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> This would be great also for nautical charts to render light sectors<br /> from S57 data.<br /><br /> Could existing code editor be used to construct the svg with some python<br /> svg library?<br /><br /><br /> -Lauri<br /><br /><br /><hr /><br /> Qgis-developer mailing list<br /> Qgis-developer@lists.osgeo.org<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></blockquote><br /> <br /><hr /><br /> Qgis-developer mailing list<br /> Qgis-developer@lists.osgeo.org<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></pre></blockquote></div><br>
-- <br>
Marco Bernasocchi (mobile).<br>
<a href="http://OPENGIS.ch">OPENGIS.ch</a> - <a href="http://berna.io">berna.io</a> - <a href="http://27summits.ch">27summits.ch</a></body></html>