[Liblas-devel] Why las2ogr based on OGR C API?

Howard Butler hobu.inc at gmail.com
Fri May 16 12:42:20 EDT 2008


On May 16, 2008, at 8:21 AM, Mateusz Loskot wrote:

> Hi,
>
> Hobu, why have you decided to move las2ogr to C API?
> Honestly, I've intentionally implemented it using OGR C++ API, so I  
> named it with .cpp. I am aware of better C API stability but still  
> I'd like to keep this one in C++ fasion.
>
> What do you think?

It was including OGR private headers <ogr_p.h> causing it to not  
compile when --with-gdal was specified.  OGR's C++ API is kind of a  
mess when it comes to installation and I think most folks who use the  
OGR C++ API do static linking.

Howard




More information about the Liblas-devel mailing list