Geo General  1
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
GeoRaster Class Reference

#include <GeoRaster.h>

Public Member Functions

 GeoRaster (std::string n_rasterName, GDALDataType n_dataType, int n_numBands, int n_dimensionX, int n_dimensionY, double n_resolutionX, double n_resolutionY, double n_originX, double n_originY, char *n_wkt)
 make new output with complete intialization of variables More...
 
 GeoRaster (std::string n_rasterName, GDALDataType n_dataType, int n_numBands)
 constructor (make new output with defaults) More...
 
 GeoRaster (std::string n_rasterName)
 constructor (from input file) More...
 
 ~GeoRaster ()
 
void getRasterDriver ()
 get raster drivers by file name ending currently tested with tif and nitf More...
 
void setBand (int n_band)
 set dataset active band More...
 
void band2Buffer (void *buffer)
 
void buffer2Band (void *buffer)
 put void * buffer into band More...
 
void rasterizeVector (GeoVector *templateVector, unsigned char value, unsigned char *buffer)
 rasterize the values from a input polygon More...
 

Public Attributes

GDALDataset * rasterDataset
 
std::string rasterName
 
GDALDriver * rasterDriver
 
int rasterNumBands
 
GDALDataType dataType
 
GDALRasterBand * rasterBand
 
int bufferX
 
int bufferY
 
int dimensionX
 
int dimensionY
 
int offsetX
 
int offsetY
 
double resolutionX
 
double resolutionY
 
double originX
 
double originY
 
char * wkt
 

Private Attributes

std::string rasterDriverName
 

Constructor & Destructor Documentation

GeoRaster::GeoRaster ( std::string  n_rasterName,
GDALDataType  n_dataType,
int  n_numBands,
int  n_dimensionX,
int  n_dimensionY,
double  n_resolutionX,
double  n_resolutionY,
double  n_originX,
double  n_originY,
char *  n_wkt 
)

make new output with complete intialization of variables

GeoRaster::GeoRaster ( std::string  n_rasterName,
GDALDataType  n_dataType,
int  n_numBands 
)

constructor (make new output with defaults)

GeoRaster::GeoRaster ( std::string  n_rasterName)

constructor (from input file)

GeoRaster::~GeoRaster ( )

Member Function Documentation

void GeoRaster::band2Buffer ( void *  buffer)
void GeoRaster::buffer2Band ( void *  buffer)

put void * buffer into band

void GeoRaster::getRasterDriver ( )

get raster drivers by file name ending currently tested with tif and nitf

void GeoRaster::rasterizeVector ( GeoVector templateVector,
unsigned char  value,
unsigned char *  buffer 
)

rasterize the values from a input polygon

Parameters
[in]templateVectorthe geometries that you would like to rasterize
[in]valuethe value you would like to burn into the raster. Note that if a value is already present the value will be added to the present value.
void GeoRaster::setBand ( int  n_band)

set dataset active band

Member Data Documentation

int GeoRaster::bufferX
int GeoRaster::bufferY
GDALDataType GeoRaster::dataType
int GeoRaster::dimensionX
int GeoRaster::dimensionY
int GeoRaster::offsetX
int GeoRaster::offsetY
double GeoRaster::originX
double GeoRaster::originY
GDALRasterBand* GeoRaster::rasterBand
GDALDataset* GeoRaster::rasterDataset
GDALDriver* GeoRaster::rasterDriver
std::string GeoRaster::rasterDriverName
private
std::string GeoRaster::rasterName
int GeoRaster::rasterNumBands
double GeoRaster::resolutionX
double GeoRaster::resolutionY
char* GeoRaster::wkt

The documentation for this class was generated from the following files:

Copyright 2014 Google Inc. All rights reserved.