[GRASS-user] Is there an r.categorize-like command in GRASS 6.3 ?

In GRASS 6.2.2 (installed from the Ubuntu repo's) there is r.categorize with
the very useful "categorization mode: rwidth".

What is the respective tool in GRASS6.3?

--
View this message in context: http://www.nabble.com/Is-there-an-r.categorize-like-command-in-GRASS-6.3---tf4888091.html#a13991030
Sent from the Grass - Users mailing list archive at Nabble.com.

In relation to r.categorize, is there a "quick" way to extract as separate
(new) raster maps each of the desired categories?

For instance, I want to extract from an SRTM3 subset (with min=0 and max
2365) 100m "wide" elevation zones. How can I make a script for this... ?

Where can I read more stuff in order to learn scripting... (!).

Thank you in advance!

  I used the following command(s) to fo my job the hard way:

   r.mapcalc SRTM3_0to100="if(((SRTM3 >= 0) && (SRTM3 <=100)),100,null())"
   r.mapcalc SRTM3_100to200="if(((SRTM3 > 100) && (SRTM3 <=200)),200,null())"
   r.mapcalc SRTM3_200to300="if(((SRTM3 > 200) && (SRTM3 <=300)),300,null())"
   r.mapcalc SRTM3_300to400="if(((SRTM3 > 300) && (SRTM3 <=400)),400,null())"
   r.mapcalc SRTM3_400to500="if(((SRTM3 > 400) && (SRTM3 <=500)),500,null())"
   r.mapcalc SRTM3_500to600="if(((SRTM3 > 500) && (SRTM3 <=600)),600,null())"
   r.mapcalc SRTM3_600to700="if(((SRTM3 > 600) && (SRTM3 <=700)),700,null())"
   r.mapcalc SRTM3_700to800="if(((SRTM3 > 700) && (SRTM3 <=800)),800,null())"
         ...
         ..
         .

Nikos Alexandris wrote:

In GRASS 6.2.2 (installed from the Ubuntu repo's) there is r.categorize
with the very useful "categorization mode: rwidth".

What is the respective tool in GRASS6.3?

--
View this message in context: http://www.nabble.com/Is-there-an-r.categorize-like-command-in-GRASS-6.3---tf4888091.html#a13993463
Sent from the Grass - Users mailing list archive at Nabble.com.

Nikos Alexandris wrote:

In GRASS 6.2.2 (installed from the Ubuntu repo's) there
is r.categorize with the very useful "categorization
mode: rwidth".

Hi

There is no such tool in GRASS 6.x like "r.categorize" in
"vanilla" GRASS. I don't find it in Ubuntu Gutsy package either.

String "categorization mode" is not present in GRASS source.

Maciek

My apologies!!!

It is within http://www.uni-kiel.de/ufg/dateienDucke/RasterTools.tar.gz
(download from http://www.uni-kiel.de/ufg/ufg_BerDucke.htm).

Maciej Sieczka wrote:

Nikos Alexandris wrote:

In GRASS 6.2.2 (installed from the Ubuntu repo's) there
is r.categorize with the very useful "categorization
mode: rwidth".

Hi

There is no such tool in GRASS 6.x like "r.categorize" in
"vanilla" GRASS. I don't find it in Ubuntu Gutsy package either.

String "categorization mode" is not present in GRASS source.

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

--
View this message in context: http://www.nabble.com/Is-there-an-r.categorize-like-command-in-GRASS-6.3---tf4888091.html#a14013101
Sent from the Grass - Users mailing list archive at Nabble.com.