Laspy

Latest version: v2.5.3

Safety actively analyzes 613568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.5.3

Fixed
- Properly install laspy/cli/core.py file
- Don't install CLI tests as part of the package (tests/cli/*)
- Explicitly added 'rich' as a dependency of CLI feature

2.5.2

Fixed
- When trying to write more points than what is possible, now a
proper error is raised.

Added
- `CopcReader.open` now accepts file-like objects.
- Add `filter` command to CLI

2.5.1

Fixed
- Fixed bug in laz backend handling in the CLI

2.5.0

Added
- Added optional CLI. It can be installed using the `cli` extra
(`pip install laspy[cli]`). It has `info`, `compress`, `decompress`, `convert`
and `copc query` commands.
- Added a `prefer_wkt` option to `LasHeader.parse_crs`
(true by default) to prefer (or not) WKT VLR over Geotiff VLR
in case both are present in the file.

Fixed
- laspy.open will now properly close the opened file
if an exception is raised.
- Wavepackets's `return_point_wave_location` is now
properly returned as as float32 and not an uint32.
- `parse_crs` properly checks that ProjectedCRSGeoKey/GeodeticCRSGeoKey
is in range of EPSG code before using pyproj to parse it.
- Missing `super.__init__()` in `CopcHierarchyVlr`.
- Copc no longer include the hierarchy page twice
- A LasHeader with a custom `creation_date`/`date` will
no longer be reset to `date.today` upon writing.

---

2.4.1

Fixed
- Removed spurious `print` in copc.py and compression.py

2.4.0

Added
- `read_evlrs` option (default true) to `laspy.open`, `laspy.LasReader.__init__` and `laspy.LasHeader.read_from`
Which allows to skip reading the EVLRs when opening a file. This can be useful when
opening a LAS file from a non seekable source / where seeking is expensive as reading
EVLRs requires seeking to the end of the file.
- Selective decompression feature that allows to select in a LAS 1.4 (fmt >= 6 && <= 10)
which fields should be decompressed allowing to save time by decompressing only the fields
that are needed. Works with LAZ and COPC files.

Changed
- The internal point reader is lazily created when the first point is actually read

Fixed
- LasAppender when input file's last chunk is complete
- Handle redundant CSs in GeoKeyDirectoryVlr

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.