<div dir="ltr">Ciao Antonio,<div class="gmail_extra"><br><div class="gmail_quote">2018-03-14 18:29 GMT+01:00 Tony75 <span dir="ltr"><<a href="mailto:iperstatica@gmail.com" target="_blank">iperstatica@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Salve<br>
Non capisco se ho sbagliato io installando e devo disinstallare tutto , ma i<br>
problemi persistono<br>
<br>
1) Ho caricato un raster.asc precisamente il 5000_460.asc della sardegna<br>
a) ho provato a fare un profilo con il profile tools :<br>
<br>
*Errore Python*: Si è verificato un errore durante l'esecuzione del<br>
codice Python:<br>
Vedi il log dei messaggi (Python Error) per maggiori dettagli.<br>
<br>
2018-03-14T18:17:40 WARNING Traceback (most recent call last):<br>
File "/Users/Harlock/Library/Applic<wbr>ation<br>
Support/QGIS/QGIS3/profiles/de<wbr>fault/python/plugins/profileto<wbr>ol/tools/ptmaptool.py",<br>
line 78, in moved<br>
<br>
<a href="http://self.profiletool.rubberband.ad">self.profiletool.rubberband.ad</a><wbr>dPoint(QgsPoint(self.pointstoD<wbr>raw[i][0],self.pointstoDraw[i]<wbr>[1]))<br>
TypeError: QgsRubberBand.addPoint(): argument 1 has unexpected type<br>
'QgsPoint'<br></blockquote><div><br></div><div>questo non dipende dalla tua installazione, un piccolo problema del plugin che andrebbe segnalato</div><div>nel bugtracker del plugin ProfileTool.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
b) Ho provato a creare un raster Esposizione<br>
(raster/analisi/Esposizione):<br>
<br>
GDAL command:<br>
gdaldem aspect /Users/Harlock/Downloads/DTM10<wbr>M/50000_460.asc<br>
/Users/Harlock/Downloads/DTM10<wbr>M/Merge/Ombra.asc -of AAIGrid -b 1<br>
GDAL command output:<br>
/bin/sh: gdaldem: command not found<br>
Execution completed in 0.06 seconds<br>
Results:<br>
{'OUTPUT': <QgsProcessingOutputLayerDefin<wbr>ition<br>
{'sink':/Users/Harlock/Downloa<wbr>ds/DTM10M/Merge/Ombra.asc, 'createOptions':<br>
{'fileEncoding': 'System'}}>}<br>
<br>
Caricamento layer<br>
I seguenti layers non sono stati caricati correttamente<br>
/Users/Harlock/Downloads/DTM10<wbr>M/Merge/Ombra.asc<br></blockquote><div><br></div><div>questo invece potrebbe dipendere da un'errata configurazioni della variabile PATH.</div><div>Quando esegui l'algoritmo, in calce alla finestra di dialogo trovi una console con all'interno</div><div>un comando che dovrebbe essere questo:</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gdaldem aspect /Users/Harlock/Downloads/</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">DTM10<wbr>M/50000_460.asc</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/Users/Harlock/Downloads/</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">DTM10<wbr>M/Merge/Ombra.asc -of AAIGrid -b 1</span><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hai provato a lanciarlo dal terminale? Prova e vedi se ottieni lo stesso errore (<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">/bin/sh: gdaldem: command not found</span>)</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Se ottieni lo stesso errore, sempre da terminale lancia:</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div>echo 'export PATH="/Library/Frameworks/GDAL.framework/Programs:$PATH"' >> ~/.bash_profile<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>Vedi se cambia qualcosa rilanciando QGIS.</div><div><br></div><div>Saluti!</div></div><br clear="all"><div><br></div>-- <br><div class="m_-7256788472948775729gmail_signature" data-smartmail="gmail_signature">Salvatore Larosa<br>linkedIn: <a href="http://linkedin.com/in/larosasalvatore" target="_blank">http://linkedin.com/in/<wbr>larosasalvatore</a><br>twitter: @lrssvt<br>skype: s.larosa<br>IRC: lrssvt on freenode<br></div>
</div></div>