39 #ifndef RASTERDATASET_HPP_
40 #define RASTERDATASET_HPP_
43 #include "gdal_priv.h"
47 namespace geos {
namespace geom {
70 GDALDataset* mp_Dataset;
75 double* mp_GeoTransform;
80 std::map<unsigned int, openfluid::landr::VectorDataset*> mp_PolygonizedByRasterBandIndex;
85 void computeGeoTransform();
110 GDALDataset* getDataset();
115 GDALDataset* getDataset()
const;
122 GDALRasterBand* getRasterBand(
unsigned int RasterBandIndex = 1);
129 std::pair<int, int> getPixelFromCoordinate(geos::geom::Coordinate Coo);
134 geos::geom::Coordinate* getOrigin();
139 double getPixelWidth();
144 double getPixelHeight();
152 std::vector<float> getValuesOfLine(
int LineIndex,
153 unsigned int RasterBandIndex = 1);
160 std::vector<float> getValuesOfColumn(
int ColIndex,
161 unsigned int RasterBandIndex = 1);
170 float getValueOfPixel(
int ColIndex,
172 unsigned int RasterBandIndex = 1);
180 float getValueOfCoordinate(geos::geom::Coordinate Coo,
181 unsigned int RasterBandIndex = 1);
193 std::string FieldName =
"",
194 unsigned int RasterBandIndex = 1);
196 static std::string getDefaultPolygonizedFieldName();
Interface for managing Vector Data format.
Definition: VectorDataset.hpp:65
Interface for managing Raster Data format.
Definition: RasterDataset.hpp:63
Container class for geospatial raster data, represented by a GDAL dataset.
Definition: GeoRasterValue.hpp:55
#define DLLEXPORT
Definition: dllexport.hpp:51