On Sun, Mar 25, 2012 at 12:30 PM, Filipe Silva Dias
<[email protected]> wrote:
> I switched the resolution from 30x30 to 100x100 and now it works. Problem
> solved.
>
>
> On Sun, Mar 25, 2012 at 11:12 AM, Filipe Silva Dias <[email protected]>
> wrote:
>>
>> I'm using GRASS 6.4.2 and I'm on Windows 7
>>
>>
>> On Sun, Mar 25, 2012 at 11:11 AM, Filipe Silva Dias
>> <[email protected]> wrote:
>>>
>>> Dear all
>>>
>>> I'm trying to run r.watershed on a ASTER DEM (with the size of Portugal)
>>> but I'm getting this error:
>>>
>>> r.watershed elevation=DemPt@ETRS89 stream=stream
>>> threshold=10000
>>> SECTION 1a (of 5): Initiating Memory.
>>> ERROR: G_malloc: unable to allocate 1515173064 bytes at init_vars.c:134
>>> Subprocess failed with exit code 1
>>> category information for [stream] in [ETRS89] missing or invalid
>>>
>>> What am I doing wrong?
>>>
As you figured out already, the region, i.e. number of cells was too
large. In order to run r.watershed with that region (Portugal at 30m
resolution) on Windows, you would need GRASS 7 and run r.watershed
with the -m option.

Markus M
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to