Geo::GDAL  2.2
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 RELEASE_PARENT ()
 
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 scalar GetCacheMax ()
 
public scalar GetCacheUsed ()
 
public scalar GetConfigOption (scalar key)
 
public scalar GetDataTypeSize (scalar DataType)
 
public method GetJPEG2000StructureAsString ()
 
public Geo::GDAL::Driver IdentifyDriver (scalar path, scalar siblings)
 
public method IdentifyDriverEx ()
 
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 method RELEASE_PARENT ()
 
public list RIOResamplingTypes ()
 
public list ResamplingTypes ()
 
public method SetCacheMax (scalar Bytes)
 
public method SetConfigOption (scalar key, scalar value)
 
public method UseExceptions ()
 
public method VSICurlClearCache ()
 
public method VSIFOpenExL ()
 
public method VSIGetLastErrorMsg ()
 
public method VSIGetLastErrorNo ()
 
public scalar VersionInfo (scalar request='VERSION_NUM')
 
public scalar errstr ()
 
public method i2s ()
 
public method keep ()
 
public method note ()
 
public method parent ()
 
public method s2i ()
 
public method s_exists ()
 
public method unkeep ()
 
public method unnote ()
 

Detailed Description

An attribute table in a raster band.



Definition at line 6113 of file all.pm.

Member Function Documentation

◆ Band()


Code:
click to view

◆ ChangesAreWrittenToFile()

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


Code:
click to view

◆ Clone()

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

Object method.

Returns
a new Geo::GDAL::RasterAttributeTable object

Code:
click to view

◆ Columns()

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

◆ CreateColumn()

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

◆ DumpReadable()

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


Code:
click to view

◆ FieldTypes()

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

Package subroutine.

Returns


Code:
click to view

◆ FieldUsages()

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

Package subroutine.

Returns


Code:
click to view

◆ GetColOfUsage()

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

Object method.

Parameters
usage
Returns


Code:
click to view

◆ GetColumnCount()

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

Object method.

Returns


Code:
click to view

◆ GetNameOfCol()

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

Object method.

Parameters
column
Returns


Code:
click to view

◆ GetRowCount()

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

Object method.

Code:
click to view

◆ GetRowOfValue()

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

Object method.

Parameters
valuea cell value
Returns
row index or -1

Code:
click to view

◆ GetTypeOfCol()

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

Object method.

Parameters
column
Returns


Code:
click to view

◆ GetUsageOfCol()

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

Object method.

Parameters
column
Returns


Code:
click to view

◆ GetValueAsDouble()

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

Object method.

Parameters
row
column
Returns


Code:
click to view

◆ GetValueAsInt()

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

Object method.

Parameters
row
column
Returns


Code:
click to view

◆ GetValueAsString()

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

Object method.

Parameters
row
column
Returns


Code:
click to view

◆ LinearBinning()

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

◆ new()

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

Class method.

Returns
a new Geo::GDAL::RasterAttributeTable object

Code:
click to view

◆ RELEASE_PARENT()

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


Code:
click to view

◆ SetRowCount()

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

Object method.

Parameters
count


Code:
click to view

◆ SetValueAsDouble()

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

Object method.

Parameters
row
column
value


Code:
click to view

◆ SetValueAsInt()

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

Object method.

Parameters
row
column
value


Code:
click to view

◆ SetValueAsString()

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

Object method.

Parameters
row
column
value


Code:
click to view

◆ Value()

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: