41 #ifndef __OPENFLUID_LANDR_RASTERDATASET_HPP__ 42 #define __OPENFLUID_LANDR_RASTERDATASET_HPP__ 47 #include <gdal_priv.h> 48 #include <ogrsf_frmts.h> 54 namespace geos {
namespace geom {
81 GDALDataset* mp_Dataset;
86 double* mp_GeoTransform;
91 std::map<unsigned int, openfluid::landr::VectorDataset*> mp_PolygonizedByRasterBandIndex;
96 void computeGeoTransform();
121 GDALDataset* source();
126 GDALDataset* source()
const;
133 GDALRasterBand* rasterBand(
unsigned int RasterBandIndex = 1);
140 std::pair<int, int> getPixelFromCoordinate(geos::geom::Coordinate Coo);
145 geos::geom::Coordinate* computeOrigin();
150 double getPixelWidth();
155 double getPixelHeight();
163 std::vector<float> getValuesOfLine(
int LineIndex,
164 unsigned int RasterBandIndex = 1);
171 std::vector<float> getValuesOfColumn(
int ColIndex,
172 unsigned int RasterBandIndex = 1);
181 float getValueOfPixel(
int ColIndex,
183 unsigned int RasterBandIndex = 1);
191 float getValueOfCoordinate(geos::geom::Coordinate Coo,
unsigned int RasterBandIndex = 1);
205 std::string FieldName =
"",
206 unsigned int RasterBandIndex = 1);
208 static std::string getDefaultPolygonizedFieldName();
213 OGREnvelope envelope();
Definition: ApplicationException.hpp:47
Interface for managing Vector Data format.
Definition: VectorDataset.hpp:64
Definition: GeoRasterValue.hpp:58
Definition: LandREntity.hpp:53
#define OPENFLUID_API
Definition: dllexport.hpp:86
Interface for managing Raster Data format.
Definition: RasterDataset.hpp:74