[GRASS-user] 3D lines to raster with elevation

Should v.to.rast be able to take a 3D line, and convert to raster with applicable Z values brought over?

This command:
v.to.rast input=line3d@PERMANENT output=line3d use=z type=line layer=1 rows=4096 --overwrite

outputs this:
Loading data…
Reading features…
Writing raster map…
Converted areas: 0 of 0
Converted points/lines: 0 of 1
v.to.rast complete.

When I query the 3D line in GRASS, it has Z values:
Map: line3d
Mapset: PERMANENT
Type: Line
Id: 1
Length: 1619.419511
Line height min: 97.439897
Line height max: 98.149869
Layer: 1
Category: 1

Mark

(answering self)
v.to.points seems to be a nice solution, as going from 3D line to raster, and capturing Z of line didnt output raster features.

Data went from 3D lines, to 3D points (verticies), to raster with Z.

On Mon, Mar 29, 2010 at 12:15 PM, M S <mseibel@gmail.com> wrote:

Should v.to.rast be able to take a 3D line, and convert to raster with applicable Z values brought over?

This command:
v.to.rast input=line3d@PERMANENT output=line3d use=z type=line layer=1 rows=4096 --overwrite

outputs this:
Loading data…
Reading features…
Writing raster map…
Converted areas: 0 of 0
Converted points/lines: 0 of 1
v.to.rast complete.

When I query the 3D line in GRASS, it has Z values:
Map: line3d
Mapset: PERMANENT
Type: Line
Id: 1
Length: 1619.419511
Line height min: 97.439897
Line height max: 98.149869
Layer: 1
Category: 1

Mark