Bug report #11741


Added by Nagy Robert about 9 years ago. Updated about 9 years ago.

Assignee:Victor Olaya
Affected QGIS version:2.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:19975


Hey my name is Robert. I'm using windows 7 on 64 bit and using Qgis 2.6.0.I'm trying to process some Tifs from the console using the
processing toolbox and saga:slopeaspectcurvature. This is pretty much how my code looks like:

import glob
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
import qgis.utils
import os
from osgeo import gdal
import numpy as np
import osr
import math
import processing
import PIL.Image as Image
import sys
from libtiff import TIFF

1,'E:/Master/slope/output.tif',None, None, None, None)

the result is a map. But the range for slope is between 0 and 1. if i
execute slope from the toolbox, then i get a perfectly normal range of
values. the intensities are identical( every pixel has the same colour
in one slope image as in the other), but the values are totally
different. This is independent of what kind of method i use from the
"saga:slopeaspectcurvature". Am i running the code wrong? If im running
the code wrong, i would appretiate if you would give me some guidance.
Thank you very much!


#1 Updated by Giovanni Manghi about 9 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Hi, questions need to base asked in the users/developers mailing lists, on irc or gis.stackexchange


Also available in: Atom PDF