[QGIS-Developer] Processing 3.0: Possible change to the Convex Hull algorithm

Matthias Kuhn matthias at opengis.ch
Mon Jun 26 22:45:38 PDT 2017


On 6/27/17 7:19 AM, Paolo Cavallini wrote:

> Hi Nyall,
>
> Il 27/06/2017 01:41, Nyall Dawson ha scritto:
>
>>> This discussion relates to the "Convex Hull" algorithm. I'd like to:
>>>
>>> 1. Drop the "Field (optional, only used if creating convex hulls by
>>> classes)" option and the accompanying method choice used to set the
>>> convex hull to 'create convex hulls based on field'.
>
> I understand the rationale behind this; I'm just a bit worried it will
> be more complicated and less understandable for users.
> Perhaps adding another module that does both commands (collect + convex
> hull) in one shot would be useful?
> All the best.

Maybe there is the need to ship some often-used models by default then?
Thinking of code complexity and maintainability, it makes much sense to
modularize algorithm code as much as possible

https://en.wikipedia.org/wiki/Unix_philosophy#Do_One_Thing_and_Do_It_Well

Matthias


More information about the QGIS-Developer mailing list