Geo::GDAL::FFI::Object(3pm)

Geo::GDAL::FFI::Object3pm

A gdal major object

Overview

The base class for classes Driver, Dataset, Band, and Layer.

Methods

GetDescription

 my $desc = $object->GetDescription;

HasCapability

 my $has_cap = $object->HasCapability($capability);

GetMetadataDomainList

 my @domains = $object->GetMetadataDomainList;

GetMetadata

 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.

SetMetadata

 $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.

GetMetadataItem

 my $value = $object->GetMetadataItem($item, $domain)

Gets the value of the metadata item in a domain (by default an empty string).

SetMetadataItem

 $object->GetMetadataItem($item, $value, $domain)

Sets the value of the metadata item in a domain (by default an empty string).

License

This software is released under the Artistic License. See perlartistic.

Author

Ari Jolma - Ari.Jolma at gmail.com

From libgeo-gdal-ffi-perl 0.12-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.