List of all members.
Public Class Methods |
Geo::GDAL::RasterAttributeTable | new () |
list | FieldTypes () |
list | FieldUsages () |
Public Object Methods |
Geo::GDAL::RasterAttributeTable | Clone () |
| SetRowCount (scalar count) |
scalar | GetRowCount () |
hash | Columns (hash columns) |
| CreateColumn (scalar name, scalar type, scalar usage) |
scalar | GetColumnCount () |
scalar | GetNameOfCol (scalar column) |
scalar | GetUsageOfCol (scalar column) |
scalar | GetTypeOfCol (scalar column) |
scalar | GetColOfUsage (scalar usage) |
scalar | GetRowOfValue (scalar value) |
scalar | Value (scalar row, scalar column, scalar value) |
scalar | GetValueAsString (scalar row, scalar column) |
scalar | GetValueAsInt (scalar row, scalar column) |
scalar | GetValueAsDouble (scalar row, scalar column) |
| SetValueAsString (scalar row, scalar column, scalar value) |
| SetValueAsInt (scalar row, scalar column, scalar value) |
| SetValueAsDouble (scalar row, scalar column, scalar value) |
Member Function Documentation
hash Geo::GDAL::RasterAttributeTable::Columns |
( |
hash |
columns | ) |
|
A get/set method for the columns of the RAT
- Parameters:
-
columns | optional, a the keys are column names and the values are anonymous hashes with keys Type and Usage |
- Returns:
- a hash similar to the optional input parameter
Geo::GDAL::RasterAttributeTable::CreateColumn |
( |
scalar |
name, |
|
|
scalar |
type, |
|
|
scalar |
usage |
|
) |
| |
- Parameters:
-
name | |
type | one of FieldTypes |
usage | one of FieldUsages |
list Geo::GDAL::RasterAttributeTable::FieldTypes |
( |
| ) |
|
list Geo::GDAL::RasterAttributeTable::FieldUsages |
( |
| ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetColOfUsage |
( |
scalar |
usage | ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetColumnCount |
( |
| ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetNameOfCol |
( |
scalar |
column | ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetRowCount |
( |
| ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetRowOfValue |
( |
scalar |
value | ) |
|
- Parameters:
-
- Returns:
- row index or -1
scalar Geo::GDAL::RasterAttributeTable::GetTypeOfCol |
( |
scalar |
column | ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetUsageOfCol |
( |
scalar |
column | ) |
|
scalar Geo::GDAL::RasterAttributeTable::GetValueAsDouble |
( |
scalar |
row, |
|
|
scalar |
column |
|
) |
| |
scalar Geo::GDAL::RasterAttributeTable::GetValueAsInt |
( |
scalar |
row, |
|
|
scalar |
column |
|
) |
| |
scalar Geo::GDAL::RasterAttributeTable::GetValueAsString |
( |
scalar |
row, |
|
|
scalar |
column |
|
) |
| |
Geo::GDAL::RasterAttributeTable::SetRowCount |
( |
scalar |
count | ) |
|
Geo::GDAL::RasterAttributeTable::SetValueAsDouble |
( |
scalar |
row, |
|
|
scalar |
column, |
|
|
scalar |
value |
|
) |
| |
Geo::GDAL::RasterAttributeTable::SetValueAsInt |
( |
scalar |
row, |
|
|
scalar |
column, |
|
|
scalar |
value |
|
) |
| |
Geo::GDAL::RasterAttributeTable::SetValueAsString |
( |
scalar |
row, |
|
|
scalar |
column, |
|
|
scalar |
value |
|
) |
| |
scalar Geo::GDAL::RasterAttributeTable::Value |
( |
scalar |
row, |
|
|
scalar |
column, |
|
|
scalar |
value |
|
) |
| |
- Parameters:
-
row | |
column | |
value | [optional] |
- Returns:
The documentation for this class was generated from the following file: