[osgeo4w-dev] [osgeo4w] #772: LASzip is missing in lastools (e.g. las2las, lasinfo) in OSGeo4W Shell (Windows 11)

OSGeo4W trac_osgeo4w at osgeo.org
Wed Dec 14 05:47:20 PST 2022


#772: LASzip is missing in lastools (e.g. las2las, lasinfo) in OSGeo4W Shell
(Windows 11)
-----------------------------+----------------------------
Reporter:  Stefan Keller     |       Owner:  osgeo4w-dev@…
    Type:  defect            |      Status:  new
Priority:  major             |   Component:  Package
 Version:                    |  Resolution:
Keywords:  lastools, laszip  |
-----------------------------+----------------------------
Description changed by jef:

Old description:

> ''(First issue submission was here
> https://github.com/qgis/QGIS/issues/51193 - now moved to the right pace
> 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"

New description:

 ''(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"

--
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/772#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list