Skip to content

Commit

Permalink
Merge pull request #790 from /issues/789-dataformat_id-metadata-output
Browse files Browse the repository at this point in the history
output dataformat_id as metadata for LAS reader
  • Loading branch information
hobu committed Mar 7, 2015
2 parents 1e3970a + 4610ad4 commit 4458b32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions io/las/LasReader.cpp
Expand Up @@ -228,6 +228,9 @@ void LasReader::extractHeaderMetadata(MetadataNode& m)
m.add<uint32_t>("minor_version",
static_cast<uint32_t>(m_lasHeader.versionMinor()),
"The minor LAS version for the file");
m.add<uint32_t>("dataformat_id",
static_cast<uint32_t>(m_lasHeader.pointFormat()),
"LAS Point Data Format");
if (m_lasHeader.versionAtLeast(1, 1))
m.add<uint32_t>("filesource_id",
static_cast<uint32_t>(m_lasHeader.fileSourceId()),
Expand Down

0 comments on commit 4458b32

Please sign in to comment.