[GRASS-dev] false resolution setting by g.region res= or g.region nsres= ewres=
Blumentrath, Stefan
Stefan.Blumentrath at nina.no
Sun Jun 22 13:16:28 PDT 2014
Hi Helmut,
If you want to align bounds to resolution you need to set the a-flag:
g.region -pa res=75
Otherwise you might have to add some meters in n-s-direction 2698025-2609100=1185,666666666667 (e.g. s=s-25).
Cheers
Stefan
-----Original Message-----
From: grass-dev-bounces at lists.osgeo.org [mailto:grass-dev-bounces at lists.osgeo.org] On Behalf Of Helmut Kudrnovsky
Sent: 22. juni 2014 22:02
To: grass-dev at lists.osgeo.org
Subject: [GRASS-dev] false resolution setting by g.region res= or g.region nsres= ewres=
hi,
given following region:
g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone: 0
datum: etrs89
ellipsoid: grs80
north: 2698025
south: 2609100
west: 4471150
east: 4556275
nsres: 25
ewres: 25
rows: 3557
cols: 3405
cells: 12111585
now I want to change the resolution from 25 to 75
g.region res=75
g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone: 0
datum: etrs89
ellipsoid: grs80
north: 2698025
south: 2609100
west: 4471150
east: 4556275
nsres: 74.97892074 <= !!!
ewres: 75
rows: 1186
cols: 1135
cells: 1346110
or
g.region nsres=75 ewres=75
g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone: 0
datum: etrs89
ellipsoid: grs80
north: 2698025
south: 2609100
west: 4471150
east: 4556275
nsres: 74.97892074 <= !!!
ewres: 75
rows: 1186
cols: 1135
cells: 1346110
nsres is set to 74.97892074 as instead 75.
any ideas?
System Info
GRASS Version: 7.0.0svn
GRASS SVN Revision: 60869
Erstellungsdatum: 2014-06-20
Build Platform: i686-pc-mingw32
GDAL/OGR: 1.11.0
PROJ.4: 4.8.0
GEOS: 3.4.2
SQLite: 3.7.17
Python: 2.7.4
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/false-resolution-setting-by-g-region-res-or-g-region-nsres-ewres-tp5147222.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
More information about the grass-dev
mailing list