[GRASSLIST:3217] Re: [Fwd: Re: GRASS-Python, or, Alber's algorithm?]

Eric G. Miller egm2 at jps.net
Mon Feb 25 20:56:31 EST 2002


On Mon, Feb 25, 2002 at 01:40:22PM -0500, Patrick Dunlavey wrote:
> At 10:07 AM 2/25/2002 -0800, Len Coop wrote:
> >Anybody care to re-write r.proj so it uses memory more efficiently? That 
> >has
> >been my #1 gripe about GRASS these days.
> 
> I haven't had problems reprojecting sizable datasets (e.g. 4800x1600 cells 
> latlong to 4000x3000 cells albers equal area) on a RedHat 7.0 box with 128 
> mb RAM and PentiumPro 200mhz. It's slow, and this is not the machine I 
> would work on by choice, but it doesn't choke.
> 
> Two thoughts: If r.proj is choking due to a lack of memory, with the price 
> of memory chips these days, I don't think it should be hard to justify 
> bumping up your RAM.
> 
> Alternatively, I wonder if there are some factors that influence success 
> with r.proj besides available memory (e.g. could be that different source 
> and destination projections require different resources).

The reason I suggested i.rectify as an alternative, is because it
doesn't try to do everything in memory.  However, it needs registration
points, so it might be a bit more work.  Hopefully r.proj can be
rewritten to use a segmented approach like i.rectify.

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



More information about the grass-user mailing list