Opened 5 years ago

Last modified 3 months ago

#1341 new enhancement

LAZ support for liblas library

Reported by: kempenep Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive14.0
Component: OSGeoLive Keywords: liblas, laszip
Cc: live-demo@…

Description

It seems laszip is not installed. This has consequences for derived packages. For instance, the liblas API uses laszip for LAZ support (the lossless compression format of LAS). Packages that rely on the liblas library can therefore not support LAZ files either. Possibly, other packages are impacted as well (GRASS, lastools, ....?)

suggestion: 1) include laszip 2) enable LAZ support in cmake liblas (and potentially other packages)

Change history (10)

comment:1 Changed 5 years ago by Bas Couwenberg

LASzip is not yet packaged for Debian and derivatives, OSGeo-Live will have to use install scripts to support LAZ in libLAS until LASzip is packaged (there is not ITP yet).

comment:2 Changed 5 years ago by Bas Couwenberg

There is now LASzip packaging, see:

Unfortunately the LASzip source uses a modified copy of the FastAC (Readme, Source) algorithm whose license doesn't allow modification making it incompatible with the LGPL-2.1 license used by LASzip. See the thread started by the Debian FTP master feedback:

Comments regarding laszip_2.2.0-1_amd64.changes

I've contacted the FastAC authors asking them to consider relicensing the code, Amir Said replied that he would be glad to see it used in Free Software projects and asked what they needed to do. I've recommended using the BSD-2-Clause license which is close to the currently license of FastAC and most widely compatible with other Free Software licenses.

It has been very quiet ever since. I'll contact the libLAS & LASzip authors to restart the discussion around the troublesome FastAC code to hopefully get this issue resolved.

Last edited 3 years ago by Bas Couwenberg (previous) (diff)

comment:3 Changed 3 years ago by kalxas

Cc: live-demo@… added
Milestone: Unplanned
Priority: majornormal

I would like to see the license resolution before moving forward with this.

comment:4 in reply to:  3 Changed 3 years ago by Bas Couwenberg

Replying to kalxas:

I would like to see the license resolution before moving forward with this.

So do I. Unfortunately there has been no progress on the FastAC licensing since I last contacted Amir Said (in January 2015), I'll ping him again since it's been over a year now.

comment:5 Changed 20 months ago by TemptorSent

There is an alternate laszip library that appears to not be encumbered called laz-perf at https://github.com/hobu/laz-perf -- a cursory audit shows no obvious IP or license issues.

comment:6 Changed 16 months ago by darkblueb

bump 12dev; lasinfo shows version 1.8.1 , no laszip ?

comment:7 Changed 16 months ago by Bas Couwenberg

The LASzip license issue remains unresolved, so no LAZ support in libLAS.

Note that liblas is in maintenance mode, and no longer actively developed.

PDAL should be used instead, and is affected by the LASzip issue just like libLAS.

Last edited 7 months ago by Bas Couwenberg (previous) (diff)

comment:8 Changed 7 months ago by Bas Couwenberg

Quoting myself in the upstream issue:

Thanks for Tom "spot" Callaway of RedHat for Fedora Legal, the FastAC authors have agreed to relicense their code under the BSD-2-Clause license, see the attachments in the Bugzilla issue:

Bug 1674537 - LASzip contains FastAC code which does not allow modification

Direct links:

There is no new release of the FastAC code yet, once that's available the license issue preventing distributions from distributing LASzip should be resolved.

comment:9 Changed 3 months ago by kalxas

Milestone: UnplannedOSGeoLive14.0

comment:10 Changed 3 months ago by Bas Couwenberg

liblas is being removed from Debian (grass & pktools no longer build with it), it should likewise be removed from OSGeoLive.

GRASS supports PDAL, pktools does not. cloudcompare also only uses PDAL.

Note: See TracTickets for help on using tickets.