<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffcc" text="#000000">
Guten Morgen,<br>
nachdem ich endlich mal wieder in GRASS eingestiegen bin, um
Berechnungen für meine Diplomarbeit durchzuführen, wurde ich gestern
wieder prompt ausgebremst, nachdem ich r.watershed durchführen wollte.<br>
<br>
<pre>r.watershed el=srtm ba=wsh1_basin st=wsh1_stream dr=wsh1_drainage t=50000</pre>
<br>
In Schritt 1a initiert er den Speicher und bricht dann mit dem g_malloc
out of memory error ab.<br>
<br>
Ich habe 2 GB Arbeitsspeicher und genügend Platz auf der Swappartition!<br>
<br>
die Datei srtm hat folgende Werte.<br>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">ellipsoid: a=6377397.155 es=0.006674372231802145</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">north: 5400000</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">south: 5207249</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">west: 4347940.80515927</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">east: 4426418.47224591</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">nsres: 30.00015564</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">ewres: 29.99910821</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">rows: 6425</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">cols: 2616</font></font></p>
<p
style="border: medium none ; padding: 0cm; background: rgb(204, 204, 204) none repeat scroll 0%; margin-bottom: 0cm; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; line-height: 150%; page-break-before: auto;"
align="left">
<font face="Courier10 Win95BT, monospace"><font style="font-size: 11pt;"
size="2">cells: 16807800</font></font></p>
<br>
<br>
Ich muss den watershed befehl mehrmals durchführen, bis die Karte
wirklich der Wirklichkeit ähnelt. Da kann ich sowas einfach nicht
brauchen.<br>
den flag -m kenn ich, aber das dauert ewig und hat heute nacht auch
nicht wirklich funktioniert...<br>
<br>
Vielen Dank für Eure Hilfe<br>
<br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title></title>
<span style="font-family: Helvetica,Arial,sans-serif;">OM shantih</span><br
style="font-family: Helvetica,Arial,sans-serif;">
<span style="font-family: Helvetica,Arial,sans-serif;">Philipp
Steigenberger</span><br style="font-family: Helvetica,Arial,sans-serif;">
<br style="font-family: Helvetica,Arial,sans-serif;">
<br style="font-family: Helvetica,Arial,sans-serif;">
<a style="font-family: Helvetica,Arial,sans-serif;"
href="http://www.sampoorna-yoga-augsburg.de"></a><br
style="font-family: Helvetica,Arial,sans-serif;">
<br>
<br>
</body>
</html>