Re: [Qgis-developer] Symbology api

2014-10-07 Thread Leyan
On 10/03/2014 07:10 PM, Vincent Mora wrote: Hi all, While thinking about the interface of categorized and graduated symbology with varying size (instead of color) I had an idea to reduce the code complexity in src/core/symbology-ng (~15% less code). Since it changes the symbology API, I'd

Re: [Qgis-developer] Symbology api

2014-10-05 Thread Vincent Mora
Hi Martin, On 03/10/2014 21:10, Martin Dobias wrote: Hi Vincent On Fri, Oct 3, 2014 at 1:10 PM, Vincent Moravincent.m...@oslandia.com wrote: We can use expressions to make the single symbol layer behave: - graduated : properties are continuous functions of attributes, - categorized or rule

Re: [Qgis-developer] Symbology api

2014-10-03 Thread Chris Crook
Interesting idea. At the moment the graduated renderer colour is also a discrete function of attributes. Changing to a continuous function (or having a continuous function alternative) would mean changing the legend interface somewhat. I've been thinking about how to better implement the

Re: [Qgis-developer] Symbology api

2014-10-03 Thread Martin Dobias
Hi Vincent On Fri, Oct 3, 2014 at 1:10 PM, Vincent Mora vincent.m...@oslandia.com wrote: We can use expressions to make the single symbol layer behave: - graduated : properties are continuous functions of attributes, - categorized or rule based : properties are discrete function of attributes