EPSG problems with las files

363 views
Skip to first unread message

f.per...@stud.iuav.it

unread,
Jan 11, 2019, 7:04:23 AM1/11/19
to LAStools - efficient tools for LiDAR processing
Hi everyone
I'm not expert in LAStools
I have several las files and i was running the ArcGis tool "LAS Dataset to Raster" but the tools doesnt run probably because of the EPSG 4258 of the las files
So i have tried to reproject the files in another coordinate system with Las2Las but the error is: 

EPSG code not found in 'pcs.csv' file
set_ProjectedCSTTypeGeoKey; look-up for 4258 not implemented

Anyone that can help me in this?

Here there is the info file (one of several las i have): from Lasinfo

 lasinfo (190105) report for 'C:\Users\Admin\Desktop\LiDAR1 cella\D45481154_0101.las'
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:          'LAStools'
  generating software:        'TerraScan'
  file creation day/year:     103/2015
  header size:                227
  offset to point data:       297
  number var. length records: 1
  point data format:          1
  point data record length:   28
  number of point records:    1108231
  number of points by return: 1076222 29402 2561 46 0
  scale factor x y z:         0.0000001 0.0000001 0.001
  offset x y z:               11.545088690080343 45.482956327799265 0
  min x y z:                  11.5399999 45.4800005 66.660
  max x y z:                  11.5500000 45.4900004 127.260
WARNING: stored resolution of min_x not compatible with x_offset and x_scale_factor: 11.539999896868487
WARNING: stored resolution of min_y not compatible with y_offset and y_scale_factor: 45.480000457024708
WARNING: stored resolution of max_x not compatible with x_offset and x_scale_factor: 11.550000009308135
WARNING: stored resolution of max_y not compatible with y_offset and y_scale_factor: 45.490000436083939
variable length header record 1 of 1:
  reserved             0
  user ID              'LASF_Projection'
  record ID            34735
  length after header  16
  description          'GeoKeyDirectoryTag'
    GeoKeyDirectoryTag version 1.1.0 number of keys 1
      key 3072 tiff_tag_location 0 count 1 value_offset 4258 - ProjectedCSTypeGeoKey: look-up for 4258 not implemented
reporting minimum and maximum for all LAS point record entries ...
  X              -50887      49113
  Y              -29558      70441
  Z               66660     127260
  intensity           1        960
  return_number       1          4
  number_of_returns   1          4
  edge_of_flight_line 0          0
  scan_direction_flag 0          1
  classification      1          2
  scan_angle_rank   -17         17
  user_data         170        170

Martin Isenburg

unread,
Jan 12, 2019, 10:27:29 PM1/12/19
to LAStools - efficient command line tools for LIDAR processing
Hello,

the reason that the EPSG code 4258 cannot be found is that it is stored in the wrong place. The GeoTiff tag "ProjectedCSTypeGeoKey" is for storing EPSG codes for projected coordinates but your files are not projected coordinates but geometric longitude / latitude coordinates. You can fix this with this command line:

las2las -i D45481154_0101.las ^
            -longlat ^
            -target_utm auto ^
            -o D45481154_0101_projected.laz 

Regards,

Martin @rapidlasso


Reply all
Reply to author
Forward
0 new messages