Geo::OGR::Driver Class Reference

Inherits Geo::OGR.

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

list Geo::OGR::Driver::Capabilities (  ) 

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:
ds The Geo::OGR::DataSource object to be copied.
name The name for the new data source.
options Driver 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:
name The data source name.
options Driver 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:
name The name of data source.

scalar Geo::OGR::Driver::Name (  ) 

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:
name The name of data source.
update Whether 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:
cap A capability string.
Returns:
boolean value.


Member Data Documentation

list Geo::OGR::Driver::CAPABILITIES

Driver capabilities known to GDAL

Geo::OGR::Driver::name

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


The documentation for this class was generated from the following file:
Generated on 26 May 2013 for Geo::GDAL by  doxygen 1.4.7