Classes | |
class | RasterToVector |
class | RasterToVectorDialog |
class | VectorToRaster |
class | VectorToRasterDialog |
class | VectorToVectorDialog |
class | VectorToVectorMemory |
class | VectorToVectorOp |
Enumerations | |
enum | OperationType { VALUE , MIN_VALUE , MAX_VALUE , MEAN , SUM , COUNT , COUNT_DISTINCT , VALID_COUNT , STANDARD_DEVIATION , VARIANCE , SKEWNESS , KURTOSIS , AMPLITUDE , MEDIAN , VAR_COEFF , MODE , HIGHEST_OCCURRENCE , HIGHEST_INTERSECTION , PERCENT_CLASS , MIN_DISTANCE , MIN_DISTANCE_CENTROID , PRESENCE , WEIGHTED , WEIGHTED_SUM , PERCENT_EACH_CLASS , PERCENT_TOTAL_AREA , TOTAL_AREA_BY_CLASS } |
Define grouping operations type. More... | |
Functions | |
TEATTRIBUTEFILLEXPORT std::pair< uint32_t, uint32_t > | GeoToGrid (const te::gm::Coord2D &coord, const rst::Grid &grid) |
Convert the coordinate to the grid col/row postion of the pixel . More... | |
TEATTRIBUTEFILLEXPORT void | GetMinMaxLineAndColumn (const te::rst::Raster &raster, const te::gm::Polygon &polygon, uint32_t &minimumRow, uint32_t &minimumColumn, uint32_t &maximumRow, uint32_t &maximumColumn) |
Gets the minimum and maximum row and column values of the raster based on polygon. More... | |
TEATTRIBUTEFILLEXPORT std::string | GetOperationFullName (const int &e) |
Gets the full name of the operation as string. More... | |
TEATTRIBUTEFILLEXPORT void | GetPercentOfEachClassByArea (const te::rst::Raster &raster, const unsigned int &band, const gm::Polygon &polygon, const uint32_t &minimumRow, const uint32_t &minimumColumn, const uint32_t &maximumRow, const uint32_t &maximumColumn, std::map< double, double > &percentOfEachClassByArea) |
Gets the pixel percentage for a specific band that intersects the polygon. More... | |
TEATTRIBUTEFILLEXPORT void | GetTotalAreaByClass (const te::rst::Raster &raster, const unsigned int &band, const gm::Polygon &polygon, const uint32_t &minimumRow, const uint32_t &minimumColumn, const uint32_t &maximumRow, const uint32_t &maximumColumn, std::map< double, double > &totalAreaByClass) |
Gets the pixel area for a specific band that intersects the polygon. More... | |
TEATTRIBUTEFILLEXPORT void | GetValuesFromBand (const te::rst::Raster &raster, const unsigned int &band, const gm::Polygon &polygon, const uint32_t &minimumRow, const uint32_t &minimumColumn, const uint32_t &maximumRow, const uint32_t &maximumColumn, std::map< double, int > &values) |
Gets the pixel values for a specific band that intersects the polygon. More... | |
Define grouping operations type.
TEATTRIBUTEFILLEXPORT std::pair<uint32_t, uint32_t> te::attributefill::GeoToGrid | ( | const te::gm::Coord2D & | coord, |
const rst::Grid & | grid | ||
) |
Convert the coordinate to the grid col/row postion of the pixel .
If the coordinate is outside the grid extent the function will return std::numeric_limits<uint32_t>::max for col and/or row the is outside. The other value is valid.
TEATTRIBUTEFILLEXPORT void te::attributefill::GetMinMaxLineAndColumn | ( | const te::rst::Raster & | raster, |
const te::gm::Polygon & | polygon, | ||
uint32_t & | minimumRow, | ||
uint32_t & | minimumColumn, | ||
uint32_t & | maximumRow, | ||
uint32_t & | maximumColumn | ||
) |
Gets the minimum and maximum row and column values of the raster based on polygon.
raster | The raster. |
polygon | The polygon. |
minimumRow | Minimum value for row |
minimumColumn | Minimum value for column |
maximumRow | Maximum value for row |
maximumColumn | Maximum value for column |
TEATTRIBUTEFILLEXPORT std::string te::attributefill::GetOperationFullName | ( | const int & | e | ) |
Gets the full name of the operation as string.
e | The enumerator. |
TEATTRIBUTEFILLEXPORT void te::attributefill::GetPercentOfEachClassByArea | ( | const te::rst::Raster & | raster, |
const unsigned int & | band, | ||
const gm::Polygon & | polygon, | ||
const uint32_t & | minimumRow, | ||
const uint32_t & | minimumColumn, | ||
const uint32_t & | maximumRow, | ||
const uint32_t & | maximumColumn, | ||
std::map< double, double > & | percentOfEachClassByArea | ||
) |
Gets the pixel percentage for a specific band that intersects the polygon.
The computation is based on the intersection of the pixel resolution and the polygon.
raster | The raster. |
band | The band. |
polygon | The polygon. |
minimumRow | Minimum value for row |
minimumColumn | Minimum value for column |
maximumRow | Maximum value for row |
maximumColumn | Maximum value for column |
percentOfEachClassByArea | A map<key, value> where the key will be filled with the pixel and the value with the percentage of occurence. |
TEATTRIBUTEFILLEXPORT void te::attributefill::GetTotalAreaByClass | ( | const te::rst::Raster & | raster, |
const unsigned int & | band, | ||
const gm::Polygon & | polygon, | ||
const uint32_t & | minimumRow, | ||
const uint32_t & | minimumColumn, | ||
const uint32_t & | maximumRow, | ||
const uint32_t & | maximumColumn, | ||
std::map< double, double > & | totalAreaByClass | ||
) |
Gets the pixel area for a specific band that intersects the polygon.
The computation is based on the intersection of the pixel resolution and the polygon.
raster | The raster. |
band | The band. |
polygon | The polygon. |
minimumRow | Minimum value for row |
minimumColumn | Minimum value for column |
maximumRow | Maximum value for row |
maximumColumn | Maximum value for column |
totalAreaByClass | A map<key, value> where the key will be filled with the pixel and the value with the area. |
TEATTRIBUTEFILLEXPORT void te::attributefill::GetValuesFromBand | ( | const te::rst::Raster & | raster, |
const unsigned int & | band, | ||
const gm::Polygon & | polygon, | ||
const uint32_t & | minimumRow, | ||
const uint32_t & | minimumColumn, | ||
const uint32_t & | maximumRow, | ||
const uint32_t & | maximumColumn, | ||
std::map< double, int > & | values | ||
) |
Gets the pixel values for a specific band that intersects the polygon.
The computation is based on the intersection of the pixel resolution and the polygon.
raster | The raster. |
band | The band. |
polygon | The polygon. |
minimumRow | Minimum value for row |
minimumColumn | Minimum value for column |
maximumRow | Maximum value for row |
maximumColumn | Maximum value for column |
values | A map<key, value> where the key will be filled with the pixel and the value with the number of occurrence. |