[QGIS-Developer] QgsProcessing vector types combobox

Nyall Dawson nyall.dawson at gmail.com
Wed Oct 10 15:55:43 PDT 2018

On Wed, 10 Oct 2018 at 22:26, Carlo A. Bertelli (Charta s.r.l.)
<carlo.bertelli at gmail.com> wrote:
> May I support this request by Matteo?
> When processing geometries, undesired multi-geometries are a frequent outcome. It may even be useful to show the users that that the procedure has a multi-geometry output. This usually means there are uplanned outcomes and that the algorithm is not properly configured and/or is a wrong solution for your problem.

Why not just make your algorithms handle multi geometries? They are
very common, e.g. all polygon/line shapefiles in 3.0 are
multipolygon/multiline types. If you don't handle multi geometries
correctly, your algorithm won't work with these.

> Anyway, being able to precede a process with a multi-to-single algorithm would be really convenient.

If your algorithm needs this to operate correctly, then it should be
done automatically within your algorithm itself.


More information about the QGIS-Developer mailing list