List of all members.
Public Class Methods |
Geo::GDAL::Dataset | Open (scalar name, scalar access='ReadOnly') |
Geo::GDAL::Dataset | OpenShared (scalar name, scalar access='ReadOnly') |
Public Object Methods |
list | Size () |
Geo::GDAL::Driver | GetDriver () |
Geo::GDAL::Band | Band (scalar index) |
scalar | GetRasterBand (scalar index) |
list | Bands () |
scalar | Projection (scalar projection) |
scalar | GetProjection () |
scalar | GetProjectionRef () |
scalar | SetProjection (scalar proj) |
list | GeoTransform (list geo_transform) |
listref | GetGeoTransform () |
| SetGeoTransform (listref GeoTransform) |
| BuildOverviews (scalar resampling="NEAREST", listref overviews=undef) |
list | GCPs (list GCPs, scalar GCPProjection) |
scalar | GetGCPCount () |
scalar | GetGCPProjection () |
listref | GetGCPs () |
| SetGCPs (listref GCPs, scalar GCPProjection) |
| FlushCache () |
| AddBand (scalar datatype= 'Byte', listref options=0) |
| WriteRaster (scalar xoff, scalar yoff, scalar xsize, scalar ysize, scalar buf, scalar buf_xsize=undef, scalar buf_ysize=undef, scalar buf_type=undef, listref band_list=undef) |
scalar | ReadRaster (scalar xoff, scalar yoff, scalar xsize, scalar ysize, scalar buf_xsize=undef, scalar buf_ysize=undef, scalar buf_type=undef, listref band_list=undef) |
| CreateMaskBand () |
Public Attributes |
| RasterXSize |
| RasterYSize |
| RasterCount |
Member Function Documentation
Geo::GDAL::Dataset::AddBand |
( |
scalar |
datatype = 'Byte' , |
|
|
listref |
options = 0 |
|
) |
| |
list Geo::GDAL::Dataset::Bands |
( |
| ) |
|
Geo::GDAL::Dataset::BuildOverviews |
( |
scalar |
resampling = "NEAREST" , |
|
|
listref |
overviews = undef |
|
) |
| |
Geo::GDAL::Dataset::CreateMaskBand |
( |
| ) |
|
Geo::GDAL::Dataset::FlushCache |
( |
| ) |
|
list Geo::GDAL::Dataset::GCPs |
( |
list |
GCPs, |
|
|
scalar |
GCPProjection |
|
) |
| |
Get or set the GCPs and their projection.
- Parameters:
-
GCPs | [optional] a list of Geo::GDAL::GCP objects |
GCPProjection | [optional] |
- Returns:
- a list of Geo::GDAL::GCP objects followed by a GCPProjection
list Geo::GDAL::Dataset::GeoTransform |
( |
list |
geo_transform | ) |
|
scalar Geo::GDAL::Dataset::GetGCPCount |
( |
| ) |
|
- Returns:
- the number of GCPs
scalar Geo::GDAL::Dataset::GetGCPProjection |
( |
| ) |
|
listref Geo::GDAL::Dataset::GetGCPs |
( |
| ) |
|
listref Geo::GDAL::Dataset::GetGeoTransform |
( |
| ) |
|
- Returns:
- a reference to an array of six parameters
scalar Geo::GDAL::Dataset::GetProjection |
( |
| ) |
|
scalar Geo::GDAL::Dataset::GetProjectionRef |
( |
| ) |
|
scalar Geo::GDAL::Dataset::GetRasterBand |
( |
scalar |
index | ) |
|
Geo::GDAL::Dataset Geo::GDAL::Dataset::OpenShared |
( |
scalar |
name, |
|
|
scalar |
access = 'ReadOnly' |
|
) |
| |
scalar Geo::GDAL::Dataset::Projection |
( |
scalar |
projection | ) |
|
Get or set the projection.
- Parameters:
-
- Returns:
- the projection
scalar Geo::GDAL::Dataset::ReadRaster |
( |
scalar |
xoff, |
|
|
scalar |
yoff, |
|
|
scalar |
xsize, |
|
|
scalar |
ysize, |
|
|
scalar |
buf_xsize = undef , |
|
|
scalar |
buf_ysize = undef , |
|
|
scalar |
buf_type = undef , |
|
|
listref |
band_list = undef |
|
) |
| |
Read a buffer from the raster.
- Parameters:
-
xoff | |
yoff | |
xsize | |
ysize | |
buf_xsize | |
buf_ysize | |
buf_type | |
band_list | |
- Returns:
- a buffer, open the buffer with unpack.
Geo::GDAL::Dataset::SetGCPs |
( |
listref |
GCPs, |
|
|
scalar |
GCPProjection |
|
) |
| |
Geo::GDAL::Dataset::SetGeoTransform |
( |
listref |
GeoTransform | ) |
|
scalar Geo::GDAL::Dataset::SetProjection |
( |
scalar |
proj | ) |
|
list Geo::GDAL::Dataset::Size |
( |
| ) |
|
Geo::GDAL::Dataset::WriteRaster |
( |
scalar |
xoff, |
|
|
scalar |
yoff, |
|
|
scalar |
xsize, |
|
|
scalar |
ysize, |
|
|
scalar |
buf, |
|
|
scalar |
buf_xsize = undef , |
|
|
scalar |
buf_ysize = undef , |
|
|
scalar |
buf_type = undef , |
|
|
listref |
band_list = undef |
|
) |
| |
Write a buffer into the raster. Create the buffer with pack. Entry in GDAL docs
- Parameters:
-
xoff | |
yoff | |
xsize | |
ysize | |
buf | |
buf_xsize | |
buf_ysize | |
buf_type | |
band_list | |
Member Data Documentation
scalar (access as $dataset->{RasterCount})
scalar (access as $dataset->{RasterXSize})
scalar (access as $dataset->{RasterYSize})
The documentation for this class was generated from the following file: