I just finish first version of new grass module r.stream. Module is regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code you
can find here:
Module compiles and seems to work. Analysis was tested only on one dataset.
To compile it copy r.streams directory to your grassXX../raster/ cd
r.stream run make and make install
What module calculate:
- strahler stream order
- shreeve stream magnitude
- class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream network.
Analysis of r.stream shall be run on same regions setings as r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check if
region and rasters are identical. It is planned to add in nearest feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons (or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I don't
know C.
General code is based on GRASS r.topindex module (by Keith Beven and Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya, modified)
Shreeve stream magnitude and class of topological network are my own ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
--
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy
It works fine on my machine. Mac OS X, compilied addon and compilied
GRASS from scratch. The strahler output also looks sensable. I do
have a question, though. Say I have my own delineated streams with
another method, but in raster format- will this still work? And is
there an easy way to a vector out of a raster stream network?
Stephen Sefick
On Tue, Jul 28, 2009 at 4:32 AM, Margherita Di Leo<diregola@gmail.com> wrote:
Hi Jarek,
I downloaded and compiled r.stream without problems but i'm afraid it does
not work:
I just finish first version of new grass module r.stream. Module is
regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code
you
can find here:
Module compiles and seems to work. Analysis was tested only on one
dataset.
To compile it copy r.streams directory to your grassXX../raster/ cd
r.stream run make and make install
What module calculate:
- strahler stream order
- shreeve stream magnitude
- class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream
network.
Analysis of r.stream shall be run on same regions setings as
r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check
if
region and rasters are identical. It is planned to add in nearest
feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and
have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more
than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton
analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is
directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons
(or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I
don't
know C.
General code is based on GRASS r.topindex module (by Keith Beven and
Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya,
modified)
Shreeve stream magnitude and class of topological network are my own
ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
--
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
I tried it just right now to see the strahler ordering and… it works greatly!
well done Jarek…
I think I’m going to read the code because I’ve got to understand how did you solved the problem of cleaning topology…
congratulations! great work!!!
It works fine on my machine. Mac OS X, compilied addon and compilied
GRASS from scratch. The strahler output also looks sensable. I do
have a question, though. Say I have my own delineated streams with
another method, but in raster format- will this still work? And is
there an easy way to a vector out of a raster stream network?
Stephen Sefick
On Tue, Jul 28, 2009 at 4:32 AM, Margherita Di Leo<diregola@gmail.com> wrote:
Hi Jarek,
I downloaded and compiled r.stream without problems but i’m afraid it does
not work:
I just finish first version of new grass module r.stream. Module is
regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code
you
can find here:
Module compiles and seems to work. Analysis was tested only on one
dataset.
To compile it copy r.streams directory to your grassXX…/raster/ cd
r.stream run make and make install
What module calculate:
strahler stream order
shreeve stream magnitude
class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream
network.
Analysis of r.stream shall be run on same regions setings as
r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check
if
region and rasters are identical. It is planned to add in nearest
feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and
have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more
than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton
analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is
directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons
(or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I
don’t
know C.
General code is based on GRASS r.topindex module (by Keith Beven and
Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya,
modified)
Shreeve stream magnitude and class of topological network are my own
ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
–
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy
Let’s not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
It works fine on my machine. Mac OS X, compilied addon and compilied
GRASS from scratch. The strahler output also looks sensable. I do
have a question, though. Say I have my own delineated streams with
another method, but in raster format- will this still work? And is
there an easy way to a vector out of a raster stream network?
Stephen Sefick
On Tue, Jul 28, 2009 at 4:32 AM, Margherita Di Leo<diregola@gmail.com> wrote:
Hi Jarek,
I downloaded and compiled r.stream without problems but i’m afraid it does
not work:
I just finish first version of new grass module r.stream. Module is
regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code
you
can find here:
Module compiles and seems to work. Analysis was tested only on one
dataset.
To compile it copy r.streams directory to your grassXX…/raster/ cd
r.stream run make and make install
What module calculate:
strahler stream order
shreeve stream magnitude
class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream
network.
Analysis of r.stream shall be run on same regions setings as
r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check
if
region and rasters are identical. It is planned to add in nearest
feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and
have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more
than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton
analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is
directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons
(or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I
don’t
know C.
General code is based on GRASS r.topindex module (by Keith Beven and
Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya,
modified)
Shreeve stream magnitude and class of topological network are my own
ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
–
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy
Let’s not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.
I tried first in a big region, then in the spearfish. I thought .. can it be a 64 bit problem? My system is Ubuntu 8.04:
uname -a
Linux marghe 2.6.24-24-generic #1 SMP Fri Jul 24 22:15:50 UTC 2009 x86_64 GNU/Linux
Did anyone try r.stream on a 64 bit architecture?
Any suggestion or hint appreciate
Cheers
margherita
Jarek Jasiewicz wrote:
thanks,
Please download and compile newer wersion
it's look like alocation memory error
I have some reports that program work but I will try to find potential buc
Jarek
Margherita Di Leo pisze:
Hi Jarek,
I downloaded and compiled r.stream without problems but i'm afraid it does not work:
I just finish first version of new grass module r.stream. Module is regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code you
can find here:
Module compiles and seems to work. Analysis was tested only on one dataset.
To compile it copy r.streams directory to your grassXX../raster/ cd
r.stream run make and make install
What module calculate:
- strahler stream order
- shreeve stream magnitude
- class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream network.
Analysis of r.stream shall be run on same regions setings as r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check if
region and rasters are identical. It is planned to add in nearest feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons (or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I don't
know C.
General code is based on GRASS r.topindex module (by Keith Beven and Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya, modified)
Shreeve stream magnitude and class of topological network are my own ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
--
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy
I tried first in a big region, then in the spearfish. I thought .. can it be a 64 bit problem? My system is Ubuntu 8.04:
uname -a
Linux marghe 2.6.24-24-generic #1 SMP Fri Jul 24 22:15:50 UTC 2009 x86_64 GNU/Linux
Did anyone try r.stream on a 64 bit architecture?
Any suggestion or hint appreciate
Cheers
margherita
Jarek Jasiewicz wrote:
thanks,
Please download and compile newer wersion
it's look like alocation memory error
I have some reports that program work but I will try to find potential buc
Jarek
Margherita Di Leo pisze:
Hi Jarek,
I downloaded and compiled r.stream without problems but i'm afraid it does not work:
I just finish first version of new grass module r.stream. Module is regular
Grass module, written in C an has no addational dependencies. It was
compiled with GRASS65 devel downloaded in last two week. Source code you
can find here:
Module compiles and seems to work. Analysis was tested only on one dataset.
To compile it copy r.streams directory to your grassXX../raster/ cd
r.stream run make and make install
What module calculate:
- strahler stream order
- shreeve stream magnitude
- class of topological elements of drainage networks
Module use r.watershed outputs: SDF flow direction and SDF stream network.
Analysis of r.stream shall be run on same regions setings as r.watershed. If
no, run g.region rast=your_dir_file first. For now module do not check if
region and rasters are identical. It is planned to add in nearest feature.
It also do not check if dirs and streams are SDF result. Threre are no
addational description. It will be added after testing.
It works only on cells data. Floating points data are not allowed (and have
no sense).
Module is quite fast. 3000 x3000 cells all three analysis runs no more than
30 s. on AMD 3800 2GB, Ubuntu 8.04
Module is part of comprehensive project which will add full Horton analysis
and some addational terrrains analysis to Grass. More details in the
feature. Any cooperation is welcome. The next module I plan is directional
vectorisation of stream network.
For now module is available only form web address pointed below. After
testing and removing critical errors it will be added to grass add-ons (or
maybe to main branch?).
Any coments, improvements and critics is very welcome.
More advanced Grass developers: Please check my code. Its funny, but I don't
know C.
General code is based on GRASS r.topindex module (by Keith Beven and Huidae
Cho, strongly modified)
Strahler stream order algorithm from Saga GIS (by Victor Olaya, modified)
Shreeve stream magnitude and class of topological network are my own ideas
Test and enjoy.
Jarek Jasiewicz
Adam Mickiewicz University, Poznan
Geoecology and Geoinformation Institute
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
I tried first in a big region, then in the spearfish. I thought .. can it be a 64 bit problem? My system is Ubuntu 8.04:
uname -a
Linux marghe 2.6.24-24-generic #1 SMP Fri Jul 24 22:15:50 UTC 2009 x86_64 GNU/Linux
Did anyone try r.stream on a 64 bit architecture?
Any suggestion or hint appreciate
Cheers
margherita
--
Eng. Margherita Di Leo
Ph.D. Student Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata Campus Macchia Romana
85100 - Potenza Italy