<div dir="ltr"><div>Salve a tutti</div><div><br></div><div>ho appena finito di scrivere uno script per l'ambiente processing di qgis.</div><div>Funziona, produce il risultato voluto ma mi compare comunque un errore che dice <br></div><div><br></div><div>In poche parole dovrei solo produrre una mappa raster 1-0</div><div><br></div><div>Grazie<br></div><div><br></div><div><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap" id="gmail-docs-internal-guid-a7c72584-7fff-08e7-12eb-2dba7c0537f2">
</span><p style="margin:0px;text-indent:0px;white-space:pre-wrap">GDAL command:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"DejaVu Sans"">gdal_rasterize -l prova -burn 1.0 -ts 38.0 55.0 -init 0.0 -a_nodata nan -te 655572.309416649 4834163.411488473 655955.9687078493 4834718.707831 -ot Int16 -of GTiff /home/giacomo/Dropbox/Script/Python/PyGIS/Regula_Points_Processing/prova/prova.shp /home/giacomo/Dropbox/Script/Python/PyGIS/Regula_Points_Processing/prova/ee.tif</span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">GDAL command output:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-family:"DejaVu Sans";color:rgb(119,119,119)">0...10...20...30...40...50...60...70...80...90...100 - done.<br></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Risultati: {'OUTPUT': '/home/giacomo/Dropbox/Script/Python/PyGIS/Regula_Points_Processing/prova/ee.tif'}</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">TypeError: invalid result from mioScript.processAlgorithm(), set cannot be converted to a C/C++ QVariantMap in this context<br></span></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(255,0,0)">Esecuzione fallita dopo 0.07 secondi</span></p></div><div><br></div></div>