You can import 3D lines by providing 3 columns of data in the input stream and using the -z flag.
This script is a simple wrapper around the v.in.mapgen module.
v.in.lines in=- out=two_lines fs=, <<EOF 167.846717,-46.516653 167.846663,-46.516645 167.846656,-46.516644 167.846649,-46.516644 167.846642,-46.516643 NaN,NaN 167.846520,-46.516457 167.846528,-46.516461 167.846537,-46.516464 167.846535,-46.516486 167.846544,-46.516489 167.846552,-46.516493 EOF v.category in=two_lines out=lines_with_cats option=add
Last changed: $Date: 2010-01-09 05:24:26 -0800 (Sat, 09 Jan 2010) $
Main index - vector index - Full index
© 2003-2011 GRASS Development Team