[Liblas-devel] Retrieving User Data/Point source ID with LibLAS (python)

Howard Butler hobu.inc at gmail.com
Mon Apr 5 15:29:17 EDT 2010


On Apr 5, 2010, at 2:23 PM, Aaron Reyna wrote:

> Hi everyone, 
> 
> I am wondering if anyone has come up with a way, or knows how to retrieve User Data/Point Source ID in a .Las 1.2 file,

pt.user_data

This will be byte data, however, and it is up to you to interpret this data into integers or whatever value the software that wrote the gain into the user data expects.  

You must join the liblas-devel list to properly post, and the discussion will continue there.

Hope this helps,

Howard


> and kick it to an .asc file? Here is the thing, "gain" is a amount of the adjustment applied to the intensity in a .las file. it is stored in the User Data/ Point Source ID field. If I can retrieve that information, then I can essentially normalize my data based on sub samples within the data, given that they meet the specified conditions for a sample. I've seen the examples on the LibLAS tutorial and it doesn't seem possible to retrieve that point record field based on the information provided. Please let me know if anyone has any information! I would greatly appreciate it!


More information about the Liblas-devel mailing list