Version 2.0.0
This release brings copc-lib up to current COPC.io spec at commit a6e8654. This includes removing support for PRDF 1-5 and adding support for CopcExtents. Additionally, the means of interacting with the LasHeader, CopcInfo, and other COPC elements were simplified under one CopcConfig
object. Other existing functions and variables were renamed, and the style format was explicitly defined.
[2.0.0] - 2021-10-28
Added
- [Python/C++] Add
CopcExtent
andCopcExtents
classes - [Python/C++] Add extended stats (mean/var) to
CopcExtent
using an additional Lazperf extents VLR (see README.md for more info). - [Python/C++] Add
GetCopcExtents
function toCopcConfig
- [Python/C++] Add
GetCopcExtents
andSetCopcExtents
functions toWriter
- [Python] Add
reader.extents
property - [Python/C++] Add
CopcInfo
class - [Python/C++] Add vector(c++)/list(python) constructor to
VoxelKey
- [Python/C++] Add
CopcConfig
class - [Python/C++] Add
GetCopcConfig
function toBaseIO
- [Python/C++] Support COPC Extents, WKT, and Extra Bytes as VLR or EVLR
- [Python/C++] Add
SetCopcExtents
andSetCopcInfo
toWriter
- [Python/C++] Add
LasHeaderBase
class - [Python/C++] Add
ToString
toLasHeader
class - [Python/C++] Add
VlrHeader
class - [Python/C++] Add a check for
WKT
byte inLasHeader::FromLazPerf
Changed
- [Python/C++] Supported LAS point formats are now strictly 6 to 8 throughout the library
- [Python/C++] Remove
point_count_14
,points_by_return_14
,header_size_
,wave_offset
, andversion
fromLasHeader
- [Python/C++] Change lazperf version requirement to > 2.1.0
- [Python/C++] Update autzen-classified.copc.laz test file to be latest official
- [Python/C++] Change use of
las::CopcVlr::span
toCopcInfo::spacing
- [Python/C++] Change
CopcConfig::GetWkt
return type fromlas::WktVlr
tostd::string
- [Python/C++] Rename
CopcConfig::GetCopc
toCopcConfig::GetCopcInfo
and now returns aCopcInfo
class - [Python/C++] Rename
Reader::GetCopcHeader
toReader::GetCopcInfo
and now returns aCopcInfo
class - [Python/C++]
VoxelKey::Resolution
andVoxelKey::GetResolutionAtDepth
now takeCopcInfo
argument instead oflas::CopcVlr
- [Python/C++] Remove
Writer::LasConfig
, now usingCopcConfig
instead. - [Python/C++]
Writer
andFileWriter
constructors now takes aCopcConfig
class as argument - [Python/C++] Rename
NumExtraBytes
toEbByteSize
- [Python] Change
reader.GetCopcHeader()
function toreader.copc_info
property - [Python] Change
reader.CopcConfig().LasHeader()
function toreader.las_header
property - [Python] Change
reader.CopcConfig().Wkt()
function toreader.wkt
property - [Python] Change
reader.CopcConfig().ExtraBytesVlr()
function toreader.extra_bytes_vlr
property - [C++] Add
create_test_data.py
andcreate_test_data.sh
to create data forwriter_node_test.cpp
- [Python] Make
VoxelKey.BaseKey
andVoxelKey.InvalidKey
static functions - [Python] Update
Point
andPoints
property names fromCamelCase
tounder_score
- [Python/C++] Rename
Reader::GetAllChildren(VoxelKey)
toReader::GetAllChildrenOfPage(VoxelKey)
- [Python/C++] Rename
Reader::GetAllChildren()
toReader::GetAllNodes()
- [C++] Rename
PointFormatID
toPointFormatId
- [C++] Rename
PointSourceID
toPointSourceId
- [C++] Rename
HasRGB
andHasNIR
toHasRgb
andHasNir
respectively - [C++] Rename
NIR
toNir
- [Python/C++] Rename
ScanAngleFloat
toScanAngleDegrees
- [Python] Rename
unscaled_x
,unscaled_y
,unscaled_z
tox
,y
,z
- [General] Rename CMake flag
WITH_TESTS_AND_EXAMPLES
toWITH_TESTS
- [Python/C++] Rename
Box::ZeroBox
toBox::EmptyBox
- [Python/C++] Rename
VoxelKey::BaseKey
toVoxelKey::RootKey