[GRASS-user] Filling 2D polygons NVIZ?

RichardC richtcooper at hotmail.com
Sun Sep 8 01:08:38 PDT 2013


Hi,

I was wondering if there are any plans to enable filling of 2D polygons in
NVIZ.

I'm using GRASS 7 but it appears that this feature currently isn't
available.

My workaround is summarised below, but perhaps someone could suggest a
simpler approach. Overlaying a rasterised vector derived simply from
v.to.rast does not give a good display in NVIZ given the topography of the
base DEM layer, hence the method below which extracts DN values from the
DEM. 

Summary:
convert 2D polygon to raster (v.to.rast)
create mask from latter raster
add mask  (r.mask) and create new layer using r.mapcalc extracting cell
values from DEM: if( dem,dem,0 )
set colour of new raster using r.colors
in NVIZ set Z position of new layer above DEM (e.g., 100) 

Cheers, 
Richard
GRASS 7
Version: 57592




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Filling-2D-polygons-NVIZ-tp5076683.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list