[GRASS-user] Re: [Qgis-user] error with r.cost

Markus Neteler neteler at osgeo.org
Sun Apr 10 16:02:19 EDT 2011


Ambrish Dhaka,

you need to check the region extent + resolution, probably
you are exceeding the available RAM if you are having too
many rows and columns.

Get the information with:
g.region -p

or the respective menu entry.

Markus

On Sun, Apr 10, 2011 at 10:57 AM, ambijat <ambijat at hotmail.com> wrote:
> Ramon says,
> I'm afraid I don't - but given the current situations, I'd suggest anyone
> that could help would also be wondering which version of QGIS you were using
> and on which operating system.
>
> The Qgis version is 1.6.0 also, the result is same on GRASS (tcl/tk) 6.4
> RC1, performed on WinXP SP3 on a core2Duo machine.
>
> regards,
> Ambrish Dhaka


On 10/04/2011, at 13:19 , ambijat wrote:
> Hi All,
> I am trying to create shortest path between two raster points (converted from v.to.rast) and I use the STRM data for the input values between the two points. This is the error I get.
>
> r.cost input=afg_rast at user1 output=salroute start_rast=salang at user1 max_cost=0 -k
> G_malloc: unable to allocate 524288 bytes at setup.c:64
> Finished with error
>
> Any idea why I am getting this?
> Thanks and regards,
> Ambrish Dhaka


More information about the grass-user mailing list