Geo::GDAL::FFI::Object - A GDAL major object
The base class for classes Driver, Dataset, Band, and Layer.
my $desc = $object->GetDescription;
my $has_cap = $object->HasCapability($capability);
my @domains = $object->GetMetadataDomainList;
my %metadata = $object->GetMetadata($domain);
Returns the object metadata of a given domain.
my $metadata = $object->GetMetadata($domain);
Returns the object metadata of a given domain in an anonymous hash.
my %metadata = $object->GetMetadata;
Returns the object metadata.
my $metadata = $object->GetMetadata;
Returns the object metadata in an anonymous hash.
$object->SetMetadata($metadata, $domain);
Sets the object metadata in a given domain. The metadata is in an anonymous hash.
$object->SetMetadata($metadata);
Sets the object metadata in the domains that are the keys of the hash $metadata references. The values of the hash are the metadata in anonymous hashes.
my $value = $object->GetMetadataItem($item, $domain)
Gets the value of the metadata item in a domain (by default an empty string).
$object->GetMetadataItem($item, $value, $domain)
Sets the value of the metadata item in a domain (by default an empty string).
This software is released under the Artistic License. See perlartistic.
Ari Jolma - Ari.Jolma at gmail.com
Geo::GDAL::FFI
Alien::gdal, FFI::Platypus, http://www.gdal.org
To install Geo::GDAL::FFI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::GDAL::FFI
CPAN shell
perl -MCPAN -e shell install Geo::GDAL::FFI
For more information on module installation, please visit the detailed CPAN module installation guide.