Skip to main content
Solved

Reading additional attribute LAS file in FME


Forum|alt.badge.img

Is it possible to get an additional attribute from a las file in FME. Indeed I have an input point cloud in las format with a vertical distance attribute on each point.

I need this attribute to make statistics.

How to get this attribute directly when reading the las file (or other) without passing "PointCloudCoercer"?

Best answer by nielsgerrits

nielsgerrits wrote:

Added a sample workspace demonstrating this.

I think you need to add the PointCloudStatisticsCalculator downstream of the reader in your printscreen, manually add the Component "Distance" in the Statistics to Calculate and check the statistics you need.

 

If this is not what you need I did not understand your original question correct.

View original
Did this help you find an answer to your question?

9 replies

nielsgerrits
VIP

If a lasfile has an extra component like "vertical distance", you can just read the file and use the PointCloudStatisticsCalculator to calculate the statistics for the addicional component "vertical distance".


nielsgerrits
VIP
nielsgerrits wrote:

If a lasfile has an extra component like "vertical distance", you can just read the file and use the PointCloudStatisticsCalculator to calculate the statistics for the addicional component "vertical distance".

Added a sample workspace demonstrating this.


Forum|alt.badge.img
  • Author
  • May 11, 2022
nielsgerrits wrote:

Added a sample workspace demonstrating this.

Thanks but your template is not suitable for what I want to do. I already have the distance attribute in my input file LAS (attached). I can't use PointCloudCoercer because I have about 1 billion points in my las file. I would like to use this "Distance" attribute in my FME template.fme-attribute_distance


nielsgerrits
VIP
nielsgerrits wrote:

Added a sample workspace demonstrating this.

I think it is. The left bookmark is only generating the pointcloud. The right bookmark is reading a las file, then using the PointCloudStatisticsCalculator to generate the statistics. You have to manually enter "Distance" in the parameters to process it.


Forum|alt.badge.img
  • Author
  • May 11, 2022
nielsgerrits wrote:

Added a sample workspace demonstrating this.

I can't use "Distance" in the left bookmark to do any manipulation on it except to generate? 


nielsgerrits
VIP
  • Best Answer
  • May 11, 2022
nielsgerrits wrote:

Added a sample workspace demonstrating this.

I think you need to add the PointCloudStatisticsCalculator downstream of the reader in your printscreen, manually add the Component "Distance" in the Statistics to Calculate and check the statistics you need.

 

If this is not what you need I did not understand your original question correct.


Forum|alt.badge.img
  • Author
  • May 11, 2022
nielsgerrits wrote:

Added a sample workspace demonstrating this.

Ok thanks for your help, this is the result I wanted for the statistics. Is it possible to use the distance attribute to generate a raster?


nielsgerrits
VIP
nielsgerrits wrote:

Added a sample workspace demonstrating this.

Yes you can. PointCloudComponentRenamer to rename "Distance" to "z". NumericRasterizer to go from pointcloud to raster.


Forum|alt.badge.img
  • Author
  • May 11, 2022
nielsgerrits wrote:

Added a sample workspace demonstrating this.

OK thanks you! I will try this!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings