Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Matthias Kuhn
On 12/01/2016 12:23 PM, Paolo Cavallini wrote: > Il 01/12/2016 12:20, Nyall Dawson ha scritto: > >> I don't really understand what you mean by this - can you elaborate? > > I think some expression (in this case the one calculating Percentage > buffer) could be saved in a list, with a descriptive

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Paolo Cavallini
Il 01/12/2016 12:20, Nyall Dawson ha scritto: > I don't really understand what you mean by this - can you elaborate? I think some expression (in this case the one calculating Percentage buffer) could be saved in a list, with a descriptive name, so the user could use it straight away, without

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Nyall Dawson
On 1 Dec 2016 9:16 PM, "Paolo Cavallini" wrote: Il 01/12/2016 12:14, Nyall Dawson ha scritto: > I've been thinking about something similar to the data defined buttons > used by symbology. Ie default to a constant value input, but using a > custom widget you can choose to

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Paolo Cavallini
Il 01/12/2016 12:14, Nyall Dawson ha scritto: > I've been thinking about something similar to the data defined buttons > used by symbology. Ie default to a constant value input, but using a > custom widget you can choose to use a fields value or a custom expression. or also named preset

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Nyall Dawson
On 1 Dec 2016 8:47 PM, "Paolo Cavallini" wrote: Hi all, with the recent addition of expressions as parameters, I think variable buffer alg is a duplication of the fixed one, which should be renamed in a generic "Buffer": am I wrong? BTW: also Percentage buffer can be done

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Paolo Cavallini
Hi Matthias, Il 01/12/2016 11:59, Matthias Kuhn ha scritto: > That's where I expect the biggest impact as well. Do you have an idea > how to make this as easy as possible? A list of useful predefined > expressions? Yes, that was my idea. Possible named ones, so users can use them even when not

Re: [Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Matthias Kuhn
Hi Paolo Good thinking, deduplication is always a good move On 12/01/2016 11:47 AM, Paolo Cavallini wrote: > Probably for the average user having to enter expression for this could > be intimidating at first: what about having a set of predefined expressions? That's where I expect the biggest

[Qgis-developer] Processing: fixed, variable, and percentage buffer

2016-12-01 Thread Paolo Cavallini
Hi all, with the recent addition of expressions as parameters, I think variable buffer alg is a duplication of the fixed one, which should be renamed in a generic "Buffer": am I wrong? BTW: also Percentage buffer can be done with the same technique, so the plugin[0] will possibly be useless.