OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
GDALGrid.cc File Reference
#include "config.h"
#include <string>
#include <gdal.h>
#include <cpl_conv.h>
#include <BESDebug.h>
#include "GDALTypes.h"
Include dependency graph for GDALGrid.cc:

Go to the source code of this file.

Functions

void read_data_array (GDALArray *array, GDALRasterBandH hBand, GDALDataType eBufType)
 Read the data array of a DAP2 Grid. More...
 
void read_map_array (Array *map, GDALRasterBandH hBand, string filename)
 

Function Documentation

void read_data_array ( GDALArray array,
GDALRasterBandH  hBand,
GDALDataType  eBufType 
)

Read the data array of a DAP2 Grid.

This is called by both GDALGrid::read() (for a DAP2 response) and GDALArray::read() when we're building a DAP4 data response. The result is that the Array object holds data that can then be serialized.

Note
I split up the original GDALGrid::read() code that Frank Warmerdam wrote into two functions because I needed to be able to read the data when building DAP4 responses. There is no Grid type in DAP4.
See also
read_map_array()
Parameters
array

Definition at line 191 of file gdal_dds.cc.

Referenced by GDALGrid::read().

void read_map_array ( Array *  map,
GDALRasterBandH  hBand,
string  filename 
)

Referenced by GDALGrid::read().