bes  Updated for version 3.20.6
gdal_utils.h
1 // This file is part of the GDAL OPeNDAP Adapter
2 
3 // Copyright (c) 2004 OPeNDAP, Inc.
4 // Author: Frank Warmerdam <warmerdam@pobox.com>
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 //
20 // You can contact OPeNDAP, Inc. at PO Box 112, Saunderstown, RI. 02874-0112.
21 
22 #ifndef MODULES_GDAL_HANDLER_GDAL_UTILS_H_
23 #define MODULES_GDAL_HANDLER_GDAL_UTILS_H_
24 
25 class GDALArray;
26 
27 void gdal_read_dataset_variables(libdap::DDS *dds, const GDALDatasetH &hDS, const string &filename,bool include_attrs);
28 void gdal_read_dataset_attributes(libdap::DAS &das, const GDALDatasetH &hDS);
29 
30 void gdal_read_dataset_variables(libdap::DMR *dmr, const GDALDatasetH &hDS, const std::string &filename);
31 
32 void read_data_array(GDALArray *array, const GDALRasterBandH &hBand);
33 void read_map_array(libdap::Array *map, const GDALRasterBandH &hBand, const GDALDatasetH &hDS);
34 
35 #endif /* MODULES_GDAL_HANDLER_GDAL_UTILS_H_ */
GDALArray
Definition: GDALTypes.h:34