[Qgis-user] r.relief HELP
Benjamin Higgs
ben.higgs at hotmail.co.nz
Sun Apr 23 02:48:14 PDT 2017
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 <tsvibar at gmail.com>
Sent: Saturday, April 22, 2017 4:24 PM
To: Benjamin Higgs; qgis-user at lists.osgeo.org
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
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170423/2a5d34e6/attachment.html>
More information about the Qgis-user
mailing list