Recent Releases of laspy

laspy - 2.6.1

Fixed

Fixed invalid import of m2r2

- Python
Published by tmontaigu 8 months ago

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.4

Fixed

  • Fix compatibility with numpy 2.0
  • Return None as CRS if WKT string is empty instead of having an exception from pyproj

- Python
Published by tmontaigu over 1 year ago

laspy - 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

- Python
Published by tmontaigu about 2 years ago

laspy - 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

- Python
Published by tmontaigu about 2 years ago

laspy - 2.5.1

Fixed

  • Fixed bug in laz backend handling in the CLI

- Python
Published by tmontaigu over 2 years ago

laspy - 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.

- Python
Published by tmontaigu over 2 years ago

laspy - 2.4.1

Fixed

  • Removed spurious print in copc.py and compression.py

- Python
Published by tmontaigu about 3 years ago

laspy - 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

- 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 LasHeader class, but are still accesible via LasReader.evlrs or LasData.evlrs.

Fixed

  • Fixed CRS parsing on fiels with both GeoKeyDirectoryVlr and WktCoordinateSystemVlr and the first one is empty
  • LasHeader.parse_crs also looks for the CRS VLRs in the EVLRs of the file.
  • Fixed LasHeader.generating_software and LasHeader.system_id being limited to 31 bytes instead of 32.
  • Fixed laspy.convert to ensure the returng LasData.evlrs is a Vlrlist and no simply a list

- 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.CRS as well as reading the CRS / SRS information from a LAS file to a pyproj.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.1.2

See the Changelog

- Python
Published by tmontaigu about 4 years ago

laspy - 2.1.1

See the Changelog

- Python
Published by tmontaigu about 4 years ago

laspy - 2.1.0

See the CHANGELOG

- Python
Published by tmontaigu about 4 years ago

laspy - 2.0.3

  • Fix function that parses geotiff VLRs
  • Fix handling of points with 'unregistered' extra bytes (PR #158)
  • Fix to handle empty LAS/LAZ more robustly

- Python
Published by tmontaigu over 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.1

  • Fix .min .max methods of array views
  • Ship the tests as part of the source distribution

- 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 pylas into laspy, 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 - 1.7.1

  • Fixed numpy version check (issue #128, PR #129)

- 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 seek method to LasReader

- Python
Published by tmontaigu over 4 years ago

laspy - 1.7.0

  • Fixed bug in point record format 5, 9 and 10 #105
  • Return explicit msg if laszip executable was not found #110
  • Supprt numpy 1.17 #122

- Python
Published by kbevers almost 6 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

- Python
Published by kbevers about 8 years ago