|
NAMEv.out.vtk - Converts a vector map to VTK ASCII output.KEYWORDSvector, export, output, VTKSYNOPSISv.out.vtkv.out.vtk --help v.out.vtk [-cn] input=name [layer=string] [output=name] [type=string[,string,...]] [precision=integer] [zscale=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui] Flags:
Parameters:
DESCRIPTIONv.out.vtk converts a GRASS vector map in binary format to the VTK ASCII output.If the output parameter is not given, the output will be send to stdout. NOTESThe following vector types can be exported together in one VTK ascii file:
3d vectors are supported by default. The created VTK data always includes x, y and z coordinates (z = 0 if not a 3d vector map). Note that you can easily convert your 2d vectors into 3d vectors with v.drape. Because of the 32bit limits of OpenGL which is used by VTK, visualisation errors may occur if the grass region contains coordinates greater than 1.000.000 and vector coordinates with 0.01 - 0.001 meters precisison. For this reason, the flag "-c" was added. The coordinates are transformed to smaller coordinates (by decreasing the coordinates with the region center). If the "-c" flag is used and the data should be visualised together with other data exported via *.out.vtk modules, be sure the "-c" flag was also set in these modules. But this will only work with data from the SAME location (The reference point for the coordinates transformation is based on the default region). The GRASS vector data is converted into the polydata format of VTK:
The VTK file can be visualized with VTK Toolkit, Paraview and MayaVi. AttentionIf areas or faces are exported, the data have to be triangulated within Paraview or MayaVi.EXAMPLESpearfish example:Export the soils with cats in layer 1:
v.out.vtk input=soils type=area layer=1 output=/tmp/soils.vtkExport the streams with cats in layer 1: v.out.vtk input=streams type=line layer=1 output=/tmp/streams.vtkWrite the archsite vtk output to stdout with cats in layer 1: v.out.vtk input=archsites type=point layer=1 SEE ALSOv.out.asciir.out.vtk r3.out.vtk AUTHORSoeren GebbertSOURCE CODEAvailable at: v.out.vtk source code (history)Main index | Vector index | Topics index | Keywords index | Graphical index | Full index © 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual
Visit the GSP FreeBSD Man Page Interface. |