[GRASS-user] Setting default region - incorrect region set after inserting raster resolution
Markus Metz
markus.metz.giswork at gmail.com
Fri Dec 28 11:20:31 PST 2012
On Fri, Dec 28, 2012 at 12:41 PM, RichardC <richtcooper at hotmail.com> wrote:
> Hi,
>
> I create a new LOCATION and wish to set the default region for global
> coverage, i.e
> 90, -90, 180, -180 and, in the case of the current raster file, insert
> 0.000833 (degrees) as its resolution.
What are the exact commands you used to modify the current region?
Rather use res=0:0:03 instead of res=0.000833, in this case the
DD:MM:SS format is more precise. Or use res=0.00083333333333333.
HTH,
Markus M
>
> The resulting DEFAULT_WIND file contains the following:
>
> proj: 3
> zone: 0
> north: 90N
> south: 90S
> *east: 179:59:58.3044W
> west: 179:59:58.3044E*
> cols: 432174
> rows: 216086
> e-w resol: 0:00:02.9988
> n-s resol: 0:00:02.998806
> top: 1
> bottom: 0
> cols3: 360
> rows3: 180
> depths: 1
> e-w resol3: 1:00:00.00942
> n-s resol3: 1
> t-b resol: 1
>
> The outcome is that I need to click on the Map Display to display the file
> and the coordinates at left edge of the window are 45E not 180W?
>
> If a LOCATION is created with a raster resolution of '1' the default region
> appears correct (see DEFAULT_WIND below) and I then modify raster resolution
> with g.region under the PERMANENT MAPSET.
>
> proj: 3
> zone: 0
> north: 90N
> south: 90S
> *east: 180E
> west: 180W*
> cols: 360
> rows: 180
> e-w resol: 1
> n-s resol: 1
> top: 1
> bottom: 0
> cols3: 360
> rows3: 180
> depths: 1
> e-w resol3: 1
> n-s resol3: 1
> t-b resol: 1
>
> Is there a way of entering the raster resolution of 0.000833 degrees when
> first creating the default region of a LOCATION?
>
> Cheers,
> Richard
> GRASS 6.4.2
> Linux Mint 13 (ubuntu precise)
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Setting-default-region-incorrect-region-set-after-inserting-raster-resolution-tp5024852.html
> Sent from the Grass - Users mailing list archive at Nabble.com.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
More information about the grass-user
mailing list