Opened 2 years ago

Last modified 2 years ago

#772 new defect

LASzip is missing in lastools (e.g. las2las, lasinfo) in OSGeo4W Shell (Windows 11)

Reported by: Stefan Keller Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: lastools, laszip
Cc:

Description (last modified by jef)

(First issue submission was here https://github.com/qgis/QGIS/issues/51193 - now moved to the right place here)

When running e.g. lasinfo or las2las in cmd-line / OSGeo4W Shell the following error occurs:

error: Compression support not enabled in liblas configuration

Observations / Notes:

I think LASzip is missing in the packaging/compliling.

Running lasinfo or las2las in the cmd-line without params to show version header reveals:

lasinfo (libLAS 1.8.1 with GeoTIFF 1.4.2)

I expected:

lasinfo (libLAS 1.8.1 with GeoTIFF 1.4.2, LASzip n.n.n.)

What's also worth noting is that in bin (C:\Program Files\QGIS 3.22.13\bin), there is laszip3.dll but no laszip.dll. Renaming doesn't help.

Steps to reproduce the issue

Using QGIS 3.22.13 LTR or 3.28.1 (on Windows 11):

  1. Go to https://wheregroup.com/blog/details/visualisierung-und-manipulation-von-lidar-daten-mit-qgis-und-pdal/ and download the "LIDAR Testdaten aus OpeGeoData.NRW", unpack.
  2. Open OSGeo4W Shell and type "las2las" --> Check the header
  3. Paste the following into the command line:

lasinfo 3dm_32_510_5704_1_nw.laz
las2las 3dm_32_510_5704_1_nw.laz --output out.laz --extent "510100 5703500 510900 5704500"

Change History (2)

comment:1 by jef, 2 years ago

Description: modified (diff)

comment:2 by jef, 2 years ago

AFAIK liblas still depends on laszip2 and osgeo4w has laszip3.

Note: See TracTickets for help on using tickets.