[Liblas-devel] Indexing for libLAS

Mike Grant mggr at pml.ac.uk
Mon Aug 16 07:36:02 EDT 2010


Hi Howard & Gary,

On 15/08/10 15:15, Howard Butler wrote:
> this week.  This email is to solicit feedback on the concept, as
> well as attempt to attract some ideas on what incorporating spatial
> indexing should mean for the design of libLAS.  How would you use a
> spatial index of LAS data?  Do you already have some experience with

We've written a Linux viewer to optimise our processing workflow (gotta
check the derivation - might even be virally GPLed :) )  It incorporates
a quadtree structure to allow us to use a tiling-type strategy for
bigger-than-RAM datasets.  Currently, building the quadtree structure
takes ages as it has to read all the points..  If liblas starts
including indexing functionality, we'd be interested in using some of
the features to improve startup / load time.

The main things we'd like are:
 - simple window queries
 - optionally, more complex windowing (transects using an arbitrarily
oriented rectangle / polygon intersection test)
 - direct access to a hierarchical structure (without loading points) so
we can see roughly where points are bulked and pick tiles
 - a way to query if a file has a stored index and a way to cause one to
be built (+ stored?)
 - the index to dynamically update if points are added (non-optimally
balanced tree may be ok, as people can rebuild the index from scratch
for optimal results)

Things that are possibly interesting in future but not directly relevant
for indexing:
 - we deal with multiple LAS files, so combining the trees would be
handy (this sounds hard!)
 - we don't currently do z binning, but may sort (z, t, flightline, ..)
points in a tile
 - we also implemented reduced resolution versions of the tiles and disk
caching ; the main relevance would be if liblas implemented caching -
it's useful to indicate which areas are in cache

Cheers,

Mike.

--------------------------------------------------------------------------------
Plymouth Marine Laboratory
 
Registered Office:
Prospect Place 
The Hoe
Plymouth  PL1 3DH
 
Website: www.pml.ac.uk
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503

PML is a member of the Plymouth Marine Sciences Partnership
Website: www.pmsp.org.uk 
--------------------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.

If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo at pml.ac.uk and then delete the email without making any copies or using it in any other way.

The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.

You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
--------------------------------------------------------------------------------


More information about the Liblas-devel mailing list