【问题标题】:Convert PointCloud to Geotiff raster fileConvert PointCloud to Geotiff raster file
【发布时间】:2022-12-27 18:10:21
【问题描述】:

Here is my problem, I have point cloud data in .las format. I need to find a way to create a Geotiff file from this cloud. The pixel size of the tiff file is 2cm. The cloud has been resampled in the same way.

I was thinking of using the GDAL library to create the tiff file but saw that it needed ordered data, so my las file is scattered.

The problem is how to convert the scattered data of the las into a 2D array containing the elevations (Z) in an ordered way. All without needing several for loops that slow down the process too much.

I started from the solution found in this topic: writing array to raster

The numpy array looks like :

array([[6.48913764e+05, 6.83548129e+06, 8.25270000e+01],
       [6.48914073e+05, 6.83548840e+06, 8.20520000e+01],
       [6.48917150e+05, 6.83549002e+06, 8.22260000e+01],
       ...,
       [6.49070029e+05, 6.83557728e+06, 8.40550000e+01],
       [6.49070563e+05, 6.83557851e+06, 8.44870000e+01],
       [6.49070563e+05, 6.83557851e+06, 8.44870000e+01]])

Where the first colomn is X coordinates, the second is Y coordinates and the last for Z. I can't transfer files, but a cloud contains about 500k observations.

Thanks for your answer

【问题讨论】:

    标签: python gdal point-clouds geotiff


    【解决方案1】:

    you could consider using opalsDTM developed by TU Vienna: https://opals.geo.tuwien.ac.at/html/stable/ModuleDTM.html

    【讨论】:

      猜你喜欢
      • 2022-12-26
      • 2022-04-22
      • 2015-05-08
      • 2020-12-18
      • 1970-01-01
      • 2022-10-31
      • 2022-12-02
      • 2021-11-28
      • 2022-12-16
      相关资源
      最近更新 更多