Skip to main content
Solved

Generate a DEM for each source_point_id of a LAS file (LiDAR)?

  • April 22, 2022
  • 5 replies
  • 92 views

Forum|alt.badge.img

Hello, 

I want to create a raster for each different source_point_id (number of flighline) in a single las file.

Do you know how to extract the source point id from the las file in order to generate a raster on the points of the chosen source_id point?

 

thanks you for your help!

Best answer by redgeographics

If you can expose that attribute (my sample LAS seems to have it as point_source_id) you can use the Group By option on the DEMGenerator (and/or SurfaceModeller) to generate separate DEM's for all unique values of that attribute.

 

The trick is to get that attribute, a PointCloudCoercer can do that for you, but has the downside of breaking down the point cloud into individual points, so you do get a big performance hit.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • Best Answer
  • April 22, 2022

If you can expose that attribute (my sample LAS seems to have it as point_source_id) you can use the Group By option on the DEMGenerator (and/or SurfaceModeller) to generate separate DEM's for all unique values of that attribute.

 

The trick is to get that attribute, a PointCloudCoercer can do that for you, but has the downside of breaking down the point cloud into individual points, so you do get a big performance hit.


Forum|alt.badge.img
  • Author
  • 9 replies
  • April 22, 2022

If you can expose that attribute (my sample LAS seems to have it as point_source_id) you can use the Group By option on the DEMGenerator (and/or SurfaceModeller) to generate separate DEM's for all unique values of that attribute.

 

The trick is to get that attribute, a PointCloudCoercer can do that for you, but has the downside of breaking down the point cloud into individual points, so you do get a big performance hit.

Yes but how to extract point_source_id in my las file to use group by in DEMgenerator?

It is this point_source_id information that I can't get out of my las file.


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • April 22, 2022

Yes but how to extract point_source_id in my las file to use group by in DEMgenerator?

It is this point_source_id information that I can't get out of my las file.

That can be specified in the PointCloudCoercer:

Screenshot 2022-04-22 at 10.39.33


Forum|alt.badge.img
  • Author
  • 9 replies
  • April 22, 2022

Yes but how to extract point_source_id in my las file to use group by in DEMgenerator?

It is this point_source_id information that I can't get out of my las file.

Thanks you very much!

It's the result I wanted


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • April 22, 2022

Yes but how to extract point_source_id in my las file to use group by in DEMgenerator?

It is this point_source_id information that I can't get out of my las file.

You're welcome!