[GRASS-user] announcement of strahler stream order analysis

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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

This is a module I've been looking for a long time.

compilation went OK, but when I run it:

GRASS 6.5.svn (itarare_250k):~ > r.stream
too many nested evaluations (infinite loop?)
    (procedure "Gronsole::add_data_tag" line 4)
    invoked from within
"Gronsole::add_data_tag $path $ci out"
    (procedure "Gronsole::readout" line 15)
    invoked from within
"Gronsole::readout $path $ci $mark $fh"
    invoked from within
"if [eof $fh] {
                Gronsole::readeof $path $ci $mark $fh
                Gronsole::done_command $path $ci
        } else {
                Gronsole::readout $path $ci $mark $fh
        }"
    (procedure "Gronsole::file_callback" line 2)
    invoked from within
"Gronsole::file_callback .nb.fOutput.gronsole 1 cmdinsert1 file6"

and then it hangs...

cheers

Carlos

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl>:

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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

--
Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008

http://digitalelevation.blogspot.com

http://www.igc.usp.br/pessoais/guano
_________________
Can’t stop the signal.

Carlos Grohmann pisze:

This is a module I've been looking for a long time.

compilation went OK, but when I run it:

GRASS 6.5.svn (itarare_250k):~ > r.stream
too many nested evaluations (infinite loop?)
    (procedure "Gronsole::add_data_tag" line 4)
    invoked from within
"Gronsole::add_data_tag $path $ci out"
    (procedure "Gronsole::readout" line 15)
    invoked from within
"Gronsole::readout $path $ci $mark $fh"
    invoked from within
"if [eof $fh] {
                Gronsole::readeof $path $ci $mark $fh
                Gronsole::done_command $path $ci
        } else {
                Gronsole::readout $path $ci $mark $fh
        }"
    (procedure "Gronsole::file_callback" line 2)
    invoked from within
"Gronsole::file_callback .nb.fOutput.gronsole 1 cmdinsert1 file6"

and then it hangs...

cheers

Carlos
  

Yes I noticed it, run it form command line with full paramteres without GUI for unknow reason. I also cannot run via GUI. I hope someone more advanced will help me remove that error. I dont know why it happens.
Give me feedback if you will run it with success.
Jarek

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl>:
  

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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 will upload little newer version without debbuger messages which may cause that messages
Now I absolutely sure it is from tcltk, but on my machine it work now fine. I tested it also on spearfish dataset, no problem for now.

Jarek

Carlos Grohmann pisze:

Yes! Runs fine from command line! SO much better than using JGRASS.

cheers

Carlos

On Mon, Jul 27, 2009 at 14:47, Jarek Jasiewicz<jarekj@amu.edu.pl> wrote:
  

Carlos Grohmann pisze:
    

This is a module I've been looking for a long time.

compilation went OK, but when I run it:

GRASS 6.5.svn (itarare_250k):~ > r.stream
too many nested evaluations (infinite loop?)
   (procedure "Gronsole::add_data_tag" line 4)
   invoked from within
"Gronsole::add_data_tag $path $ci out"
   (procedure "Gronsole::readout" line 15)
   invoked from within
"Gronsole::readout $path $ci $mark $fh"
   invoked from within
"if [eof $fh] {
               Gronsole::readeof $path $ci $mark $fh
               Gronsole::done_command $path $ci
       } else {
               Gronsole::readout $path $ci $mark $fh
       }"
   (procedure "Gronsole::file_callback" line 2)
   invoked from within
"Gronsole::file_callback .nb.fOutput.gronsole 1 cmdinsert1 file6"

and then it hangs...

cheers

Carlos

Yes I noticed it, run it form command line with full paramteres without GUI
for unknow reason. I also cannot run via GUI. I hope someone more advanced
will help me remove that error. I dont know why it happens.
Give me feedback if you will run it with success.
Jarek
    

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl>:

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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

Hi Jarek

Can use this on a LatLong mapset where my unit is not meters?
Thanks for the effort!

milton

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl>

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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

try, I don't know I haven't LL location to test it
but it shoud work
program do not use any inforamtuon about units and units conversion

Jarek

Milton Cezar Ribeiro pisze:

Hi Jarek

Can use this on a LatLong mapset where my unit is not meters?
Thanks for the effort!

milton

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl <mailto:jarekj@amu.edu.pl>>

    Hi list!

    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:

    http://heretic.livenet.pl/heretic/r.stream.tar.gz

    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 <mailto:grass-user@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/grass-user

Just tested in a LatLong region. works fine.

Carlos

2009/7/28 Jarek Jasiewicz <jarekj@amu.edu.pl>:

try, I don't know I haven't LL location to test it
but it shoud work
program do not use any inforamtuon about units and units conversion

Jarek

Milton Cezar Ribeiro pisze:

Hi Jarek

Can use this on a LatLong mapset where my unit is not meters?
Thanks for the effort!

milton

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl <mailto:jarekj@amu.edu.pl>>

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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 <mailto:grass-user@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008

http://digitalelevation.blogspot.com

http://www.igc.usp.br/pessoais/guano
_________________
Can’t stop the signal.

Thanks Carlos!!

milton

2009/7/28 Carlos Grohmann <carlos.grohmann@gmail.com>

Just tested in a LatLong region. works fine.

Carlos

2009/7/28 Jarek Jasiewicz <jarekj@amu.edu.pl>:

try, I don’t know I haven’t LL location to test it
but it shoud work
program do not use any inforamtuon about units and units conversion

Jarek

Milton Cezar Ribeiro pisze:

Hi Jarek

Can use this on a LatLong mapset where my unit is not meters?
Thanks for the effort!

milton

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl mailto:[jarekj@amu.edu.pl](mailto:jarekj@amu.edu.pl)>

Hi list!

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:

http://heretic.livenet.pl/heretic/r.stream.tar.gz

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 mailto:[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
http://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/grass-user


Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008

http://digitalelevation.blogspot.com

http://www.igc.usp.br/pessoais/guano


Can’t stop the signal.


grass-user mailing list
grass-user@lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/grass-user

First, if I haven't said this yet, wonderful job. Is there a way to
extract things like total lengths of streams from the raster. Like
length of stream order 1, 2, etc., so that percentage of occurrence
could be calculated- length order1/length total? On an unrelated note
I added this package to the raster set in the source and recompiled on
Mac. I have lost the ability to use the python GUI. I am having a
hard time figuring out how to do this. Should I reinstall the Binary
version, add r.streams to the add on packages, or is there a simpler
way to add a flag in the ./configure argument?
Thanks,

Stephen Sefick

On Tue, Jul 28, 2009 at 11:14 AM, Milton Cezar
Ribeiro<miltinho.astronauta@gmail.com> wrote:

Thanks Carlos!!

milton

2009/7/28 Carlos Grohmann <carlos.grohmann@gmail.com>

Just tested in a LatLong region. works fine.

Carlos

2009/7/28 Jarek Jasiewicz <jarekj@amu.edu.pl>:
> try, I don't know I haven't LL location to test it
> but it shoud work
> program do not use any inforamtuon about units and units conversion
>
> Jarek
>
> Milton Cezar Ribeiro pisze:
>>
>> Hi Jarek
>>
>> Can use this on a LatLong mapset where my unit is not meters?
>> Thanks for the effort!
>>
>> milton
>>
>> 2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl
>> <mailto:jarekj@amu.edu.pl>>
>>
>> Hi list!
>>
>> 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:
>>
>> http://heretic.livenet.pl/heretic/r.stream.tar.gz
>>
>> 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 <mailto:grass-user@lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

--
Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008

http://digitalelevation.blogspot.com

http://www.igc.usp.br/pessoais/guano
_________________
Can’t stop the signal.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Stephen Sefick

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.

                -K. Mullis

stephen sefick pisze:

First, if I haven't said this yet, wonderful job. Is there a way to
extract things like total lengths of streams from the raster.

In the feature module is only introducion to full Hortonian analysis

Like
length of stream order 1, 2, etc., so that percentage of occurrence
could be calculated- length order1/length total? On an unrelated note
I added this package to the raster set in the source and recompiled on
Mac. I have lost the ability to use the python GUI. I am having a
hard time figuring out how to do this. Should I reinstall the Binary
version, add r.streams to the add on packages, or is there a simpler
way to add a flag in the ./configure argument?
  

I don't know nothhing about wxGUI except that it exist so I cannot help.

Thanks,

Stephen Sefick

On Tue, Jul 28, 2009 at 11:14 AM, Milton Cezar
Ribeiro<miltinho.astronauta@gmail.com> wrote:
  

Thanks Carlos!!

milton

2009/7/28 Carlos Grohmann <carlos.grohmann@gmail.com>
    

Just tested in a LatLong region. works fine.

Carlos

2009/7/28 Jarek Jasiewicz <jarekj@amu.edu.pl>:
      

try, I don't know I haven't LL location to test it
but it shoud work
program do not use any inforamtuon about units and units conversion

Jarek

Milton Cezar Ribeiro pisze:
        

Hi Jarek

Can use this on a LatLong mapset where my unit is not meters?
Thanks for the effort!

milton

2009/7/26 Jarek Jasiewicz <jarekj@amu.edu.pl
<mailto:jarekj@amu.edu.pl>>

   Hi list!

   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:

   http://heretic.livenet.pl/heretic/r.stream.tar.gz

   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 <mailto:grass-user@lists.osgeo.org>
   http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Carlos Henrique Grohmann - Geologist D.Sc.
a.k.a. Guano - Linux User #89721
ResearcherID: A-9030-2008

http://digitalelevation.blogspot.com

http://www.igc.usp.br/pessoais/guano
_________________
Can’t stop the signal.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
      

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user