Geo::GDAL  2.0
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 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 list AccessTypes ()
 
public Geo::GDAL::Dataset AutoCreateWarpedVRT (Geo::GDAL::Dataset src, Geo::OSR::SpatialReference src_srs=undef, Geo::OSR::SpatialReference dst_srs=undef, scalar ResampleAlg='NearestNeighbour', scalar maxerror=0.0)
 
public method CPLBinaryToHex ()
 
public method CPLHexToBinary ()
 
public list Child (scalar node, scalar i)
 
public list Children (scalar node)
 
public method ComputeMedianCutPCT (Geo::GDAL::Band red, Geo::GDAL::Band green, Geo::GDAL::Band blue, scalar num_colors, scalar colors, subref progress, scalar progress_data)
 
public method ComputeProximity (Geo::GDAL::Band src, Geo::GDAL::Band proximity, hashref options, subref progress, scalar progress_data)
 
public scalar DataTypeIsComplex (scalar DataType)
 
public list DataTypeValueRange (scalar DataType)
 
public list DataTypes ()
 
public method Debug ()
 
public scalar DecToDMS (scalar angle, scalar axis, scalar precision=2)
 
public scalar DecToPackedDMS (scalar dec)
 
public method DitherRGB2PCT (scalar red, scalar green, scalar blue, scalar target, scalar colors, subref progress, scalar progress_data)
 
public method EscapeString ()
 
public scalar FindFile (scalar class, 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, scalar default)
 
public scalar GetDataTypeSize (scalar DataType)
 
public Geo::GDAL::Driver GetDriver (scalar name)
 
public list GetDriverNames ()
 
public method GetJPEG2000StructureAsString ()
 
public Geo::GDAL::Driver IdentifyDriver (scalar path, scalar siblings)
 
public list NodeData (scalar node)
 
public scalar NodeType (scalar type)
 
public list NodeTypes ()
 
public Geo::GDAL::Dataset Open (scalar name, scalar access= 'ReadOnly')
 
public Geo::GDAL::Dataset OpenEx (scalar name, scalar open_flags=0, array reference allowed_drivers=undef, array reference open_options=undef, array reference sibling_files=undef)
 
public Geo::GDAL::Dataset OpenShared (scalar name, scalar access= 'ReadOnly')
 
public scalar PackCharacter (scalar DataType)
 
public scalar PackedDMSToDec (scalar packed)
 
public array reference ParseXMLString (scalar XML)
 
public method Polygonize (Geo::GDAL::Band src, Geo::GDAL::Band mask, Geo::OGR::Layer out, scalar PixValField, hashref options, subref progress, scalar progress_data)
 
public method PopFinderLocation ()
 
public method PushFinderLocation (scalar path)
 
public list RIOResamplingTypes ()
 
public method RasterizeLayer (Geo::GDAL::Dataset ds, arrayref bands, Geo::OGR::Layer layer, scalar transformer, scalar arg, arrayref burn_values, hashref options, subref progress, scalar progress_data)
 
public method ReprojectImage (scalar src_ds, scalar dst_ds, scalar src_wkt=undef, scalar dst_wkt=undef, scalar ResampleAlg='NearestNeighbour', scalar WarpMemoryLimit=0, scalar maxerror=0.0, subref progress, scalar progress_data)
 
public list ResamplingTypes ()
 
public scalar SerializeXMLTree (arrayref XMLTree)
 
public method SetCacheMax (scalar Bytes)
 
public method SetConfigOption (scalar key, scalar value)
 
public method SieveFilter (Geo::GDAL::Band src, Geo::GDAL::Band mask, Geo::GDAL::Band dst, scalar threshold, scalar connectedness, hashref options, subref progress, scalar progress_data)
 
public scalar VersionInfo (scalar request= 'VERSION_NUM')
 

Detailed Description

An attribute table in a raster band.

Definition at line 4493 of file all.pm.

Member Function Documentation

public method Geo::GDAL::RasterAttributeTable::ChangesAreWrittenToFile ( )
Code:
click to view
public Geo::GDAL::RasterAttributeTable Geo::GDAL::RasterAttributeTable::Clone ( )
Returns
a new Geo::GDAL::RasterAttributeTable object
Code:
click to view
public hash Geo::GDAL::RasterAttributeTable::Columns ( hash  columns)

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 
)
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 ( )

Class method.

Returns
Code:
click to view
public list Geo::GDAL::RasterAttributeTable::FieldUsages ( )

Class method.

Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetColOfUsage ( scalar  usage)
Parameters
usage
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetColumnCount ( )
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetNameOfCol ( scalar  column)
Parameters
column
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetRowCount ( )
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetRowOfValue ( scalar  value)
Parameters
valuea pixel value
Returns
row index or -1
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetTypeOfCol ( scalar  column)
Parameters
column
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetUsageOfCol ( scalar  column)
Parameters
column
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetValueAsDouble ( scalar  row,
scalar  column 
)
Parameters
row
column
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetValueAsInt ( scalar  row,
scalar  column 
)
Parameters
row
column
Returns
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::GetValueAsString ( scalar  row,
scalar  column 
)
Parameters
row
column
Returns
Code:
click to view
public method Geo::GDAL::RasterAttributeTable::LinearBinning ( scalar  Row0MinIn,
scalar  BinSizeIn 
)
Parameters
Row0MinIn[optional] the lower bound (pixel value) of the first category.
BinSizeIn[optional] the width of each category (in pixel 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)
Parameters
count
Code:
click to view
public method Geo::GDAL::RasterAttributeTable::SetValueAsDouble ( scalar  row,
scalar  column,
scalar  value 
)
Parameters
row
column
value
Code:
click to view
public method Geo::GDAL::RasterAttributeTable::SetValueAsInt ( scalar  row,
scalar  column,
scalar  value 
)
Parameters
row
column
value
Code:
click to view
public method Geo::GDAL::RasterAttributeTable::SetValueAsString ( scalar  row,
scalar  column,
scalar  value 
)
Parameters
row
column
value
Code:
click to view
public scalar Geo::GDAL::RasterAttributeTable::Value ( scalar  row,
scalar  column,
scalar  value 
)
Parameters
row
column
value[optional]
Returns
Code:
click to view

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