[Qgis-developer] custom charts?

Raymond Nijssen r.nijssen at terglobo.nl
Thu Jun 23 10:23:43 PDT 2016


Thanks Hugo, I will try to get this to work.

On 23-06-16 09:02, Hugo Mercier wrote:
> On 22/06/2016 19:06, Richard Duivenvoorde wrote:
>> On 22-06-16 14:39, Hugo Mercier wrote:
>>> Hi Raymond,
>>>> - Add a text field to my feature layer containig svg, and somehow make
>>>> qgis display that on my map;
>>>
>>> This should work, no ?
>>
>> Are you sure? This would mean that the value(!) of an attribute would
>> contain the actual svg (code, not filename).
>> Any example on how to use that with styling then?
> 
> Hmmm exact, I don't think you can include the content (I tried to
> include a data url but it does not work).
> 
>>
>>>> - Add a text field to my feature layer containig a path to a png (or
>>>> svg), and somehow make qgis display that on my map.
>>>
>>> An SVG marker with the file name defined as an expression ?
>>
>> Same here, while we managed to get for example colors dynamic, we could
>> not find a way (yet) to set the marker-svg once filename is retrieved
>> from an attribute...
>>
>> Happy to get an example or pointers :-)
> 
> with an SVG-marker the filename can be "data-defined", so you can for
> instance use an expression like '/xxx/mymarker_' || id || '.svg'
> 
> 
> _______________________________________________
> 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
> 




More information about the Qgis-developer mailing list