It works very well ! But I have to treat more than hundred shapes, so I decide to save my model in python script and edit it to treat all shapes in a folder. In first time, I wanted to try python script I saved. But strangely, it doesn't work... I have a weird message...
Here is my code :
##Calcule de surface cultivee=name ##couchedepiedsdevigne=vector ##couchedesortie=output vector outputs_QGISCONCAVEHULL_1=processing.runalg('qgis:concavehull', couchedepiedsdevigne,0.3,False,False,None) outputs_QGISFIELDCALCULATOR_1=processing.runalg('qgis:advancedpythonfieldcalculator', outputs_QGISCONCAVEHULL_1['OUTPUT'],"SURFACE",1,10.0,3.0,True,'$area',couchedesortie)
I don't understand why it's working in treatment modeler and not in python script... Somebody can help me ?