GRASS logo

Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

NAME

v.in.ply - Creates a vector map from a PLY file.

KEYWORDS

vector, import

SYNOPSIS

v.in.ply
v.in.ply --help
v.in.ply [-tbp] input=name output=name [x=integer] [y=integer] [z=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-t
Do not create attribute table
-b
Do not build topology
-p
Only print PLY element types and their properties.
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=name [required]
Name of input file to be imported
'-' for standard input
output=name [required]
Name for output vector map
x=integer
Number of vertex property used as x coordinate
First vertex property is 1
Default: 1
y=integer
Number of vertex property used as y coordinate
First vertex property is 1
Default: 2
z=integer
Number of vertex property used as z coordinate
First vertex property is 1. If 0, z coordinate is not used
Default: 3

Table of contents

DESCRIPTION

v.in.ply imports a vector map in PLY vector format. A PLY file always holds a number of vertices which are imported as points. PLY vertices can have a number of properties in addition to their coordinates. These properties are stored in an attribute table. For larger PLY files with many vertices (> 1000) it is highly recommended to not use DBF as database driver, but SQLite (default in GRASS GIS 7), PostgreSQL or MySQL, because the DBF driver is rather slow and can consume a lot of memory. The database driver can be set with db.connect.

NOTES

v.in.ply is designed for large point clouds with the possibility to have only coordinates, and no attribute table (for speed reasons).

EXAMPLES

v.in.ply input=myfile.ply output=myfile

REFERENCES

http://paulbourke.net/dataformats/ply/
http://www.cc.gatech.edu/projects/large_models/ply.html

AUTHORS

Markus Metz

SOURCE CODE

Available at: v.in.ply source code (history)

Latest change: Mon Jun 28 07:54:09 2021 in commit: 1cfc0af029a35a5d6c7dae5ca7204d0eb85dbc55


Note: This addon document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade your GRASS GIS installation, and read the current addon manual page.

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2023 GRASS Development Team, GRASS GIS 7.8.8dev Reference Manual