[Liblas-devel] Re: Separating Multiple Flights into a single Flight

Howard Butler hobu.inc at gmail.com
Wed May 5 16:42:27 EDT 2010


Here's a little python script that does just that for the latest development trunk (raw_time is not available in 1.2.1)

from liblas import file
f = file.File('test.las')

p0 = f[0]
for p in f:
    if abs(p.raw_time - p0.raw_time) > 2.0:
        print 'flight break'
    p0 = p

http://trac.liblas.org/samples/test.las has a number of breaks that meet this criteria

On May 5, 2010, at 11:54 AM, Black, Michael (IS) wrote:

>  If you have multiple flights in one file you should be able to use the time tag as long as they've carried it along.
>  
> Just make sure the data is in time order and look at the delta-t.  Anything more than a few seconds would be another flight or scan area.
>  
> Michael D. Black
> Senior Scientist
> Northrop Grumman Mission Systems
>  
> Michael D. Black
> Senior Scientist
> Northrop Grumman Mission Systems
>  
> 
> From: liblas-devel-bounces at lists.osgeo.org on behalf of Howard Butler
> Sent: Wed 5/5/2010 8:35 AM
> To: Marcos Gerardo Castro
> Cc: Liblas-devel at lists.osgeo.org
> Subject: [Liblas-devel] Re: Separating Multiple Flights into a single Flight
> 
> 
> On May 5, 2010, at 1:52 AM, Marcos Gerardo Castro wrote:
> 
> >
> > Hi Guys,
> >
> > Just wondering if you know a method to separate multiple flights from a Airborne Laser Sensor.
> 
> 
> Marcos,
> 
> Please provide more detail of what you are to accomplish.  Are "flights" a variable in LAS files that can be used to organize the data?
> 
> Howard_______________________________________________
> Liblas-devel mailing list
> Liblas-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/liblas-devel
> 
> _______________________________________________
> Liblas-devel mailing list
> Liblas-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/liblas-devel



More information about the Liblas-devel mailing list