[GRASS5] r.mapcalc question

David Piasecki piasecda at nv.doe.gov
Fri Feb 4 11:19:59 EST 2005


Yeah, I think r.patch may, in fact, run faster, but it sounds like you 
already knew this. Anyway, I've got another small question. Right now 
I'm determining what the region encompassing a set of jpg images is by 
doing a d.rast -o image# for all images, followed by a d.extend. That 
works, but it's kind of annoying to have to draw to a graphics monitor 
when I don't need to. Is there a way to set the region based on a 
collection of raster data without having to draw?

Thanks,
David


On Feb 2, 2005, at 5:26 PM, Hamish wrote:

>> Perhaps this isn't quite the fastest method, but it works. If anyone
>> knows of a more efficient way of doing the same thing, I'd be
>> interested in taking suggestions.
>
>
> so what is wrong with r.patch exactly? If it does what you want it's a
> bit less prone to user error than r.mapcalc and in theory it should
> cycle through the raster cells at about the same speed?
>
> r.patch can take a couple hundred input maps at once (in preferential 
> order).
>
>
>
> Hamish
>





More information about the grass-dev mailing list