[Liblas-devel] SPATIALINDEX_HOME + building libLAS on windows

Howard Butler hobu.inc at gmail.com
Sat Jun 27 00:09:31 EDT 2009


On Jun 26, 2009, at 2:09 PM, Clay, Bruce wrote:

> Howard:
>   I pulled the latest libLas source code from subversion and I am  
> having problems building it under Visual Studio 2005.
>
> DataStream.hpp is looking for a SpatialIndex.h but that file does  
> not seem to be in the source tree.  I did find two in geos but  
> liblas does not build if I include that path either.
>
> Is there a file that has not been checked in yet?
>

SpatialIndex.h is the main header for libspatialindex.  None of the  
indexing stuff should be being built, but I see the default nmake.opt  
has SPATIALINDEX_HOME defined.  You should comment that out.

I would not that the indexing stuff is not production code and in  
constant flux.  I will send a notice to the list once it stabilizes.   
If there are any individuals who would like to contribute to its  
development, please contact me privately.  The concept with the  
indexing is to allow the generation and storage of an rtree spatial  
index to support spatial queries of the LAS file.  This index will be  
able to be stored alongside the LAS as separate files (much like the  
shx file of shapefile fame), inside the LAS file as zlib-compressed  
VLRs (which still will bloat up the file sizes quite a bit), and an in- 
memory index that will be generated for certain query operations.

Howard

PS, I have cc'd the mailing list where these types of queries should  
be asked.


More information about the Liblas-devel mailing list