39 #ifndef __OPENFLUID_LANDR_RASTERDATASET_HPP__ 40 #define __OPENFLUID_LANDR_RASTERDATASET_HPP__ 45 #include <gdal_priv.h> 46 #include <ogrsf_frmts.h> 52 namespace geos {
namespace geom {
77 GDALDataset* mp_Dataset;
82 double* mp_GeoTransform;
87 std::map<unsigned int, openfluid::landr::VectorDataset*> mp_PolygonizedByRasterBandIndex;
92 void computeGeoTransform();
117 GDALDataset* source();
122 GDALDataset* source()
const;
129 GDALRasterBand* rasterBand(
unsigned int RasterBandIndex = 1);
136 std::pair<int, int> getPixelFromCoordinate(geos::geom::Coordinate Coo);
141 geos::geom::Coordinate* computeOrigin();
146 double getPixelWidth();
151 double getPixelHeight();
159 std::vector<float> getValuesOfLine(
int LineIndex,
160 unsigned int RasterBandIndex = 1);
167 std::vector<float> getValuesOfColumn(
int ColIndex,
168 unsigned int RasterBandIndex = 1);
177 float getValueOfPixel(
int ColIndex,
179 unsigned int RasterBandIndex = 1);
187 float getValueOfCoordinate(geos::geom::Coordinate Coo,
unsigned int RasterBandIndex = 1);
201 std::string FieldName =
"",
202 unsigned int RasterBandIndex = 1);
204 static std::string getDefaultPolygonizedFieldName();
209 OGREnvelope envelope();
Interface for managing Raster Data format.
Definition: RasterDataset.hpp:70
Definition: GeoRasterValue.hpp:55
#define OPENFLUID_API
Definition: dllexport.hpp:87
Interface for managing Vector Data format.
Definition: VectorDataset.hpp:64
Definition: LandREntity.hpp:53
Definition: ApplicationException.hpp:47