Re: [GRASS-user] Raster 3D - keep cells between 2 surfaces (upper and lower bounds)

2019-02-01 Thread Francois Chartier
To keep the voxels between the upper DEM and lower bedrock surface, I am
trying to this by step using mapcalc.  as the DEM (GTADEM) is a 2d raster,
and the 3d raster (jan27551ten100) is '3D', it seems that r3.mapcalc can
only work with 3d raster as it does not recognize GTADEM.  the inverse
happens when using r.mapcalc.  if mapcalc cannot work with a mix of 2d and
3d rasters, how can i go around this?

r3.mapcalc LessThanDEM=jan27551tens100 <= GTADEM

Invalid map 
Parse error
ERROR: parse error

r.mapcalc LessThanDEM=jan27551tens100 <= GTADEM

Invalid map 
Parse error
ERROR: parse error
(Fri Feb 01 22:31

Le mer. 30 janv. 2019 à 21:23, Francois Chartier  a
écrit :

> Hi,
>
> I have a 3D raster showing an interpolation of soil texture using
> v.vol.rst.  The resulting raster is rectangular (with a resolution of 5x5x1
> m), and i would like to remove cells above the DEM and below top of
> bedrock.  I looked at r3mapcalc, as well as tried r3.out.vtk selecting top
> and bottom surface (on first tab) with and without selecting -s.
> I am not sure if this is possible.
>
> Thanks,
> Francois
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Upscaling an elevation model

2019-02-01 Thread Nikos Alexandris

Dear "elevation" experts,

I am looking for ways to upscale a 5m resolution elevation model.  The
upscaled models will be subjected to a series of trials using
`r.watershed`.  Derivative products will be inputs for soil erosion modelling.

In our wiki page about Interpolation [0], `r.resamp.stats` [1] is
presented as the only tool to resample a raster map to a coarser grid.
However, `r.resamp.rst` [2] also performs resampling to a lower
resolution.

[0] https://grasswiki.osgeo.org/wiki/Interpolation
[1] https://grass.osgeo.org/grass76/manuals/r.resamp.stats.html
[2] https://grass.osgeo.org/grass76/manuals/r.resamp.rst.html

While the target is to somewhat maintain "geomorphometric consistency"
across the different (coarser) scales, which tool is recommended?
For `r.resamp.stats`, would you recommend a resampling method other than
'average'?

Thank you, Nikos
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user