List of all members.
Public Class Methods |
list | Capabilities () |
Geo::OGR::DataSource | Open (scalar name, scalar update=0) |
Geo::OGR::DataSource | OpenShared (scalar name, scalar update=0) |
Public Object Methods |
scalar | TestCapability (scalar cap) |
Geo::OGR::Layer | Layer (scalar layer=0) |
list | Layers () |
scalar | GetLayerCount () |
Geo::OGR::Driver | GetDriver () |
scalar | GetName () |
Geo::OGR::Layer | CreateLayer (scalar Name, scalar SRS=undef, scalar GeometryType= 'Unknown', listref Options=undef, hashref Schema=undef) |
Geo::OGR::Layer | CopyLayer (scalar layer, scalar name, listref options=undef) |
| DeleteLayer (scalar layer) |
| DeleteLayer (hash param) |
Geo::OGR::Layer | ExecuteSQL (scalar statement, scalar geom=undef, scalar dialect="") |
| ReleaseResultSet (scalar layer) |
Geo::OGR::Layer | GetLayerByIndex (scalar index=0) |
Geo::OGR::Layer | GetLayerByName (scalar name) |
scalar | GetRefCount () |
scalar | GetSummaryRefCount () |
Public Attributes |
| name |
Member Function Documentation
list Geo::OGR::DataSource::Capabilities |
( |
| ) |
|
- Returns:
- the class method returns a list of all potential capabilities a data source may have; the object method returns a list of all capabilities the data source has
Geo::OGR::Layer Geo::OGR::DataSource::CopyLayer |
( |
scalar |
layer, |
|
|
scalar |
name, |
|
|
listref |
options = undef |
|
) |
| |
Geo::OGR::Layer Geo::OGR::DataSource::CreateLayer |
( |
scalar |
Name, |
|
|
scalar |
SRS = undef , |
|
|
scalar |
GeometryType = 'Unknown' , |
|
|
listref |
Options = undef , |
|
|
hashref |
Schema = undef |
|
) |
| |
This method can also be used with a named parameters syntax: $ds->CreateLayer({..named parameters..}).
- Parameters:
-
- Returns:
- a new Geo::OGR::Layer object
Geo::OGR::DataSource::DeleteLayer |
( |
scalar |
layer | ) |
|
Deletes a layer from the data source. Note that if there are layer objects for the deleted layer, they become unusable.
- Parameters:
-
layer | name (primary) or index (secondary) of the layer to be deleted, if ambiguous use named parameter syntax (name or index) |
Geo::OGR::DataSource::DeleteLayer |
( |
hash |
param | ) |
|
Deletes a layer from the data source. Note that if there are layers objects for the deleted layer, they become unusable.
- Parameters:
-
param | named parameter (name or index) for the layer to be deleted |
Geo::OGR::Layer Geo::OGR::DataSource::ExecuteSQL |
( |
scalar |
statement, |
|
|
scalar |
geom = undef , |
|
|
scalar |
dialect = "" |
|
) |
| |
scalar Geo::OGR::DataSource::GetLayerCount |
( |
| ) |
|
scalar Geo::OGR::DataSource::GetName |
( |
| ) |
|
scalar Geo::OGR::DataSource::GetRefCount |
( |
| ) |
|
scalar Geo::OGR::DataSource::GetSummaryRefCount |
( |
| ) |
|
- Parameters:
-
layer | a name (primary) or index (secondary) of the requested layer. If not given, then returns the first layer. |
- Returns:
- a new Geo::OGR::Layer object
list Geo::OGR::DataSource::Layers |
( |
| ) |
|
- Returns:
- a list of layer names
- Parameters:
-
name | the data source name (directory, filename, etc.) |
update | if set to true, the data source can be updated |
- Returns:
- a new Geo::OGR::DataSource object
Reimplemented from Geo::OGR.
- Parameters:
-
name | the data source name (directory, filename, etc.) |
update | if set to true, the data source can be updated |
- Returns:
- a new Geo::OGR::DataSource object
Reimplemented from Geo::OGR.
Geo::OGR::DataSource::ReleaseResultSet |
( |
scalar |
layer | ) |
|
- Parameters:
-
layer | a layer the has been created with ExecuteSQL |
scalar Geo::OGR::DataSource::TestCapability |
( |
scalar |
cap | ) |
|
- Parameters:
-
- Returns:
- integer
Member Data Documentation
string (access as $datasource->{name})
The documentation for this class was generated from the following file: