[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[DebianGIS] [Fwd: [Qgis-developer] QGIS and use of GDAL C++ vs. C API]



I think this may be relevanto to Debian_GIS.
All the best.
pc

-------- Messaggio Originale  --------
Oggetto: [Qgis-developer] QGIS and use of GDAL C++ vs. C API
Data: Wed, 06 Feb 2008 21:01:51 -0500
Da: Frank Warmerdam <warmerdam@pobox.com>
A: qgis-developer <qgis-developer@qgis.org>

PeteE, and others,

I had a discussion last night with Tisham, and one thing we realized
is that because QGIS is using the GDAL C++ API and it normally built on
windows with MSYS it is not possible to use the GDAL DLLs built using
Visual Studio.  While MSYS and Visual Studio binaries can be shared at
the C API level, this is not the case at the C++ level due to different
C++ name mangling.

Because of this specific case, and because in general the GDAL C API is
more stable, and more loosely coupled, I believe it is desirable to migrate
QGIS to the C API from the GDAL C++ API.  We have already taken this step
in MapServer, and it is my general advice for applications that don't want
to be overly tightly bound to a specific version of GDAL.

I'm planning to go ahead and do this migration in the raster branch if
there is no objection.  However, it will make it hard to merge partial
changes from the raster branch into trunk for future stable releases if
that is an issue (since there will be little changes all over the place
in the raster code).

Anyways, warning given.  I'll hold off for a day or two before I start
in case there are objections.

-- 
Paolo Cavallini, see: http://www.faunalia.it/pc



Reply to: