diff -up gdal-1.7.3-fedora/frmts/dods/dodsdataset2.cpp.AIS gdal-1.7.3-fedora/frmts/dods/dodsdataset2.cpp --- gdal-1.7.3-fedora/frmts/dods/dodsdataset2.cpp.AIS 2010-04-23 17:21:55.000000000 -0600 +++ gdal-1.7.3-fedora/frmts/dods/dodsdataset2.cpp 2010-07-15 11:32:41.144005186 -0600 @@ -50,7 +50,7 @@ #include #include -#include +#include #include #include #include @@ -203,7 +203,7 @@ static int GetDimension( string oCE, con class DODSDataset : public GDALDataset { private: - AISConnect *poConnect; //< Virtual connection to the data source + Connect *poConnect; //< Virtual connection to the data source string oURL; //< data source URL double adfGeoTransform[6]; @@ -214,7 +214,7 @@ private: DDS *poDDS; BaseTypeFactory *poBaseTypeFactory; - AISConnect *connect_to_server() throw(Error); + Connect *connect_to_server() throw(Error); static string SubConstraint( string raw_constraint, string x_constraint, @@ -242,7 +242,7 @@ public: static GDALDataset *Open(GDALOpenInfo *); /// Return the connection object - AISConnect *GetConnect() { return poConnect; } + Connect *GetConnect() { return poConnect; } /// Return the data source URL string GetUrl() { return oURL; } @@ -339,7 +339,7 @@ DODSDataset::~DODSDataset() /* connect_to_server() */ /************************************************************************/ -AISConnect * +Connect * DODSDataset::connect_to_server() throw(Error) { // does the string start with 'http?' @@ -375,7 +375,7 @@ DODSDataset::connect_to_server() throw(E /* -------------------------------------------------------------------- */ /* Connect, and fetch version information. */ /* -------------------------------------------------------------------- */ - AISConnect *poConnection = new AISConnect(oURL); + Connect *poConnection = new Connect(oURL); string version = poConnection->request_version(); /* if (version.empty() || version.find("/3.") == string::npos) { @@ -997,7 +997,7 @@ DODSDataset::Open(GDALOpenInfo *poOpenIn } /* -------------------------------------------------------------------- */ -/* Get the AISConnect instance and the DAS and DDS for this */ +/* Get the Connect instance and the DAS and DDS for this */ /* server. */ /* -------------------------------------------------------------------- */ poDS->poConnect = poDS->connect_to_server(); diff -up gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodsdatasource.cpp.AIS gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodsdatasource.cpp --- gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodsdatasource.cpp.AIS 2010-04-23 17:21:25.000000000 -0600 +++ gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodsdatasource.cpp 2010-07-15 11:31:33.814943203 -0600 @@ -150,7 +150,7 @@ int OGRDODSDataSource::Open( const char try { - poConnection = new AISConnect( oBaseURL ); + poConnection = new Connect( oBaseURL ); version = poConnection->request_version(); } catch (Error &e) diff -up gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogr_dods.h.AIS gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogr_dods.h --- gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogr_dods.h.AIS 2010-04-23 17:21:25.000000000 -0600 +++ gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogr_dods.h 2010-07-15 11:31:52.649942228 -0600 @@ -61,7 +61,7 @@ #include #include -#include +#include #include #include #include @@ -122,7 +122,7 @@ class OGRDODSLayer : public OGRLayer virtual int ProvideDataDDS(); int bDataLoaded; - AISConnect *poConnection; + Connect *poConnection; DataDDS *poDataDDS; BaseType *poTargetVar; @@ -300,7 +300,7 @@ class OGRDODSDataSource : public OGRData void AddLayer( OGRDODSLayer * ); public: // Just intended for read access by layer classes. - AISConnect *poConnection; + Connect *poConnection; DAS oDAS; DDS *poDDS; diff -up gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodslayer.cpp.AIS gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodslayer.cpp --- gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodslayer.cpp.AIS 2010-04-23 17:21:25.000000000 -0600 +++ gdal-1.7.3-fedora/ogr/ogrsf_frmts/dods/ogrdodslayer.cpp 2010-07-15 11:32:06.467945352 -0600 @@ -213,7 +213,7 @@ int OGRDODSLayer::ProvideDataDDS() bDataLoaded = TRUE; try { - poConnection = new AISConnect( poDS->oBaseURL ); + poConnection = new Connect( poDS->oBaseURL ); CPLDebug( "DODS", "request_data(%s,%s)", poDS->oBaseURL.c_str(), (poDS->oProjection + poDS->oConstraints).c_str() );