Recent Releases of laspy
laspy - 2.6.0
Fixed
- Bump lazrs to fix a bug that could happen in append mode (compatibility with older lazrs preserved, but without the fix)
- Bug in COPC where node with 0 points where not respected
- Fixed minimum values computed by laspy info
- The number of points by return is now correctly 64-bit and not 32-bit
- ScaledArrayView setitem/getitem whe index is in the form of [something, index]
Added
- Add copy method to LasHeader
- When the points given to the LasWriter.write_points are of type ScaleAwarePointRecord laspy now automatically rescale the points.
- ExtraBytesParams have a nodata attribute to specify which value is the nodata value
- min and max of extra bytes are now 'tracked' when writing, and their respective fields in the extra-bytes struct are populated
- laspy.open 'encoding_error' argument is also available to laspy.read (This argument can be used to how text encoding errors should be handled)
- Python
Published by tmontaigu 8 months ago
laspy - 2.5.0
Added
- Added optional CLI. It can be installed using the
cliextra (pip install laspy[cli]). It hasinfo,compress,decompress,convertandcopc querycommands. - Added a
prefer_wktoption toLasHeader.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_locationis now properly returned as as float32 and not an uint32. parse_crsproperly checks that ProjectedCRSGeoKey/GeodeticCRSGeoKey is in range of EPSG code before using pyproj to parse it.- Missing
super.__init__()inCopcHierarchyVlr. - Copc no longer include the hierarchy page twice
- A LasHeader with a custom
creation_date/datewill no longer be reset todate.todayupon writing.
- Python
Published by tmontaigu over 2 years ago
laspy - 2.4.0
Added
read_evlrsoption (default true) tolaspy.open,laspy.LasReader.__init__andlaspy.LasHeader.read_fromWhich 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
- Python
Published by tmontaigu about 3 years ago
laspy - 2.3.0
Changed
- EVLRs are now read during the file opening part.
- EVLRs are now part of the
LasHeaderclass, but are still accesible viaLasReader.evlrsorLasData.evlrs.
Fixed
- Fixed CRS parsing on fiels with both
GeoKeyDirectoryVlrandWktCoordinateSystemVlrand the first one is empty LasHeader.parse_crsalso looks for the CRS VLRs in the EVLRs of the file.- Fixed
LasHeader.generating_softwareandLasHeader.system_idbeing limited to 31 bytes instead of 32. - Fixed
laspy.convertto ensure the returngLasData.evlrsis aVlrlistand no simply alist
- Python
Published by tmontaigu over 3 years ago
laspy - 2.2.0
2.2.0
Added
- Added support for querying COPC LAZ files via a new class
CopcReader. - Added new optional feature to support adding CRS / SRS to a LAS file from a
pyproj.CRSas well as reading the CRS / SRS information from a LAS file to apyproj.CRS.
Fixed
- Fixed support for stream / source that are not
seekable.
Changed
- Support for Python3.6 removed.
- Python
Published by tmontaigu over 3 years ago
laspy - 2.2.0 beta 0
Added
- Added new optional feature to support adding CRS / SRS to a LAS file from a pyproj.CRS as well as reading the CRS / SRS information from a LAS file to a pyproj.CRS.
Changed
- Support for Python3.6 removed.
- Python
Published by tmontaigu almost 4 years ago
laspy - 2.0.2
- Fix system_identifier reading by ignoring non ascii characters instead of erroring ,(issue #148, PR #149).
- Fix LasData.change_scaling method.
- Update minimum lazrs version which allows to:
- Fix Appending in LAZ files.
- Improve memory usage when reading/writing. (issue #152)
- Python
Published by tmontaigu over 4 years ago
laspy - 2.0.0
New major version of laspy with many improvements and also some breaking changes.
- Overhaul of the internals by essentially incorporating
pylasintolaspy, while the API to retrieve and set dimensions stayed the same, other parts changed and will require adaptation. - Better LAZ support
- Added support for writing LAZ
- Changed decompression mechanism by using either laszip python bindings (and not laszip-cli) or lazrs
- Added ability to read and write LAS/LAS in stream / chunked mode.
- Changed laspy to support the reading and writing of LAS/LAZ data from and to file-objects and bytes
- Dropped support for python2.7, python3.6+ is supported.
- Python
Published by tmontaigu over 4 years ago
laspy - 2.0.0 alpha 3
- Added possibility to create extradimensions by specifying the type using numpy's dtype (strings are still accepted)
- Python
Published by tmontaigu over 4 years ago
laspy - 2.0.0 alpha 2
- Fixes to ArrayViews
- Added methods to make creation of point records easier
- Added
seekmethod toLasReader
- Python
Published by tmontaigu over 4 years ago
laspy - Laspy 1.6.0
Version 1.6.0
- Bug fix (
#92 <https://github.com/laspy/laspy/issues/92>_) - Test creation of all valid custom dimension data types
- Modify handling of extra bytes to be char data instead of numeric byte data
- Python
Published by kbevers over 6 years ago
laspy - Laspy 1.5.1
Version 1.5.1
- Bug fixes (#67, #75, b02b40900b5)
- Allow usage of
laszip-cliwhen working with LAZ files #77)
- Python
Published by kbevers about 8 years ago