Skip to content

Commit

Permalink
fix #92, writing invalid VLR count
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Nov 25, 2021
1 parent 2b45920 commit c28d537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bu/CopcSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ CopcSupport::CopcSupport(const BaseInfo& b) : m_b(b),
m_header.offset.x = b.offset[0];
m_header.offset.y = b.offset[1];
m_header.offset.z = b.offset[2];
m_header.vlr_count = 4;
m_header.vlr_count = 3;

//IMPORTANT: We have to calculate the point offset here so that we can start writing
// points to the proper location immediately. This means knowing the sizes of the VLRs
Expand Down

0 comments on commit c28d537

Please sign in to comment.