LASzip ERROR: "compressed with an experimental version of laszip"

333 views
Skip to first unread message

Martin Isenburg

unread,
Jul 12, 2014, 8:27:14 AM7/12/14
to The LAS room - a friendly place to discuss specifications of the LAS format, LAStools - efficient command line tools for LIDAR processing, HAREN Tod H
Hello,

occasionally I get emails like the one below. This error message
indicates that the LAS file was compressed with an old "academic
prototype" version of laszip.exe that I - at the time - had been put
on my Web page merely to accompany a paper on LiDAR point compression
without reordering that I was writing. I was suprised to find out
later that some companies and agencies had downloaded my
proof-of-concept compressor and used it in actual production work and
to deliver LiDAR data. A bit more on the hisotry of LASzip here

http://groups.google.com/d/topic/lastools/54piq8kfuWk/discussion

So whenever you encounter the error message below you have one of
those pre 2011 LASzip encoded LAS files. In this case please do as you
are told: I have kept a number of those older laszip.exe prototype
compressors around in order to help you recover the academic
legacy-coded content that the officially released open source LASzip
compressor doesn't support.

ERROR: this file was compressed with an experimental version of laszip
ERROR: please contact 'martin....@rapidlasso.com' for assistance.
ERROR: cannot open lasreaderlas with file name 'c:\temp\44123A7307.laz'
ERROR: cannot open lasreader

Regards,

Martin @rapidlasso

On Sat, Jul 12, 2014 at 1:04 AM, HAREN Tod H <tod.h...@state.or.us> wrote:
> I am trying to process some lidar tiles that were compressed with laszip,
> but get the following error when I use lasinfo.exe. Also, attempting to
> read the header using liblas with Python raises an error. Both lastools and
> liblas are most recent versions. I have also tried processing these files
> with the FUSION tools, which includes version 2.2 of laszip.dll, but I get
> the same basic error message. The date on the laz files is 6/20/2011. We
> may be able to locate the laszip executable that was used to do the
> compression in a project folder, but short of that is there another
> solution?
>
> lasinfo.exe error:
> ERROR: this file was compressed with an experimental version of laszip
> ERROR: please contact 'martin....@rapidlasso.com' for assistance.
> ERROR: cannot open lasreaderlas with file name 'c:\temp\44123A7307.laz'
> ERROR: cannot open lasreader
>
> FUSION catalog.exe error message:
> Catalog v2.11 (FUSION v3.42) (Built on Mar 28 2014 09:43:58) DEBUG
> Using LASzip.dll (c) Martin Isenburg--Rapidlasso for LAS/LAZ file access
> LASzip.dll V2.2 r0 (build 130917)
> Command line: c:\FUSION\catalog.exe c:\temp\44123A7307.laz
> Run started: Fri Jul 11 15:59:35 2014
> Scanning file 1 of 1: c:\temp\44123A7307.laz...No data or only a single
> point in file...file not included in catalog
> Validation image file produced:
> Catalog.html Jul 11, 2014 @ 3:59 PM
> Run finished: Fri Jul 11 15:59:35 2014 (elapsed time: 0 seconds)
>
> Done
>
> LASzip DLL error: this file was compressed with an experimental version of
> LASzip. contact 'martin....@rapidlasso.com' for assistance
>
> Thanks for your help and an otherwise great lidar utility.
>
> Tod Haren
> Oregon Dept. of Forestry
> (503) 945-7370

Daniel Gann

unread,
Feb 1, 2021, 7:35:22 AM2/1/21
to LAStools - efficient tools for LiDAR processing
Hi Martin,

Thank you for the invitation to this group.  I searched for the error message and found a response for this type of error here.  The files I am trying to convert are 2017 compressed LiDAR files. But if I understood correctly, the agency might have used the pre-2011 version of LAS tools to compress their 2017 data? 

So whenever you encounter the error message below you have one of
those pre 2011 LASzip encoded LAS files. In this case please do as you
are told: I have kept a number of those older laszip.exe prototype
compressors around in order to help you recover the academic
legacy-coded content that the officially released open source LASzip
compressor doesn't support.


Where can I access the older version of the LASzip.exe that might have been used for compression?

Thank you for the quick response and the great tools you developed over the years.

Daniel

Martin Isenburg

unread,
Feb 1, 2021, 7:47:49 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
Hello Daniel,

for files from 2017 it is highly unlikely that this "old academic prototype" of LAStools was used. Most likely something else triggers this error message, something that may require fixing. Can you upload a small sample LAZ file for where this happens to some cloud service and share a link with me?

Regards,

Martin


--
Download LAStools at
http://lastools.org
http://rapidlasso.com
Be social with LAStools at
http://facebook.com/LAStools
http://twitter.com/LAStools
http://linkedin.com/groups/LAStools-4408378
Manage your settings at
http://groups.google.com/group/lastools/subscribe
---
You received this message because you are subscribed to the Google Groups "LAStools - efficient tools for LiDAR processing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lastools+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lastools/87c6680d-b610-45c6-b99f-54e0e3ac38d7n%40googlegroups.com.

Daniel Gann

unread,
Feb 1, 2021, 8:17:06 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
Yes, I agree that would be a bit strange.
I got the files here:


Does this work for you to test?

Thanks,

Daniel

---
Daniel Gann
Assistant Professor
Department of Biological Sciences
Florida International University
Miami, FL 33199
phone: 305-348-1971

From: last...@googlegroups.com <last...@googlegroups.com> on behalf of Martin Isenburg <martin....@gmail.com>
Sent: Monday, February 1, 2021 7:47 AM
To: LAStools - efficient command line tools for LIDAR processing <last...@googlegroups.com>
Subject: Re: [LAStools] Re: LASzip ERROR: "compressed with an experimental version of laszip"
 

Note: This message originated from outside the FIU Faculty/Staff email system.


Kirk Waters - NOAA Federal

unread,
Feb 1, 2021, 8:32:17 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
That is odd. We never used (or even had) that experimental version of laszip.

Kirk Waters, PhD, BJCP          | NOAA Office for Coastal Management
Applied Sciences Program      | 2234 South Hobson Ave
843-740-1227 (empty office)   | Charleston, SC 29405
843-324-2203 (cell during COVID)    



Martin Isenburg

unread,
Feb 1, 2021, 8:35:12 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
No problems for me:

E:\software\LAStools\bin>laszip -check -i c:\Users\Martin\Downloads\20161228_FL_PalmBeachCo_2016_692500_725000.laz
SUCCESS for 'c:\Users\Martin\Downloads\20161228_FL_PalmBeachCo_2016_692500_725000.laz'

E:\software\LAStools\bin>lasinfo -i c:\Users\Martin\Downloads\20161228_FL_PalmBeachCo_2016_692500_725000.laz
lasinfo (210128) report for 'c:\Users\Martin\Downloads\20161228_FL_PalmBeachCo_2016_692500_725000.laz'
reporting all LAS header entries:
  file signature:             'LASF'
  file source ID:             0
  global_encoding:            17
  project ID GUID data 1-4:   748E0B39-AA3E-4B84-0000-000000000000
  version major.minor:        1.4
  system identifier:          'NOAA OCM'
  generating software:        'datum_shift (0 )'
  file creation day/year:     164/2018
  header size:                375
  offset to point data:       6272
  number var. length records: 3
  point data format:          6
  point data record length:   30
  number of point records:    0
  number of points by return: 0 0 0 0 0
  scale factor x y z:         0.0000001 0.0000001 0.01
  offset x y z:               -80 26 0
  min x y z:                  -80.8890694 26.3282080 -85.61
  max x y z:                  -80.8814297 26.3350918 104.45
  start of waveform data packet record: 0
  start of first extended variable length record: 28359415
  number of extended_variable length records: 0
  extended number of point records: 7151236
  extended number of points by return: 6004909 979295 152888 13472 655 17 0 0 0 0 0 0 0 0 0
variable length header record 1 of 3:
  reserved             0
  user ID              'LASF_Spec'
  record ID            7
  length after header  985
  description          'OGC WKT Coordinate System'
variable length header record 2 of 3:
  reserved             0
  user ID              'LASF_Spec'
  record ID            0
  length after header  4096
  description          'Classification Lookup'
    0 Never Classifie    1 Unclassified    2 Ground    3 Low Vegetation    4 Medium Vegetati    5 High Vegetation    6 Building    7 Low Point (nois    8 Model Key Point    9 Water    10 Ignore
d     11 Road Surface    12 Reserved    13 Wire - Guard    14 Wire-Conductor    15 Transmission To    16 Wire-structure     17 Bridge Deck    18 High Noise    19     20     21     22     23
 25     26     27     28     29     30     31     32     33     34     35     36     37     38     39     40     41     42     43     44     45     46     47     48     49     50     51     52
    54     55     56     57     58     59     60     61     62     63     64 Flown Outside o    65 Temporal Ground    66     67     68     69     70     71     72     73     74     75     76
  78     79     80     81     82     83     84     85     86     87     88     89     90     91     92     93     94     95     96     97     98     99     100     101     102     103     104
    106     107     108     109     110     111     112     113     114     115     116     117     118     119     120     121     122     123     124     125     126     127     128     129
    131     132     133     134     135     136     137     138     139     140     141     142     143     144     145     146     147     148     149     150     151     152     153     154
    156     157     158     159     160     161     162     163     164     165     166     167     168     169     170     171     172     173     174     175     176     177     178     179
    181     182     183     184     185     186     187     188     189     190     191     192     193     194     195     196     197     198     199     200     201     202     203     204
    206     207     208     209     210     211     212     213     214     215     216     217     218     219     220     221     222     223     224     225     226     227     228     229
    231     232     233     234     235     236     237     238     239     240     241     242     243     244     245     246     247     248     249     250     251     252     253     254

variable length header record 3 of 3:
  reserved             0
  user ID              'LASF_Projection'
  record ID            2112
  length after header  652
  description          'by LAStools of rapidlasso GmbH'
    WKT OGC COORDINATE SYSTEM:
    COMPD_CS["NAD83(2011); NAVD88 height",GEOGCS["NAD83(2011)",DATUM["NAD83_National_Spatial_Reference_System_2011",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY
,"1116"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","6318"]],VERT_CS["NAVD88 height",VERT_DATUM["North American
l Datum 1988",2005,EXTENSION["PROJ4_GRIDS","g2012a_conus.gtx,g2012a_alaska.gtx,g2012a_guam.gtx,g2012a_hawaii.gtx,g2012a_puertorico.gtx,g2012a_samoa.gtx"],AUTHORITY["EPSG","5103"]],UNIT["Foot_US
8006096012192],AXIS["Up",UP],AUTHORITY["EPSG","5703"]]]
the header is followed by 2 user-defined bytes
LASzip compression (version 3.4r1 c3 50000): POINT14 3
reporting minimum and maximum for all LAS point record entries ...
  X            -8890694   -8814297
  Y             3282080    3350918
  Z               -8561      10445
  intensity           1       3813
  return_number       1          6
  number_of_returns   1          6
  edge_of_flight_line 0          0
  scan_direction_flag 0          0
  classification      1         18
  scan_angle_rank   -31         15
  user_data           0          0
  point_source_ID     2          3
  gps_time 166990440.324050 166990626.865244
  extended_return_number          1      6
  extended_number_of_returns      1      6
  extended_classification         1     18
  extended_scan_angle         -5167   2500
  extended_scanner_channel        0      0
number of first returns:        6004909
number of intermediate returns: 167133
number of last returns:         6004242
number of single returns:       5025048
overview over extended number of returns of given pulse: 5025048 1653117 418470 51301 3198 102 0 0 0 0 0 0 0 0 0
histogram of classification of points:
         5337772  unclassified (1)
         1794636  ground (2)
             225  noise (7)
           11745  water (9)
            3255  rail (10)
            3234  bridge deck (17)
             369  Reserved for ASPRS Definition (18)
 +-> flagged as withheld:  976791
  +--->          976791 of those are unclassified (1)
 +-> flagged as extended overlap: 912483
  +--->          651644 of those are unclassified (1)
  +--->          259801 of those are ground (2)
  +--->              19 of those are noise (7)
  +--->             491 of those are water (9)
  +--->             289 of those are rail (10)
  +--->             233 of those are bridge deck (17)
  +--->               6 of those are Reserved for ASPRS Definition (18)

Daniel Gann

unread,
Feb 1, 2021, 9:19:20 AM2/1/21
to last...@googlegroups.com
Hi Kirk and Martin,

Thanks for the quick confirmation that it should work.  I will try again on another computer then.
  
Daniel
---
Daniel Gann
Assistant Professor
Department of Biological Sciences
Florida International University
Miami, FL 33199
phone: 305-348-1971

From: 'Kirk Waters - NOAA Federal' via LAStools - efficient tools for LiDAR processing <last...@googlegroups.com>
Sent: Monday, February 1, 2021 8:25 AM

Daniel Gann

unread,
Feb 1, 2021, 10:46:15 AM2/1/21
to last...@googlegroups.com
Mystery solved. In short, the bulk downloader corrupted (all 49 files) which prompted the laszip command to tell me to contact you.  I have to look into the downloader now and figure out why all files were corrupted on download. Thanks for the fast responses. 
Have a pleasant day everyone.

Daniel 


From: last...@googlegroups.com <last...@googlegroups.com> on behalf of Daniel Gann <ga...@fiu.edu>
Sent: Monday, February 1, 2021 8:44 AM
To: last...@googlegroups.com <last...@googlegroups.com>

Martin Isenburg

unread,
Feb 1, 2021, 11:07:56 AM2/1/21
to LAStools - efficient command line tools for LIDAR processing
Hello Daniel,

Can you send me one of those corrupt files? I would like to see how I can update the error message to avoid this "old compressor confusion" in the future.

Regards,

Martin

Martin Isenburg

unread,
Feb 2, 2021, 7:41:26 AM2/2/21
to LAStools - efficient tools for LiDAR processing
Hello,

the ERROR message was fixed, In the next version of LAStools it will say:
 
E:\software\LAStools\bin> laszip -i 20161229_FL_PalmBeachCo_2016_807500_742500.laz -check
WARNING: only 5876 bytes until point block when trying to read 28524 bytes into header.vlrs[1].data
WARNING: only 0 bytes until point block after reading 2 of 4 vlrs. skipping remaining vlrs ...
ERROR: your LAZ file has corruptions in the LAS header resulting in
ERROR: the laszip VLR being lost. maybe your download failed?
ERROR: cannot open lasreaderlas with file name '20161229_FL_PalmBeachCo_2016_807500_742500.laz'
ERROR: could not open lasreader

Regards,

Martin

Daniel Gann

unread,
Feb 2, 2021, 9:08:31 PM2/2/21
to last...@googlegroups.com
Thank you for the update - I was able to process all tiles without any errors after re-downloading. The new error message will be very useful for those corrupted file encounters.

Daniel

Reply all
Reply to author
Forward
0 new messages