;qgis-developer"
Inviato: Martedì, 13 giugno 2017 5:24:38
Oggetto: Re: [QGIS-Developer] multipartToSingleParts via code
Hi Stefano.
Correct me if I'm wrong but my understanding is that you want to be able to
call "multiparttosingleparts" in his code the same way you call dis
gt; Thank you very much.
>
> Stefano
>
>
> --
> *Da: *"Nyall Dawson"
> *A: *"Stefano Masera"
> *Cc: *"qgis-developer"
> *Inviato: *Martedì, 13 giugno 2017 10:20:31
> *Oggetto: *Re: [QGIS-Developer] multipartToSin
;Nyall Dawson"
A: "Stefano Masera"
Cc: "qgis-developer"
Inviato: Martedì, 13 giugno 2017 10:20:31
Oggetto: Re: [QGIS-Developer] multipartToSingleParts via code
On 13 June 2017 at 17:49, Stefano Masera
wrote:
> Hi Nyali,
> in a few words I want to do a mu
On 13 June 2017 at 17:49, Stefano Masera
wrote:
> Hi Nyali,
> in a few words I want to do a multipartToSingleParts (for a VectorLayer) via
> code without using the processing module.
Any particular reason why?
In any case, I'd suggest copying the code used by processing:
https://github.com/qgis/
-
Da: "Nyall Dawson"
A: "Stefano Masera"
Cc: "qgis-developer"
Inviato: Lunedì, 12 giugno 2017 23:33:07
Oggetto: Re: [QGIS-Developer] multipartToSingleParts via code
On 13 June 2017 at 01:01, Stefano Masera
wrote:
> Hi list,
> I want to use th
Hi Stefano.
Correct me if I'm wrong but my understanding is that you want to be able to
call "multiparttosingleparts" in his code the same way you call dissolve.
Something like:
from qgis.xxx import *
xxx = YYY
xxx.multiparttosingleparts(input, output)
Have you tried looking at the API?
I have
On 13 June 2017 at 01:01, Stefano Masera
wrote:
> Hi list,
> I want to use the 'multiPartToSinglePart' script via code for my plugin.
> I can use it importing processing like this:
>
> import processing
> processing.runalg("qgis:multiparttosingleparts", input, output)
>
> but I wan't to use it in
Hi list,
I want to use the 'multiPartToSinglePart' script via code for my plugin.
I can use it importing processing like this:
import processing
processing.runalg("qgis:multiparttosingleparts", input, output)
but I wan't to use it in a different way, like I already do with the 'dissolve'
sc