[GRASS-user] Problems Running r.flow

Markus Neteler neteler at osgeo.org
Wed Jan 27 20:26:03 EST 2010


On Thu, Jan 28, 2010 at 1:59 AM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Wed, 27 Jan 2010, Milton Cezar Ribeiro wrote:
>
>> try g.region nsres=5 ewres=5, may be you can bypass this.
>
> milton,
>
>  That's how I defined the resolution, but it was returned as slightly less
> for some reason. See:
>
> GRASS 6.4.0svn (Oregon):/usr4/grassbase > g.region res=5 -p
> projection: 99 (Lambert Conformal Conic)
> zone:       0
> datum:      nad83
> ellipsoid:  grs80
> north:      1334419.25160578
> south:      1279151.24118496
> west:       769192.9282895
> east:       819255.92362222
> nsres:      4.99982001
> ewres:      4.99979979

If you add -a to g.region, you obtain the desired resolution by
(automatically) a slightly enlarged region which make the pixels fit
into it properly.

Markus


More information about the grass-user mailing list