Skip to content

plot3D raster and SpatialLinesDataFrame

2 messages · Giuseppe Amatulli, Paolo Piras

#
Hi,
I have a digital elevation model (raster) and the derived river network
(SpatialLinesDataFrame) and I would like to plot them in 3D (the dem and on
top the river network).

I use the command plot3D(dem) from the rasterVis package, but i do not know
how to overlap the river network SpatialLinesDataFrame . I tried to convert
the river in raster and use the  surface3d but did not work.

Any idea?

Thanks

Best Regards