Skip to content

Commit

Permalink
Move comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Mar 10, 2020
1 parent 284693e commit 4df43a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/LasWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,11 @@ void LasWriter::addGeotiffVlrs()
/// \return Whether the VLR was added.
bool LasWriter::addWktVlr()
{
// LAS 1.4 requires WKTv1
std::string wkt = m_srs.getWKT1();
if (wkt.empty())
return false;

// LAS 1.4 requires WKTv1
std::vector<uint8_t> wktBytes(wkt.begin(), wkt.end());
// This tacks a NULL to the end of the data, which is required by the spec.
wktBytes.resize(wktBytes.size() + 1, 0);
Expand Down

0 comments on commit 4df43a6

Please sign in to comment.