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

Howard Butler hobu.inc at gmail.com
Tue Apr 6 23:32:26 EDT 2010


On Apr 5, 2010, at 2:29 PM, Howard Butler wrote:

> 
> 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.

This is wrong.  Only pt.user_data is available as of libLAS 1.2+.  I have added support in the latest development branch of libLAS Mercurial for pt.point_source_id

Thanks for the report.  The note about how to interpret either of those data elements still stands, however.

Howard


More information about the Liblas-devel mailing list