Skip to main content
Question

How to change scanner_channel for only specific source_id in multiple las files?

  • August 25, 2023
  • 1 reply
  • 9 views

Hello,

I have numerous las v1.4 pdrf 7 tiles from a dual channel airborne lidar sensor - there are multiple source ids (flightlines) in each tile, and most have the scanner channels coded correctly as 1 and 2.

 

One line however has the scanner channels coded as 0 and 1. Is there a way in FME to go through all of the tiles and only change the scanner_channel for a particular source_id?

 

I would envision a script running through all of the files, then at any instance where the source_id matches a user defined value (the flightline with the problem), then it would change then scanner channel from 1->2 or from 0->1 while retaining all the other non-matching points, and all other parameters such as classifications.

 

Thank you for any tips or suggestions,

Ben

1 reply

danminneyatsaf
Safer
Forum|alt.badge.img+12

When you read in the LAS file, can you see the scanner_channel as an attribute in the Feature Information window when you inspect a row in the Visual Preview window? If so, then a Tester would be sufficient for filtering for a particular source_id, after which you could change the scanner_channel attribute value and then rejoin it with the other set of features.

If you're able to share a sample las file or your workspace that you have so far, this would help us a lot to get some more context.

 

Dan


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