I call using processing.alghelp("grass:r.to.vect")
I looked input:
<ParameterRaster>
feature <ParameterSelection>
-s <ParameterBoolean>
GRASS_REGION_PARAMETER <ParameterExtent>
GRASS_OUTPUT_TYPE_PARAMETER <ParameterSelection>
output <OutputVector>
feature(Feature type)
0 - line
1 - point
2 - area
GRASS_OUTPUT_TYPE_PARAMETER(v.out.ogr output type)
0 - auto
1 - point
2 - line
3 - area
then I try to do ,
processing.runalg("grass:r.to.vect" , iface.activeLayer,2, True, None,3,r"C:\Users\user2\Desktop\1\temp\drfsg\zhopa.shp")")
but it returns an error, what I did wrong? the project is only one raster layer