[GRASSLIST:2252] Re: r.resamp.rst and r.resample

Eric G. Miller egm2 at jps.net
Thu Aug 2 23:27:07 EDT 2001


On Fri, Aug 03, 2001 at 03:29:59AM +0100, Glynn Clements wrote:
> 
> Eric G. Miller wrote:
> 
> > Poor man's method.
> > 
> >  1.  Adjust the region so it matches the extents of the dem(s) and
> >  change the cell resolution to 10x10.
> > 
> >    $ g.region rast=dem1,dem2,dem3,...
> 
> This won't work; g.region has:
> 
> 	parm.raster->multiple    = NO;
> 
> You could presumably use r.patch followed by "g.region zoom=...".

Doh!  I guess I was thinking of g.remove or some such... The only good
reason I can think of for not allowing multiple rasters, is the decision
on what resolution wins (first?, gcd?)...

Well, it's still not terrible hard to set the extents "by hand", by
querying the various rasters...

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list