[GRASSLIST:8489] Re: setting region resolution

Markus Neteler neteler at itc.it
Tue Oct 4 14:53:42 EDT 2005


On Tue, Oct 04, 2005 at 01:40:25PM -0400, Jason Horn wrote:
> Does anyone know why, when you set the resolution of a region, you  
> end up getting a resolution slightly different than what you  
> expected?  For example, in a lambert projection, if I set the  
> resolution as follows:
> 
> g.region nsres=1000 ewres=1000
> 
> and then I query the region settings...
> 
> g.region -p
> 
> I get this
> 
> .
> .
> .
> nsres:      999.51820128
> ewres:      1000.27989946
> .

Try the -a adjustment:

 g.region nsres=1000 ewres=1000 -a

 (it's a feature, not a bug)

Markus




More information about the grass-user mailing list