NiVO / BY TECHNOGISGermany · Indonesia
LiDAR

Keep Extra LiDAR Dimensions Through a LAS or LAZ Export

Build an attribute acceptance contract for a point-cloud export so a visually unchanged LAS or LAZ file does not silently lose the fields needed downstream.

Keep Extra LiDAR Dimensions Through a LAS or LAZ Export

A good-looking cloud can have an incomplete schema

A LiDAR export can preserve the shape of a road and the color of a building while losing the attribute used by a later analysis. Visual inspection alone will not reveal that a per-point identifier, height-above-ground value or processing flag disappeared. When a cloud moves between applications, treat its attribute schema as part of the deliverable. The receiving analyst needs to know which fields exist, their storage types, their meaning and how they were produced. This is especially relevant when extra dimensions sit outside the standard point record and are easy to overlook in an export dialog.

This article proposes an acceptance contract for a controlled LAS or LAZ export. Examples of field names and counts are illustrative; they are not fields guaranteed by a NiVO payload or a record of an actual survey. The workflow does not assess ranging accuracy, classification correctness or the fitness of a particular aircraft and sensor combination. It addresses a narrower question: whether a conversion preserves the information that the next processing step actually requires, and whether any intentional changes are documented rather than discovered after delivery.

Agree the attribute contract before conversion

Write a short contract with the receiving analyst before choosing an export preset. For each required field, record the name, units or categorical meaning, expected type, missing-value rule and source. Separate raw observations from derived values. A field called HeightAboveGround needs a reference surface and method description; its name alone does not explain whether the numbers are metres, feet or an arbitrary intermediate result. A stable point identifier needs a policy for duplicated, split or filtered points. These definitions are project decisions and should survive outside the software session that created them.

Include standard information in the contract as well: coordinate reference definition, point format, record count, coordinate scale and offsets, classification and any flags required by the task. Decide whether the export is intended to retain every point or deliberately select a subset. If it is a subset, define the selection independently of the output count. This prevents an audit from accepting a file merely because it contains roughly the expected number of points. Reserve a place for unsupported attributes so a tool limitation becomes an explicit exception instead of silent data loss.

NiVO VTOL V5 product image showing the fixed wing and vertical-lift rotors
NiVO VTOL V5 product image showing the fixed wing and vertical-lift rotors.Source: NiVO / TechnoGIS catalogue materials supplied by the site owner · Catalogue photo
Product context only; this photograph does not depict the constructed examples in this article.

Inspect the input schema and the writer’s behavior

Use an inspection tool that exposes schema and metadata rather than relying on the fields currently shown in a viewer. PDAL info provides schema, metadata and summary reports. Save the reports for the exact approved input and repeat them for the export. Run the commands below on a working copy, adjusting filenames to your package. The schema report identifies exposed dimensions and types; it does not establish their scientific meaning. Reconcile each required dimension with the contract and investigate unexpected names before attempting conversion.

PDAL’s LAS writer documents extra_dims for dimensions beyond those stored in the selected standard point format, and writes an Extra Bytes variable length record describing those dimensions. Its forward option handles selected header information, with specific exclusions and override behavior. Those are distinct concerns. Forwarding a header should not be assumed to preserve every point attribute, and asking for extra dimensions does not establish correct coordinate scaling. Review the actual writer settings and the installed version’s documentation, then define the export deliberately instead of treating a default rewrite as a neutral operation.

pdal --version
pdal info input.laz --schema > input-schema.json
pdal info input.laz --metadata > input-metadata.json
pdal info input.laz --summary > input-summary.json
pdal info exported.laz --schema > exported-schema.json
pdal info exported.laz --metadata > exported-metadata.json
pdal info exported.laz --summary > exported-summary.json

Use a small discriminating trial before the full export

Prepare a small approved test cloud whose required fields contain distinguishable values, including legitimate edge cases. If every extra field contains zero, losing it and replacing it with zero may look like success. Include several different categories and nonuniform derived values where the contract permits them. Keep the untouched test input and the exact export settings. This trial is for checking the data path, not for demonstrating sensor performance. Do not insert artificial records into an operational survey and then forget that they are synthetic.

For a constructed example, suppose the input contains 1000 points and two required extra dimensions named ReviewFlag and HeightAboveGround. If the exported cloud still contains 1000 coordinates but only one of the two dimensions, the point-count check passes while the attribute contract fails. Report that as one missing required dimension, not a percentage of spatial accuracy. Next compare actual values. A field can retain its name while a type conversion truncates fractional values or changes missing-data handling. Matching names and matching counts are useful gates, but neither is enough to demonstrate value preservation.

Distinguish compression from a processing rewrite

LASzip documents lossless compression and a LAS-to-LAZ-to-LAS round trip that reconstructs a bit-identical LAS. That describes a compression path. A general read-filter-write pipeline may instead change point format, regenerate metadata, reorder points or apply new coordinate quantization. A smaller LAZ file and a visually identical cloud do not prove that such a pipeline preserved all information. State which operation you performed. Compare the reconstructed bytes when testing an exact archival compression path; use a declared semantic comparison when the processing intentionally changes the representation.

For semantic comparison, define stable correspondence before comparing records. If a tool reorders points, comparing row one with row one can produce false differences. If duplicate coordinates exist, coordinates alone may not identify a unique original point. Use an approved stable identifier when available or establish a documented matching rule that reports ambiguity. Compare required categorical values exactly, and define justified tolerances for deliberately converted numeric fields. Retain mismatch examples so another analyst can reproduce the failure. A summary minimum and maximum can miss many changed values in the middle.

Read back with the receiving tool and release exceptions

Read the export with both the inspection tool and the actual receiving application. PDAL’s LAS reader documents limitations that matter for interoperability, including unsupported waveform point formats and special handling of Extra Bytes array types. A field readable in one application may not appear under the same representation in another. Check the consumer’s required dimensions explicitly and test a downstream operation that uses them. If a value appears only after a manual import setting, include that setting in the delivery instructions and verify it in a clean session.

Release the cloud with the contract, exact export settings, tool versions, comparison result and an exception register. Separate a verified preserved field from an omitted field and from an untested field. If a required attribute cannot survive the chosen format or consumer, agree an alternate delivery before acceptance; do not silently substitute a spreadsheet that cannot be joined reliably to the points. Retain the original cloud and the test evidence privately. A defensible handoff says which information survived and how that was checked, while the project’s separate measurement and classification assessment explains the quality of the underlying observations.

Technical references

  1. PDAL LAS writer: header forwarding and extra dimensions ↗
  2. PDAL LAS reader: supported formats and Extra Bytes handling ↗
  3. PDAL info: schema, metadata and summary inspection ↗
  4. LASzip: lossless compression and round-trip example ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team