Hi Micha,

Thanks for your response.  I ran g.region -p


And it prints -


zone: 0

datum: nzgd2k

ellipsoid: grs80

north: 5351280

south: 5349840

west: 1682560

east: 1684000

nsres: 1

ewres: 1

rows: 1440

cols: 1440

cells: 2073600


So I'm guessing

GRASS_REGION_CELLSIZE_PARAMETER = 1


I tried

GRASS_REGION_PARAMETER =[5351280, 5349840, 1682560, 1684000]

But that doesn't seem to work as an input


Am I using the right parameters here?


Thanks for your help

Ben




________________________________
From: Micha Silver <[email protected]>
Sent: Saturday, April 22, 2017 4:24 PM
To: Benjamin Higgs; [email protected]
Subject: Re: [Qgis-user] r.relief HELP


In GRASS tools run the command  "g.region -p" and note the region and 
resolution from the output. Then use those in the python console.

On 04/21/2017 04:42 AM, Benjamin Higgs wrote:

Hi,


I am using Python console in QGIS 2.18.3 to try and run grass7:r.relief.


There are 2 required parameters : GRASS_REGION_PARAMETER and 
GRASS_REGION_CELLSIZE_PARAMETER.


I can't figure out what I am supposed to use as inputs for these as they only 
appear when I try to run it from the Python Console and do not appear when I 
run r.relief from the GRASS tools.


Any help on what I can put for these parameters would be greatly appreciated.


Cheers

Ben



_______________________________________________
Qgis-user mailing list
[email protected]<mailto:[email protected]>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


--
Micha Silver
cell: +972-523-665918
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to