[Liblas-devel] Why las2ogr based on OGR C API?
Mateusz Loskot
mateusz at loskot.net
Fri May 16 14:07:02 EDT 2008
On May 16, 2008, at 6:42 PM, Howard Butler wrote:
> 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.
OK, the linking reason makes sense to me.
So, let's move to C API.
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the Liblas-devel
mailing list