Re: [GRASS-dev] [GRASS GIS] #2665: d.* modules not working from python or bash scripts (GRASS 7.0, Linux / Windows7)

2015-04-30 Thread GRASS GIS
#2665: d.* modules not working from python or bash scripts (GRASS 7.0, Linux / Windows7) -+- Reporter: santipardo | Owner: grass-dev@… Type: defect | Status: new Priority: minor |

Re: [GRASS-dev] [GRASS GIS] #2665: d.* modules not working from python or bash scripts (GRASS 7.0, Linux / Windows7)

2015-04-30 Thread GRASS GIS
#2665: d.* modules not working from python or bash scripts (GRASS 7.0, Linux / Windows7) -+- Reporter: santipardo | Owner: grass-dev@… Type: defect | Status: new Priority: normal |

Re: [GRASS-dev] r.relief

2015-04-30 Thread Helena Mitasova
I think that user should do the conversion (in most cases it needs to be reinterpolated). I think that the current behavior is right for many reasons, Helena On Apr 30, 2015, at 8:25 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, When running r.relief (in GRASS7.1) on a integer

[GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
Hi, When running r.relief (in GRASS7.1) on a integer DEM raster, the output is an integer map. Is this intended behavior? Would it be possible to have r.relief convert the layer to double precision / float automatically if the DEM is of CELL type? Paulo

Re: [GRASS-dev] r.relief

2015-04-30 Thread Markus Neteler
On Thu, Apr 30, 2015 at 2:25 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, When running r.relief (in GRASS7.1) on a integer DEM raster, the output is an integer map. Is this intended behavior? It appears to be hardcoded: raster/r.relief/main.c int out_type = CELL_TYPE; ... but

Re: [GRASS-dev] r.relief

2015-04-30 Thread Helena Mitasova
In areas of low relief the integer DEMs have steps (you get alternating flat and steep areas, with steep areas along contours which you may be seeing in your shaded relief map), so when you run r.relief and you get a nice smooth map because the data were converted to float using bilinear

Re: [GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
Out of curiosity, what are those reasons? From a user perspective it might not be that obvious (well, it wasn't for me at least). If the current implementation is maintained, perhaps it would be useful to add a note to the manual page? Paulo On 30-04-15 15:15, Helena Mitasova wrote: I

[GRASS-dev] Rendering from command line does not respect size

2015-04-30 Thread Vaclav Petras
Hi, I was trying to render some maps automatically but I'm having problems with setting the size of the image. I set size like this: export GRASS_RENDER_HEIGHT=1350 export GRASS_RENDER_WIDTH=1500 But with cairo I get still the default size: d.mon cairo d.rast aspect # map.png size is now

Re: [GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
Thanks for the explanation, and yes, it does makes sense to leave it as an option to the user. Rgds, Paulo On 30-04-15 16:44, Helena Mitasova wrote: In areas of low relief the integer DEMs have steps (you get alternating flat and steep areas, with steep areas along contours which you may be