Geo::GDAL  2.0
Geo::OGR::Driver Class Reference

A vector format driver. More...

+ Inheritance diagram for Geo::OGR::Driver:
+ Collaboration diagram for Geo::OGR::Driver:

Public Member Functions

public list Capabilities ()
 
public Geo::OGR::DataSource Copy (Geo::OGR::DataSource source, scalar name, arrayref options=undef)
 
public Geo::OGR::DataSource Create (scalar name, hashref options=undef)
 
public method Delete (scalar name)
 
public scalar Name ()
 
public Geo::OGR::DataSource Open (scalar name, scalar update=0)
 
public scalar TestCapability (scalar cap)
 
- Public Member Functions inherited from Geo::GDAL::MajorObject
public scalar Description (scalar description)
 
public method Domains ()
 
public scalar GetDescription ()
 
public hash reference GetMetadata (scalar domain="")
 
public method GetMetadataDomainList ()
 
public hash reference Metadata (hashref metadata=undef, scalar domain= '')
 
public method SetDescription (scalar NewDesc)
 
public method SetMetadata (hashref metadata, scalar domain="")
 
- Public Member Functions inherited from Geo::GDAL
public list AccessTypes ()
 
public Geo::GDAL::Dataset AutoCreateWarpedVRT (Geo::GDAL::Dataset src, Geo::OSR::SpatialReference src_srs=undef, Geo::OSR::SpatialReference dst_srs=undef, scalar ResampleAlg='NearestNeighbour', scalar maxerror=0.0)
 
public method CPLBinaryToHex ()
 
public method CPLHexToBinary ()
 
public list Child (scalar node, scalar i)
 
public list Children (scalar node)
 
public method ComputeMedianCutPCT (Geo::GDAL::Band red, Geo::GDAL::Band green, Geo::GDAL::Band blue, scalar num_colors, scalar colors, subref progress, scalar progress_data)
 
public method ComputeProximity (Geo::GDAL::Band src, Geo::GDAL::Band proximity, hashref options, subref progress, scalar progress_data)
 
public scalar DataTypeIsComplex (scalar DataType)
 
public list DataTypeValueRange (scalar DataType)
 
public list DataTypes ()
 
public method Debug ()
 
public scalar DecToDMS (scalar angle, scalar axis, scalar precision=2)
 
public scalar DecToPackedDMS (scalar dec)
 
public method DitherRGB2PCT (scalar red, scalar green, scalar blue, scalar target, scalar colors, subref progress, scalar progress_data)
 
public method EscapeString ()
 
public scalar FindFile (scalar class, scalar basename)
 
public method FinderClean ()
 
public method GOA2GetAccessToken ()
 
public method GOA2GetAuthorizationURL ()
 
public method GOA2GetRefreshToken ()
 
public scalar GetCacheMax ()
 
public scalar GetCacheUsed ()
 
public scalar GetConfigOption (scalar key, scalar default)
 
public scalar GetDataTypeSize (scalar DataType)
 
public Geo::GDAL::Driver GetDriver (scalar name)
 
public list GetDriverNames ()
 
public method GetJPEG2000StructureAsString ()
 
public Geo::GDAL::Driver IdentifyDriver (scalar path, scalar siblings)
 
public list NodeData (scalar node)
 
public scalar NodeType (scalar type)
 
public list NodeTypes ()
 
public Geo::GDAL::Dataset Open (scalar name, scalar access= 'ReadOnly')
 
public Geo::GDAL::Dataset OpenEx (scalar name, scalar open_flags=0, array reference allowed_drivers=undef, array reference open_options=undef, array reference sibling_files=undef)
 
public Geo::GDAL::Dataset OpenShared (scalar name, scalar access= 'ReadOnly')
 
public scalar PackCharacter (scalar DataType)
 
public scalar PackedDMSToDec (scalar packed)
 
public array reference ParseXMLString (scalar XML)
 
public method Polygonize (Geo::GDAL::Band src, Geo::GDAL::Band mask, Geo::OGR::Layer out, scalar PixValField, hashref options, subref progress, scalar progress_data)
 
public method PopFinderLocation ()
 
public method PushFinderLocation (scalar path)
 
public list RIOResamplingTypes ()
 
public method RasterizeLayer (Geo::GDAL::Dataset ds, arrayref bands, Geo::OGR::Layer layer, scalar transformer, scalar arg, arrayref burn_values, hashref options, subref progress, scalar progress_data)
 
public method ReprojectImage (scalar src_ds, scalar dst_ds, scalar src_wkt=undef, scalar dst_wkt=undef, scalar ResampleAlg='NearestNeighbour', scalar WarpMemoryLimit=0, scalar maxerror=0.0, subref progress, scalar progress_data)
 
public list ResamplingTypes ()
 
public scalar SerializeXMLTree (arrayref XMLTree)
 
public method SetCacheMax (scalar Bytes)
 
public method SetConfigOption (scalar key, scalar value)
 
public method SieveFilter (Geo::GDAL::Band src, Geo::GDAL::Band mask, Geo::GDAL::Band dst, scalar threshold, scalar connectedness, hashref options, subref progress, scalar progress_data)
 
public scalar VersionInfo (scalar request= 'VERSION_NUM')
 
- Public Member Functions inherited from Geo::OGR
public list ByteOrders ()
 
public scalar GeometryTypeModify (scalar type, scalar modifier)
 
public scalar GeometryTypeTest (scalar type, scalar test, scalar type2)
 
public list GeometryTypes ()
 
public Geo::OGR::Driver GetDriver (scalar name)
 
public list GetDriverNames ()
 
public method GetNonLinearGeometriesEnabledFlag ()
 
public Geo::OGR::DataSource GetOpenDS (scalar number)
 
public scalar GetOpenDSCount ()
 
public method OLMD_FID64 ()
 
public Geo::OGR::DataSource Open (scalar name, scalar update=0)
 
public Geo::OGR::DataSource OpenShared (scalar name, scalar update=0)
 
public method SetGenerate_DB2_V72_BYTE_ORDER (scalar Generate_DB2_V72_BYTE_ORDER)
 
public method SetNonLinearGeometriesEnabledFlag ()
 

Detailed Description

A vector format driver.

A driver may, depending on its capabilities, create, open, copy, and delete data sources.

Definition at line 6350 of file all.pm.

Member Function Documentation

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

Both a class and an object method.

Returns
a list of capabilities. The object method returns a list of the capabilities the driver has. The class method returns a list of all potential capabilities a driver may have. These are currently: CreateDataSource, and DeleteDataSource.

Examples:

@all_capabilities = Geo::OGR::Driver::Capabilities;
@capabilities_of_a_driver = Geo::OGR::Driver('KML')->Capabilities;
Code:
click to view
public Geo::OGR::DataSource Geo::OGR::Driver::Copy ( Geo::OGR::DataSource  source,
scalar  name,
arrayref  options = undef 
)

Copy an OGR data source object.

Note
a.k.a. CopyDataSource
Parameters
sourcethe Geo::OGR::DataSource object to be copied.
namethe name for the new data source.
optionsdriver specific options.
Returns
a new Geo::OGR::DataSource object.
Code:
click to view
public 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.
Code:
click to view
public method Geo::OGR::Driver::Delete ( scalar  name)

Delete an OGR data source.

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

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

Note
a.k.a. GetDataSource
Parameters
namethe name of data source.
updatewhether to open the data source in update mode.
Returns
a new Geo::OGR::DataSource object
Code:
click to view
public scalar Geo::OGR::Driver::TestCapability ( scalar  cap)
Parameters
capA capability string.
Returns
boolean value.
Code:
click to view

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