tmontaigu / pylas

⚠️ pylas was merged into laspy 2.0 https://github.com/laspy/laspy⚠️
BSD 3-Clause "New" or "Revised" License
39 stars 13 forks source link

Make do_compress optional if a LazBackend is provided #34

Closed tmontaigu closed 3 years ago

tmontaigu commented 3 years ago

If a laz_backend is provided to the LasWriter (or pylas.open) then it is not mandatory to also provide the do_compress parameter.

If laz_backend is provided and do_compress is None -> data will be compressed.

If laz_backend is provided and do_compress is False -> data will not be compressed

small change to avoid redundancy