<div dir="ltr">Hi,<div><br></div><div>I have a 2D raster map with scattered single cells (e.g. created by r.random.cells)</div><div>with lots of empty space (NaNs) between the cells. Each cell has a</div><div>value that represents actually the height of this cell. Now I'd like to transform</div><div>the 2D raster cells into a 3D raster where each cell should "grow in height"</div><div>so that the cells become independent 3D bars with a their specific height.</div><div>The bottom of the bars (i.e. the base elevation level where the "grow" out) should</div><div>be defined by another 2D raster map with base elevation levels.</div><div><br></div><div>The bars should than be exported to vtk to represent them in paraview.</div><div><br></div><div>I guess this can be done with r.to.rast3elev, but what is the input and what</div><div>the elevation map to use? What should be use for the upper and lower value?</div><div>And what is then the appropriate command to export  the bars with r3.out.vtk?</div><div><br></div><div><br></div><div>Here what I am doing so far to create the random cells</div><div>







<p class="">r.random.cells output=random_cells distance=40</p><p class="">r.null map=random_cells setnull=0<br></p><p class=""><br></p><p class="">Any suggestions?</p><p class=""><br></p><p class="">/Johannes</p></div><div><br></div></div>