GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Geo::GDAL::FFI::Driver(3) User Contributed Perl Documentation Geo::GDAL::FFI::Driver(3)

Geo::GDAL::FFI::Driver - A GDAL data access driver

A format driver. Use the Driver method of a Geo::GDAL::FFI object to obtain one.

 my $name = $driver->GetName;

Returns the name of the driver.

 my $name = $driver->Create($name, {Width => 100, ...});

Create a dataset. $name is the name for the dataset to create. Named arguments are the following.

"Width"
Optional, but required to create a raster dataset.
"Height"
Optional, default is the same as width.
"Bands"
Optional, the number of raster bands in the dataset, default is one.
"DataType"
Optional, the data type (a string) for the raster cells, default is 'Byte'.
"Source"
Optional, the dataset to copy.
"Progress"
Optional, used only in dataset copy, a reference to a subroutine. The subroutine is called with three arguments "($fraction, $msg, $data)", where $fraction is a number, $msg is a string, and $data is a pointer that is given as the progress data argument.
"ProgressData"
Optional, used only in dataset copy, a reference.
"Strict"
Optional, used only in dataset copy, default is false (0).
"Options"
Optional, driver specific creation options, default is reference to an empty hash.

 my $name = $driver->Create($name, $width);

A simple syntax for calling Create to create a raster dataset.

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>

2021-03-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.