Geo::GDAL
2.0
|
A set of associated raster bands. More...
Public Member Functions | |
public method | AddBand (scalar datatype= 'Byte', hashref options=0) |
public Geo::GDAL::Band | Band (scalar index) |
public list | Bands () |
public method | BuildOverviews (scalar resampling, arrayref overviews, subref progress, scalar progress_data) |
public method | CommitTransaction () |
public method | Domains () |
public list | GCPs (array GCPs, Geo::OSR::SpatialReference sr) |
public Geo::GDAL::GeoTransform | GeoTransform (Geo::GDAL::GeoTransform scalar geo_transform) |
public Geo::GDAL::Driver | GetDriver () |
public list | GetFileList () |
public scalar | GetGCPProjection () |
public Geo::GDAL::Dataset | Open (scalar name, scalar access='ReadOnly') |
public Geo::GDAL::Dataset | OpenShared (scalar name, scalar access='ReadOnly') |
public scalar | ReadRaster (hash params) |
public method | RollbackTransaction () |
public list | Size () |
public Geo::OSR::SpatialReference | SpatialReference (Geo::OSR::SpatialReference sr) |
public method | StartTransaction () |
public method | WriteRaster (hash params) |
Public Member Functions inherited from Geo::GDAL::MajorObject | |
public scalar | Description (scalar description) |
public method | Domains () |
public scalar | GetDescription () |
public hash reference | GetMetadata (scalar domain="") |
public method | GetMetadataDomainList () |
public hash reference | Metadata (hashref metadata=undef, scalar domain= '') |
public method | SetDescription (scalar NewDesc) |
public method | SetMetadata (hashref metadata, scalar domain="") |
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') |
Public Attributes | |
scalar | RasterCount |
scalar (access as $dataset->{RasterCount}) | |
scalar | RasterXSize |
scalar (access as $dataset->{RasterXSize}) | |
scalar | RasterYSize |
scalar (access as $dataset->{RasterYSize}) | |
public method Geo::GDAL::Dataset::AddBand | ( | scalar | datatype = 'Byte' , |
hashref | options = 0 |
||
) |
Add a new band to the dataset. The driver must support the action.
datatype | GDAL pixel data type (one of those listed by Geo::GDAL::DataTypes). |
options | reference to a hash of format specific key=>value options. |
public Geo::GDAL::Band Geo::GDAL::Dataset::Band | ( | scalar | index | ) |
Create a band object for the band within the dataset.
index | 1...RasterCount |
public list Geo::GDAL::Dataset::Bands | ( | ) |
public method Geo::GDAL::Dataset::BuildOverviews | ( | scalar | resampling, |
arrayref | overviews, | ||
subref | progress, | ||
scalar | progress_data | ||
) |
resampling | the resampling method, one of Geo::GDAL::RIOResamplingTypes. |
overviews | The list of overview decimation factors to build. For example [2,4,8]. |
progress | [optional] a reference to a subroutine, which will be called with parameters (number progress, string msg, progress_data) |
progress_data | [optional] |
public method Geo::GDAL::Dataset::CommitTransaction | ( | ) |
public method Geo::GDAL::Dataset::Domains | ( | ) |
public list Geo::GDAL::Dataset::GCPs | ( | array | GCPs, |
Geo::OSR::SpatialReference | sr | ||
) |
Get or set the GCPs and their projection.
GCPs | [optional] a list of Geo::GDAL::GCP objects |
sr | [optional] the projection of the GCPs. |
public Geo::GDAL::GeoTransform Geo::GDAL::Dataset::GeoTransform | ( | Geo::GDAL::GeoTransform scalar | geo_transform | ) |
Transformation from pixel coordinates (column,row) to projection coordinates (x,y)
geo_transform | [optional] |
public Geo::GDAL::Driver Geo::GDAL::Dataset::GetDriver | ( | ) |
public list Geo::GDAL::Dataset::GetFileList | ( | ) |
public scalar Geo::GDAL::Dataset::GetGCPProjection | ( | ) |
public Geo::GDAL::Dataset Geo::GDAL::Dataset::Open | ( | scalar | name, |
scalar | access = 'ReadOnly' |
||
) |
Class method. An example:
name | |
access | Access type (one of those listed by Geo::GDAL::AccessTypes). |
public Geo::GDAL::Dataset Geo::GDAL::Dataset::OpenShared | ( | scalar | name, |
scalar | access = 'ReadOnly' |
||
) |
Class method.
name | |
access | Access type (one of those listed by Geo::GDAL::AccessTypes). |
public scalar Geo::GDAL::Dataset::ReadRaster | ( | hash | params | ) |
Read data from the dataset.
params | named parameters. These are
|
If the parameters are given as a list the order is as above. Entry in GDAL docs (method RasterIO)
public method Geo::GDAL::Dataset::RollbackTransaction | ( | ) |
public list Geo::GDAL::Dataset::Size | ( | ) |
public Geo::OSR::SpatialReference Geo::GDAL::Dataset::SpatialReference | ( | Geo::OSR::SpatialReference | sr | ) |
Get or set the projection of this dataset.
sr | [optional] a Geo::OSR::SpatialReference object, which replaces the existing projection definition of this dataset. |
public method Geo::GDAL::Dataset::StartTransaction | ( | ) |
public method Geo::GDAL::Dataset::WriteRaster | ( | hash | params | ) |
Write data into the dataset.
params | named parameters. These are
|
If the parameters are given as a list the order is as above. Entry in GDAL docs (method RasterIO)