[GRASSLIST:10270] problem to adjust a lat/lon region

Otto Dassau dassau at gdf-hannover.de
Mon Feb 13 05:33:53 EST 2006


Hi, 

I would like to adjust a lat/lon region with g.region, but is doesn't seem to 
work and behaves strange and/or I probably don't know how to make it right. 

What I am trying to get is a region with 16200 cols and rows within  
n=90, s=-90, w=0 and e=180.

Any hint is welcome..

# my default lat/lon region

g.region -dgp
n=90
s=-90
w=-180
e=180
nsres=0.01666667
ewres=0.01666667
rows=10800
cols=21600

These are my trials:

a) works !

g.region n=90 s=-90 w=0 e=180 -ap
projection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  a=6378137 es=0.00669437999014138
north:      90N
south:      90S
west:       0
east:       180E
nsres:      0:00:43.2
ewres:      0:00:43.2
rows:       15000
cols:       15000

b) also works :-)

g.region res=0:00:41.2 n=90 s=-90 w=0 e=180 -ap

c) does not work, but I do not know why.

g.region res=0:00:41.1 n=90 s=-90 w=0 e=180 -ap
ERROR: Invalid region: Illegal latitude for North
g.region res=0:00:41 n=90 s=-90 w=0 e=180 -ap
ERROR: Invalid region: Illegal latitude for North
...

thanks
  Otto




More information about the grass-user mailing list