<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" id="yui_3_16_0_1_1416656246756_8313" class="yahoo_quoted"><div id="yui_3_16_0_1_1416656246756_8312" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10px;"><div id="yui_3_16_0_1_1416656246756_8311" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div id="yui_3_16_0_1_1416656246756_8315" class="y_msg_container"><br>Hey my name is Robert. I'm using windows 7 on 64 bit and using Qgis <br>2.6.0.<br>Hey i'm trying to process some Tifs from the console using the <br>processing toolbox and saga:slopeaspectcurvature.<br>this is pretty much how my code looks like:<br><br>##vectorlayer=raster<br>import glob<br>from PyQt4.QtCore import *<br>from PyQt4.QtGui import *<br>from qgis.core import *<br>import qgis.utils<br>import os<br>from osgeo import gdal<br>import numpy as np<br>import osr<br>import math<br>import processing<br>import PIL.Image as Image<br>import sys<br>sys.path.append('C:/newpython64/Lib/site-packages')<br>from libtiff import TIFF<br><br><br>output=processing.runalg("saga:slopeaspectcurvature",vectorlayer, <br>1,'E:/Master/slope/asdsa.tif',None, None, None, None)<br><br><br>the result is a map. But the range for slope is between 0 and 1. if i <br>execute slope from the toolbox, then i get a perfectly normal range with <br>values. the intensities are identical( every pixel has the same colour <br>in one slope image as in the other), but the values are totally <br>different. This is independent of what kind of method i use from the <br>"saga:slopeaspectcurvature". Am i running the code wrong? If im running <br>the code wrong, i would appretiate if you would give me some guidance.<br>Thank you very much!<br><br><br>Best<br>Robert<br>norway<br><br><br></div>  </div> </div>  </div> </div></body></html>