[Qgis-developer] custom charts?

Marco Bernasocchi marco at opengis.ch
Tue Jun 28 13:16:44 PDT 2016


Nice workflow!

On 29 June 2016 02:31:27 GMT+12:00, Raymond Nijssen <r.nijssen at terglobo.nl> wrote:
>Here is an example of a map with code generated svg images as symbols.
>The quick and dirty script does:
>
>- aggregate all features from input point layer with same geometry
>- calculate min/max times and values for whole set
>- create svg files for every feature with filename based on id
>- create a layer in qgis
>
>Manually i added the data defined filename based on the id:
>
>'/tmp/img_measure_' || "imgid" || '.svg'
>
>Et voila!
>
>http://terglobo.nl/downloads/voorbeeld_kaart_01.png
>
>Thank you all for your suggestions!
>
>Raymond
>
>
>
>On 26-06-16 11:58, Raymond Nijssen wrote:
>> There is this library to make it easier:
>> 
>> https://pypi.python.org/pypi/svgwrite/
>> 
>> And since it is python, you can use the standard code editor in QGIS
>(or
>> an external one if you prefer).
>> 
>> Raymond
>> 
>> On 25-06-16 21:33, Lauri Kajan wrote:
>>> This would be great also for nautical charts to render light sectors
>>> from S57 data.
>>>
>>> Could existing code editor be used to construct the svg with some
>python
>>> svg library?
>>>
>>>
>>> -Lauri
>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>> 
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> 
>
>-- 
>Terglobo
>Fahrenheitstraat 1
>5223 BJ 's-Hertogenbosch
>06 25 31 49 83
>_______________________________________________
>Qgis-developer mailing list
>Qgis-developer at lists.osgeo.org
>List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Marco Bernasocchi (mobile).
OPENGIS.ch - berna.io - 27summits.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160629/81b9f710/attachment-0001.html>


More information about the Qgis-developer mailing list