writers.ply

The ply writer writes the polygon file format, a common file format for storing three dimensional models. The rply library is included with the PDAL source, so there are no external dependencies.

Use the storage_mode option to choose the type of ply file to write. You can choose from:

  • default: write a binary ply file using your host’s byte ordering. If you do not specify a storage_mode, this is the default.
  • ascii: write an ascii file (warning: these can be HUGE).
  • little endian: write a binary ply file with little endian byte ordering.
  • big endian: write a binary ply file with big endian byte ordering.

Example

<?xml version="1.0" encoding="utf-8"?>
<Pipeline version="1.0">
  <Writer type="writers.ply">
    <Option name="filename">outputfile.ply</Option>
    <Option name="storage_mode">little endian</Option>
    <Reader type="readers.las">
      <Option name="filename">inputfile.las</Option>
    </Reader>
  </Writer>
</Pipeline>

Options

filename
ply file to write [Required]
storage_mode
Type of ply file to write [default: host-ordered binary]