[gdal-dev] gdal 1.5.1 fixes for DODS and OGR/DODS drivers if you
plan to upgrade to libdap 3.8.0
Rob Cermak
cermak at sfos.uaf.edu
Tue Apr 22 18:31:05 EDT 2008
Namespace upgrades required if upgrading
from libdap-3.7.10 to libdap-3.8.0:
Small patch to frmts/dods/dodsdataset2.cpp:
--- dodsdataset2.cpp.orig 2008-04-22 14:16:58.000000000 -0800
+++ dodsdataset2.cpp 2008-04-22 14:13:11.000000000 -0800
@@ -67,6 +67,8 @@
void GDALRegister_DODS(void);
CPL_C_END
+using namespace libdap ;
+
/** Attribute names used to encode geo-referencing information. Note that
these are not C++ objects to avoid problems with static global
constructors.
Small patch for ogr/ogrsf_frmts/dods/ogr_dods.h:
--- ogr_dods.h.orig 2008-04-22 14:34:10.000000000 -0800
+++ ogr_dods.h 2008-04-22 14:34:24.000000000 -0800
@@ -68,6 +68,8 @@
#include <Error.h>
#include <escaping.h>
+using namespace libdap ;
+
/************************************************************************/
/* OGRDODSFieldDefn */
/************************************************************************/
Adding the namespace to ogrdodsdriver.cpp did not work.
Rob
More information about the gdal-dev
mailing list