Hi Jochen,
Yes, I missed the i argument in my initial message. I tried your command(s) example and adding the attribute 10 works fine but then running,
las2las64 -i tmp1.laz -copy_z_into_attribute 10 -o tmp1_copyZ.laz -v
Does not. This is tmp1_copyZ.laz header:
reporting all LAS header entries:
file signature: 'LASF'
file source ID: 10003
global_encoding: 17
project ID GUID data 1-4: 00000000-0000-0000-0000-000000000000
version major.minor: 1.4
system identifier: 'LAStools (c) by rapidlasso GmbH'
generating software: 'las2las64 (version 250402)'
file creation day/year: 93/2025
header size: 375
offset to point data: 4143
number var. length records: 8
point data format: 6
point data record length: 69
number of point records: 0
number of points by return: 0 0 0 0 0
scale factor x y z: 0.01 0.01 0.01
offset x y z: 500000 2800000 0
min x y z: 587277.78 2870666.80 -56.55
max x y z: 592442.72 2871058.99 308.49
start of waveform data packet record: 0
start of first extended variable length record: 0
number of extended_variable length records: 0
extended number of point records: 11211016
extended number of points by return: 5087964 3070747 3052305 0 0 0 0 0 0 0 0 0 0 0 0
variable length header record 1 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 4
length after header 1920
description 'by LAStools of rapidlasso GmbH'
Extra Byte Descriptions
data type: 4 (short), name "(pseudo-) reflectance", description: "Radiometric calibration output", scale: 0.01, offset: 0 (not set)
data type: 1 (unsigned char), name "sigma xy", description: "XY coordinate uncertainty", scale: 0.01, offset: 0 (not set)
data type: 1 (unsigned char), name "sigma z", description: "Z coordinate uncertainty", scale: 0.01, offset: 0 (not set)
data type: 1 (unsigned char), name "water column optical depth", description: "Water column optical depth", scale: 0.25, offset: 0 (not set)
data type: 1 (unsigned char), name "figure of merit", description: "FOM for bottom measurement", scale: 1 (not set), offset: 0 (not set)
data type: 1 (unsigned char), name "Bathymetry flags", description: "Flags", scale: 1 (not set), offset: 0 (not set)
data type: 10 (double), name "Pitch (radians)", description: "Pitch (radians)", scale: 1 (not set), offset: 0 (not set)
data type: 10 (double), name "Roll (radians)", description: "Roll (radians)", scale: 1 (not set), offset: 0 (not set)
data type: 10 (double), name "Heading (radians)", description: "Heading (radians)", scale: 1 (not set), offset: 0 (not set)
data type: 10 (double), name "temp_z1", description: "adding Z to attribute", scale: 0.01, offset: 0 (not set)
variable length header record 2 of 8:
reserved 0
user ID 'LASF_Projection'
record ID 34735
length after header 40
description 'by LAStools of rapidlasso GmbH'
GeoKeyDirectoryTag version 1.1.0 number of keys 4
key 1024 tiff_tag_location 0 count 1 value_offset 1 - GTModelTypeGeoKey: ModelTypeProjected
key 3072 tiff_tag_location 0 count 1 value_offset 6346 - ProjectedCSTypeGeoKey: NAD83(2011) / UTM zone 17N
key 3076 tiff_tag_location 0 count 1 value_offset 9001 - ProjLinearUnitsGeoKey: Linear_Meter
key 4099 tiff_tag_location 0 count 1 value_offset 9001 - VerticalUnitsGeoKey: Linear_Meter
variable length header record 3 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 0
length after header 96
description 'Classification Lookup'
40 Seafloor 41 Water Surface 42 Synthetic Surf. 43 Submerged Obj. 44 IHOS57 Object 45 No Bottom Found
variable length header record 4 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 3
length after header 5
description 'RPM Version'
4.1.0
variable length header record 5 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 3
length after header 559
description 'RPM CLI Arguments'
rpm.exe --boresight -0.3177 0.9502 -0.9763 --depth-bias 0.05625 --glare --show-aircraft --show-derived-water --vertical-shift-tolerance 1 --shift-data --bf 0 --sbet-offset 0
variable length header record 6 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 3
length after header 16
description 'Depth Bias Model Coefficients'
Slope: 0.05625
variable length header record 7 of 8:
reserved 0
user ID 'LASF_Spec'
record ID 3
length after header 70
description 'Model information'
Version: 6.0.0
Description: ramms-mvit-50-triplet-v6-model-rpi-1094
variable length header record 8 of 8:
reserved 0
user ID 'LASF_Projection'
record ID 2112
length after header 630
description 'by LAStools of rapidlasso GmbH'
WKT OGC COORDINATE SYSTEM:
PROJCS["NAD83(2011) / NAD83(2011) / UTM zone 17N",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.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","6318"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","6346"]]
LASzip compression (version 3.4r4 c3 50000): POINT14 3 BYTE14 3
reporting minimum and maximum for all LAS point record entries ...
X 8727778 9244272
Y 7066680 7105899
Z -5655 30849
intensity 0 65535
return_number 1 3
number_of_returns 1 3
edge_of_flight_line 0 1
scan_direction_flag 0 0
classification 0 7
scan_angle_rank -26 26
user_data 1 100
point_source_ID 10003 10003
gps_time 372077587.701670 372077683.749338
extended_return_number 1 3
extended_number_of_returns 1 3
extended_classification 2 100
extended_scan_angle -4413 4407
extended_scanner_channel 0 2
attribute0 0 0 ('(pseudo-) reflectance')
attribute1 0 0 ('sigma xy')
attribute2 0 0 ('sigma z')
attribute3 0 0 ('water column optical depth')
attribute4 0 0 ('figure of merit')
attribute5 0 0 ('Bathymetry flags')
attribute6 -0.121401 0.00724537 ('Pitch (radians)')
attribute7 -0.0371566 0.0977106 ('Roll (radians)')
attribute8 0 1.69472 ('Heading (radians)')
attribute9 0 0 ('temp_z1') \\----------------------------->Z range expected here!
number of first returns: 5087964
number of intermediate returns: 3052305
number of last returns: 5087707
number of single returns: 2016960
overview over extended number of returns of given pulse: 2016960 37141 9156915 0 0 0 0 0 0 0 0 0 0 0 0
histogram of classification of points:
934215 ground (2)
29797 noise (7)
+-> flagged as synthetic: 5764
+---> 5764 of those are classification (100)
histogram of extended classification of points:
3066978 extended classification (40)
4107284 extended classification (41)
3066978 extended classification (42)
5764 extended classification (100)
It still does not appear z is copied over. Would you give it a try yourself. If you want a sample file, a link is posted on the original post.
Best Regards
José