Re: [GRASS-user] How to rescale an aspect map

2012-02-11 Thread Daniel Victoria
No sure if I understood what you asked but here we go. First I'd rescale (r.rescale) the aspect to the desired directions. Take a look at the r.slope.aspect man page [1] to see what the aspect values represent Then I'd rescale the directions map to the weights you mention. Hope it helps Daniel

[GRASS-user] How to rescale an aspect map

2012-02-08 Thread leonidas
I need to rescale an aspect map in a scale 0-255 where North = 0 and SE=255. Finally I need to assign weights as follow: 0.02N 0.02NE 0.12E 0.34SE 0.20S 0.18SW 0.08W 0.03NW Thank you! -- View this message in context:

Re: [GRASS-user] How to rescale

2012-01-11 Thread Moritz Lennert
On 09/01/12 20:42, leonidas wrote: I created a raster using *r.grow.distance* I need to rescale that file to a scale 0-255 but in reverse order where high values in distance file will be converted in low values to the rescaled file. I'm using the following command: r.recode input=dist_file

[GRASS-user] How to rescale

2012-01-09 Thread leonidas
I created a raster using *r.grow.distance* I need to rescale that file to a scale 0-255 but in reverse order where high values in distance file will be converted in low values to the rescaled file. I'm using the following command: * * But the output file has a range 60-255 What's going wrong? Is

Re: [GRASS-user] How to rescale

2012-01-09 Thread Markus Metz
On Mon, Jan 9, 2012 at 8:42 PM, leonidas leonidas_lia...@yahoo.gr wrote: I created a raster using *r.grow.distance* I need to rescale that file to a scale 0-255 but in reverse order where high values in distance file will be converted in low values to the rescaled file. I'm using the