a customer of mine uses LAStools to convert LAS 1.2 files with point type 1 to LAS 1.4 files with point type 6 while adding a compound CRS in OGC WKT format as an EVLR. The resulting LAS (not LAZ!!!) file apparently no longer loads into the Argh but fails with this error message
Here is the command line that was used. Can someone confirm that this is indeed the case and maybe explain why the file cannot be loaded? Even if the CRS could not be understood, it should still be possible to parse the LAS file, no? The lasinfo reports are below.
Btw ... this looks like Geiger-mode LiDAR to me. Here are two additional comments for discussion:
(1) the coordinates are stored with 0.1 millimeter precision (scale factors of 0.0001). for an airborne data set a resolution of centimeter (scale factors of 0.01) would be more appropriate and meaningful.
(2) we strongly advise against asking for storing CRS information in the EVLRs (in a tender document). while the use of EVLRs is sometimes convenient the VLRs are more efficient for use in large deliveries because a "peek" into only the beginning 2000 bytes (or so) of the file gives a user access to all metadata. For example, when data is provided on the Web I'll have to download the entire file to know its CRS when it is stored as an EVLR instead of being able to use curl to just "peak" into the beginning of the file only. streaming transmission or piping of processing modules is no longer possible when either (a) points are filtered out or (b) compression is used.
E:\LAStools\bin>lasinfo -i Converted_1_4.laz
lasinfo (170628) report for Converted_1_4.laz
reporting all LAS header entries:
file signature: 'LASF'
file source ID: 0
global_encoding: 17
project ID GUID data 1-4: 00000000-0000-0000-0000-000000000000
version major.minor: 1.4
system identifier: ''
generating software: ''
file creation day/year: 193/2017
header size: 375
offset to point data: 375
number var. length records: 0
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.0001 0.0001 0.0001
offset x y z: 6300000 2000000 0
min x y z: 6175927.6583 1922306.6721 12.8102
max x y z: 6176062.8571 1922431.1658 46.0476
start of waveform data packet record: 0
start of first extended variable length record: 165773
number of extended_variable length records: 1
extended number of point records: 18991
extended number of points by return: 18991 0 0 0 0 0 0 0 0 0 0 0 0 0 0
extended variable length header record 1 of 1:
reserved 0
user ID 'LASF_Projection'
record ID 2112
length after header 1037
description 'by LAStools of rapidlasso GmbH'
OGC COORDINATE SYSTEM WKT:
COMPD_CS["NAD83(2011) / California zone 5 (ftUS) + NAVD88 (ftUS)",PROJCS["NAD83(2011) / California zone 5 (ftUS)",GEOGCS["NAD83(2011)",DATUM["NAD_1983_2011"
,SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","1116"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01
745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","6318"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.4666666666667],
PARAMETER["standard_parallel_2",34.0333333333333],PARAMETER["latitude_of_origin",33.5],PARAMETER["central_meridian",-118],PARAMETER["false_easting",6561666.667]
,PARAMETER["false_northing",1640416.667],UNIT["US survey foot",0.3048006096012192,AUTHORITY["EPSG","9003"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORIT
Y["EPSG","6424"]]VERT_CS["NAVD88",VERT_DATUM["North American Vertical Datum 1988",2005,AUTHORITY["EPSG","5103"]],UNIT["US survey foot",0.3048006096012192,AUTHOR
ITY["EPSG","9003"]],AXIS["Gravity-related height",UP],AUTHORITY["EPSG","6360"]]]
LASzip compression (version 3.0r1 c3 50000): POINT14 3
reporting minimum and maximum for all LAS point record entries ...
X -1240723417 -1239371429
Y -776933279 -775688342
Z 128102 460476
intensity 0 30642
return_number 1 1
number_of_returns 1 1
edge_of_flight_line 0 0
scan_direction_flag 0 0
classification 1 2
scan_angle_rank 15 15
user_data 0 0
point_source_ID 0 0
gps_time 147579408.000000 147581072.000000
extended_return_number 1 1
extended_number_of_returns 1 1
extended_classification 1 2
extended_scan_angle 2500 2500
extended_scanner_channel 0 0
number of first returns: 18991
number of intermediate returns: 0
number of last returns: 18991
number of single returns: 18991
overview over extended number of returns of given pulse: 18991 0 0 0 0 0 0 0 0 0 0 0 0 0 0
histogram of classification of points:
8138 unclassified (1)
10853 ground (2)
E:\LAStools\bin>lasinfo -i Sample_1_2.laz
lasinfo (170628) report for Sample_1_2.laz
reporting all LAS header entries:
file signature: 'LASF'
file source ID: 0
global_encoding: 1
project ID GUID data 1-4: 00000000-0000-0000-0000-000000000000
version major.minor: 1.2
system identifier: ''
generating software: 'TerraScan'
file creation day/year: 193/2017
header size: 227
offset to point data: 229
number var. length records: 0
point data format: 1
point data record length: 28
number of point records: 18991
number of points by return: 18991 0 0 0 0
scale factor x y z: 0.0001 0.0001 0.0001
offset x y z: 6300000 2000000 0
min x y z: 6175927.6583 1922306.6721 12.8102
max x y z: 6176062.8571 1922431.1658 46.0476
the header is followed by 2 user-defined bytes
LASzip compression (version 3.0r1 c2 50000): POINT10 2 GPSTIME11 2
reporting minimum and maximum for all LAS point record entries ...
X -1240723417 -1239371429
Y -776933279 -775688342
Z 128102 460476
intensity 0 30642
return_number 1 1
number_of_returns 1 1
edge_of_flight_line 0 0
scan_direction_flag 0 0
classification 1 2
scan_angle_rank 15 15
user_data 0 0
point_source_ID 0 0
gps_time 147579408.000000 147581072.000000
number of first returns: 18991
number of intermediate returns: 0
number of last returns: 18991
number of single returns: 18991
overview over number of returns of given pulse: 18991 0 0 0 0 0 0
histogram of classification of points:
8138 unclassified (1)
10853 ground (2)