addVLR
Description
addVLR(
adds the variable length record (VLR) data with the specified record ID and the user ID to
the lasWriter
,recordID
,userID
,vlrData
)lasFileWriter
object lasWriter
.
addVLR(___,
adds a
description for the VLR data.description
)
Examples
Input Arguments
Algorithms
A LAS or LAZ file contains a public header block, variable length records (VLR), point data records, and extended variable length records (EVLR). VLRs and EVLRs are optional.
VLRs contain data about the projection information, metadata, waveform, and user information. This table gives the list of some standard VLRs defined in the LAS specification.
Record ID | User ID | VLR Data |
0 | LASF_Spec | A character vector or a string representing the data from the
Classification Lookup record. |
3 | LASF_Spec | A character vector or a string representing the ASCII data from the
Text Area Description record. |
2111 | LASF_Projection | A character vector or a string representing the ASCII data from the
OGC Math Transform WKT record. |
2112 | LASF_Projection | A character vector or a string representing the ASCII data from the
OGC Coordinate System WKT record. |
34735 | LASF_Projection | An array of structures representing the data from the GeoTiff key entries
of the
|
34736 | LASF_Projection | A double vector representing the numeric values from the
GeoDoubleParamsTag record. |
34737 | LASF_Projection | A character vector or a string representing the ASCII data from the
GeoDoubleParamsTag record. |
Coordinate reference system (CRS) data in a LAS file is represented in the well know text (WKT) or GeoTIFF format.
VLRs with record IDs
2111
and2112
, with the user IDLASF_Projection
, represent the geo-referencing information for the CRS data using well known text (WKT), in LAS files with point data format, 6 to 10.VLRs with record IDs
34735
,34736
, and34737
, with the user IDLASF_Projection
, represent the CRS data using GeoTIFF, in LAS files with point data format, 1 to 5.
For more information on the LAS file format, see the ASPRS LASER (LAS) File Format Exchange Activities page.
Version History
Introduced in R2022b
See Also
lasFileWriter
| writePointCloud
| lasFileReader
| readVLR
| readCRS