[GRASS-user] filling inter-contour area with constant value

Moritz Lennert mlennert at club.worldonline.be
Mon Apr 28 00:46:12 PDT 2014


On 28/04/14 06:07, Venkatesh Raghavan wrote:
> Dear All,
>
> We are trying some morphological DEM interpolation algorithm which
> requires rasterized contour maps with constant values in intercontour
> areas. For example I like to fill the area between 10 and 20 meter,
> 20-30 meter vector contour lines with 15, 25m as constant value and
> save the output as a raster map.
>
> Is there an easy and fast way to do that in GRASS? Filling contour area
> using GNUplot [1] and exporting data as an image maybe one option,
> but I am wondering if there is another way.
>
> Best
>
> Venka
>
> [1]
> http://stackoverflow.com/questions/20977368/filled-contour-plot-with-constant-color-between-contour-lines

This stackoverflow question is about colors, not values. Which are you 
looking for exactly ?

For values, one option might be playing with r.grow.distance and its 
value= parameter.

Moritz


More information about the grass-user mailing list