[Liblas-devel] [liblas] Hello world

"Martín RV (OPENGeoMap)" martin at opengeomap.org
Wed Apr 9 14:28:50 EDT 2008


> Hi:
>
>>>
>>
>> libLAS also sports a C API.  It is rather laborious and verbose to  
>> use, but if C is your thing, it should fit the bill quite well.  See  
>> the applications like lasinfo and txt2las to see how to use it.
>
>
> I see that hehe. You have many c++ skills hehe. This sounds like 
> mozilla c++ binding to c hehe.
>
>>
>> libLAS in known to build on gcc4+ (linux and osx) and msvc 2003/2005.
>
>
> mingw in the gcc windows native version. I want see if it´s posible 
> compile your project in mingw :-[
> If you see Qt source code for example  it´s prepared for Mingw.
> Other projects like mysql or firefox use msvc also. I have a tool in 
> mingw to convert DLLs to mingw. I used it to mysql and works fine.
>
>> libLAS started with Martin's library, and in fact, the command line  
>> utilities like las2las and lasinfo in 
>> http://liblas.org/browser/trunk/apps  are direct ports of his utilities.
>>
>> We (well, Mateusz mostly) rewrote most of the internal library stuff  
>> that actually handles manipulating the LAS format data, however.  
>> The  major reason for this is that Martin's code was not really 
>> organized  as a library that was expected to be embedded in other 
>> applications.   There were no facilities for error handling other 
>> than printf  statements, for example.  I think libLAS has a really 
>> nice  architecture (Martin's library code was little more than some 
>> structs)  and provides some great flexibility (working with 
>> std::streams for  example).  I am quite satisfied with it.
>
>
> Yes I understood the fork.
>
>>
>> BTW, libLAS is growing another API as we speak -- Python, which 
>> builds  on the C API and uses Python's ctypes for a direct interface.
>> http://liblas.org/browser/trunk/python
>
>
> =-O  Great !!
> Ruby bindings would be nice 8-) .
> People talks very well about swig:
> http://www.swig.org/
>
>>
>> Howard
>>
>>
>>
>>
> Regards.
>
>
>




More information about the Liblas-devel mailing list