Skip to content

Commit

Permalink
Minor updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed May 17, 2021
1 parent c5a44c9 commit fdcfe22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions io/LasHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ void LasHeader::setSrs()
if (m_nosrs)
return;

if (has14Format() && !useWkt())
if (has14PointFormat() && !useWkt())
{
m_log->get(LogLevel::Error) << "Global encoding WKT flag not set "
"for point format 6 - 10." << std::endl;
Expand All @@ -255,7 +255,7 @@ void LasHeader::setSrs()
// we can't be sure, so we check here.
try
{
if ((useWkt() && m_versionMinor >= 4) || has14Format())
if ((useWkt() && m_versionMinor >= 4) || has14PointFormat())
setSrsFromWkt();
else
setSrsFromGeotiff();
Expand Down
2 changes: 1 addition & 1 deletion pdal/compression/LazPerfVlrCompression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <lazperf/filestream.hpp>
#include <lazperf/vlr.hpp>
#ifndef LAZPERF_VERSION
#error "LAZperf version 1.3 (supporting LAS version 1.4) not found
#error "LAZperf version 2+ (supporting LAS version 1.4) not found
#endif

#include <pdal/util/IStream.hpp>
Expand Down

0 comments on commit fdcfe22

Please sign in to comment.