Geo::GDAL  1.11
Geo::OGR::Driver Class Reference
Inheritance diagram for Geo::OGR::Driver:
Inheritance graph
[legend]

List of all members.

Public Class Methods

list Capabilities ()

Public Object Methods

scalar TestCapability (scalar cap)
Geo::OGR::DataSource Create (scalar name, hashref options=undef)
Geo::OGR::DataSource Copy (scalar ds, scalar name, listref options=undef)
Geo::OGR::DataSource Open (scalar name, scalar update=0)
 Delete (scalar name)
scalar Name ()

Public Attributes

list CAPABILITIES
 name

Member Function Documentation

Returns:
a list of capabilities. The class method returns a list of all potential capabilities a driver may have; the object method returns a list of all capabilities the driver has. Examples.
@all_capabilities = Geo::OGR::Driver::Capabilities;
@capabilities_of_a_driver = Geo::OGR::Driver('KML')->Capabilities;
Geo::OGR::DataSource Geo::OGR::Driver::Copy ( scalar  ds,
scalar  name,
listref  options = undef 
)

Copy an OGR data source object.

Note:
a.k.a. CopyDataSource
Parameters:
dsThe Geo::OGR::DataSource object to be copied.
nameThe name for the new data source.
optionsDriver specific options.
Returns:
a new Geo::OGR::DataSource object.
Geo::OGR::DataSource Geo::OGR::Driver::Create ( scalar  name,
hashref  options = undef 
)

Create an OGR data source object.

Note:
a.k.a. CreateDataSource
Parameters:
nameThe data source name.
optionsDriver specific options.

Usage:

$ds = Geo::OGR::Driver('driver name')->Create('data source name', {});
Returns:
a new Geo::OGR::DataSource object.
Geo::OGR::Driver::Delete ( scalar  name)

Delete an OGR data source.

Note:
a.k.a. DeleteDataSource
Parameters:
nameThe name of data source.
Note:
a.k.a. GetName
Returns:
the name of the driver.
Geo::OGR::DataSource Geo::OGR::Driver::Open ( scalar  name,
scalar  update = 0 
)

Open an OGR data source object. Alternative name: OpenDataSource.

Parameters:
nameThe name of data source.
updateWhether to open the data source in update mode.
Returns:
a new Geo::OGR::DataSource object

Reimplemented from Geo::OGR.

scalar Geo::OGR::Driver::TestCapability ( scalar  cap)
Parameters:
capA capability string.
Returns:
boolean value.

Member Data Documentation

Driver capabilities known to GDAL

scalar (access as $driver->{name})


The documentation for this class was generated from the following file: