Geo::GDAL  2.3
Geo::GDAL::RasterAttributeTable Class Reference

An attribute table in a raster band.
More...

+ Inheritance diagram for Geo::GDAL::RasterAttributeTable:
+ Collaboration diagram for Geo::GDAL::RasterAttributeTable:

Public Member Functions

public method Band ()
 
public method ChangesAreWrittenToFile ()
 
public Geo::GDAL::RasterAttributeTable Clone ()
 
public hash Columns (hash columns)
 
public method CreateColumn (scalar name, scalar type, scalar usage)
 
public method DumpReadable ()
 
public list FieldTypes ()
 
public list FieldUsages ()
 
public scalar GetColOfUsage (scalar usage)
 
public scalar GetColumnCount ()
 
public scalar GetNameOfCol (scalar column)
 
public scalar GetRowCount ()
 
public scalar GetRowOfValue (scalar value)
 
public scalar GetTypeOfCol (scalar column)
 
public scalar GetUsageOfCol (scalar column)
 
public scalar GetValueAsDouble (scalar row, scalar column)
 
public scalar GetValueAsInt (scalar row, scalar column)
 
public scalar GetValueAsString (scalar row, scalar column)
 
public method LinearBinning (scalar Row0MinIn, scalar BinSizeIn)
 
public method SetRowCount (scalar count)
 
public method SetValueAsDouble (scalar row, scalar column, scalar value)
 
public method SetValueAsInt (scalar row, scalar column, scalar value)
 
public method SetValueAsString (scalar row, scalar column, scalar value)
 
public scalar Value (scalar row, scalar column, scalar value)
 
public Geo::GDAL::RasterAttributeTable new ()
 
- Public Member Functions inherited from Geo::GDAL
public method ApplyVerticalShiftGrid ()
 
public method BuildVRT ()
 
public method CPLBinaryToHex ()
 
public method CPLHexToBinary ()
 
public method CreatePansharpenedVRT ()
 
public scalar DataTypeIsComplex (scalar DataType)
 
public list DataTypeValueRange (scalar DataType)
 
public list DataTypes ()
 
public scalar DecToDMS (scalar angle, scalar axis, scalar precision=2)
 
public scalar DecToPackedDMS (scalar dec)
 
public method DontUseExceptions ()
 
public Geo::GDAL::Driver Driver (scalar Name)
 
public list DriverNames ()
 
public list Drivers ()
 
public method EscapeString ()
 
public scalar FindFile (scalar basename)
 
public method FinderClean ()
 
public method GOA2GetAccessToken ()
 
public method GOA2GetAuthorizationURL ()
 
public method GOA2GetRefreshToken ()
 
public method GetActualURL ()
 
public scalar GetCacheMax ()
 
public scalar GetCacheUsed ()
 
public scalar GetConfigOption (scalar key)
 
public scalar GetDataTypeSize (scalar DataType)
 
public method GetErrorCounter ()
 
public method GetFileSystemOptions ()
 
public method GetFileSystemsPrefixes ()
 
public method GetJPEG2000StructureAsString ()
 
public method GetSignedURL ()
 
public Geo::GDAL::Driver IdentifyDriver (scalar path, scalar siblings)
 
public method IdentifyDriverEx ()
 
public method MkdirRecursive ()
 
public Geo::GDAL::Dataset Open (hash params)
 
public Geo::GDAL::Dataset OpenEx (hash params)
 
public list OpenFlags ()
 
public scalar PackCharacter (scalar DataType)
 
public scalar PackedDMSToDec (scalar packed)
 
public method PopFinderLocation ()
 
public method PushFinderLocation (scalar path)
 
public list RIOResamplingTypes ()
 
public list ResamplingTypes ()
 
public method RmdirRecursive ()
 
public method SetCacheMax (scalar Bytes)
 
public method SetConfigOption (scalar key, scalar value)
 
public method UseExceptions ()
 
public method VSICurlClearCache ()
 
public method VSIFEofL ()
 
public method VSIFOpenExL ()
 
public method VSIGetLastErrorMsg ()
 
public method VSIGetLastErrorNo ()
 
public scalar VersionInfo (scalar request= 'VERSION_NUM')
 
public scalar errstr ()
 

Detailed Description

An attribute table in a raster band.



Definition at line 6071 of file all.dox.

Member Function Documentation


Code:
click to view

public method Geo::GDAL::RasterAttributeTable::ChangesAreWrittenToFile ( )


Code:
click to view

public Geo::GDAL::RasterAttributeTable Geo::GDAL::RasterAttributeTable::Clone ( )

Object method.

Returns
a new Geo::GDAL::RasterAttributeTable object

Code:
click to view

public hash Geo::GDAL::RasterAttributeTable::Columns ( hash  columns)

Object method.
A get/set method for the columns of the RAT

Parameters
columnsoptional, 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

Code:
click to view

public method Geo::GDAL::RasterAttributeTable::CreateColumn ( scalar  name,
scalar  type,
scalar  usage 
)

Object method.

Parameters
name
typeone of FieldTypes
usageone of FieldUsages

Code:
click to view

public method Geo::GDAL::RasterAttributeTable::DumpReadable ( )


Code:
click to view

public list Geo::GDAL::RasterAttributeTable::FieldTypes ( )

Package subroutine.

Returns


Code:
click to view

public list Geo::GDAL::RasterAttributeTable::FieldUsages ( )

Package subroutine.

Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetColOfUsage ( scalar  usage)

Object method.

Parameters
usage
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetColumnCount ( )

Object method.

Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetNameOfCol ( scalar  column)

Object method.

Parameters
column
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetRowCount ( )

Object method.

Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetRowOfValue ( scalar  value)

Object method.

Parameters
valuea cell value
Returns
row index or -1

Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetTypeOfCol ( scalar  column)

Object method.

Parameters
column
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetUsageOfCol ( scalar  column)

Object method.

Parameters
column
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetValueAsDouble ( scalar  row,
scalar  column 
)

Object method.

Parameters
row
column
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetValueAsInt ( scalar  row,
scalar  column 
)

Object method.

Parameters
row
column
Returns


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::GetValueAsString ( scalar  row,
scalar  column 
)

Object method.

Parameters
row
column
Returns


Code:
click to view

public method Geo::GDAL::RasterAttributeTable::LinearBinning ( scalar  Row0MinIn,
scalar  BinSizeIn 
)

Object method.

Parameters
Row0MinIn[optional] the lower bound (cell value) of the first category.
BinSizeIn[optional] the width of each category (in cell value units).
Returns
($Row0MinIn, $BinSizeIn) or an empty list if LinearBinning is not set.

Code:
click to view

public Geo::GDAL::RasterAttributeTable Geo::GDAL::RasterAttributeTable::new ( )

Class method.

Returns
a new Geo::GDAL::RasterAttributeTable object

Code:
click to view

public method Geo::GDAL::RasterAttributeTable::SetRowCount ( scalar  count)

Object method.

Parameters
count


Code:
click to view

public method Geo::GDAL::RasterAttributeTable::SetValueAsDouble ( scalar  row,
scalar  column,
scalar  value 
)

Object method.

Parameters
row
column
value


Code:
click to view

public method Geo::GDAL::RasterAttributeTable::SetValueAsInt ( scalar  row,
scalar  column,
scalar  value 
)

Object method.

Parameters
row
column
value


Code:
click to view

public method Geo::GDAL::RasterAttributeTable::SetValueAsString ( scalar  row,
scalar  column,
scalar  value 
)

Object method.

Parameters
row
column
value


Code:
click to view

public scalar Geo::GDAL::RasterAttributeTable::Value ( scalar  row,
scalar  column,
scalar  value 
)

Object method.

Parameters
row
column
value[optional]
Returns


Code:
click to view


The documentation for this class was generated from the following file: