Geo::GDAL
2.0
|
A source and/or storage of vector data layers. More...
Public Member Functions | |
public list | Capabilities () |
public method | CommitTransaction () |
public Geo::OGR::Layer | CopyLayer (scalar layer, scalar name, hashref options=undef) |
public Geo::OGR::Layer | CreateLayer (hash params) |
Create a new layer into this data source. More... | |
public method | DeleteLayer (scalar name) |
public Geo::OGR::Layer | ExecuteSQL (scalar statement, scalar geom=undef, scalar dialect="") |
public method | FlushCache () |
public Geo::OGR::Driver | GetDriver () |
public Geo::OGR::Layer | GetLayer (scalar name) |
public list | GetLayerNames () |
public scalar | GetName () |
public method | GetStyleTable () |
public Geo::OGR::DataSource | Open (scalar name, scalar update=0) |
public Geo::OGR::DataSource | OpenShared (scalar name, scalar update=0) |
public method | ReleaseResultSet (scalar layer) |
public method | RollbackTransaction () |
public method | SetStyleTable () |
public method | StartTransaction () |
public scalar | TestCapability (scalar cap) |
public method | new () |
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 () |
A source and/or storage of vector data layers.
A data source object may, depending on its capabilities, create, open (as such or using GDAL SQL), copy, and delete layers.
public list Geo::OGR::DataSource::Capabilities | ( | ) |
Both a class and an object method.
public method Geo::OGR::DataSource::CommitTransaction | ( | ) |
public Geo::OGR::Layer Geo::OGR::DataSource::CopyLayer | ( | scalar | layer, |
scalar | name, | ||
hashref | options = undef |
||
) |
layer | A Geo::OGR::Layer object to be copied. |
name | A name for the new layer. |
options | A ref to a hash of format specific options. |
public Geo::OGR::Layer Geo::OGR::DataSource::CreateLayer | ( | hash | params | ) |
Create a new layer into this data source.
%params | A list of named parameters:
|
Example:
public method Geo::OGR::DataSource::DeleteLayer | ( | scalar | name | ) |
Deletes a layer from the data source. Note that if there is a layer object for the deleted layer, it becomes unusable.
name | name of the layer to delete. |
public Geo::OGR::Layer Geo::OGR::DataSource::ExecuteSQL | ( | scalar | statement, |
scalar | geom = undef , |
||
scalar | dialect = "" |
||
) |
statement | A SQL statement. |
geom | A Geo::OGR::Geometry object. |
dialect |
public method Geo::OGR::DataSource::FlushCache | ( | ) |
public Geo::OGR::Driver Geo::OGR::DataSource::GetDriver | ( | ) |
public Geo::OGR::Layer Geo::OGR::DataSource::GetLayer | ( | scalar | name | ) |
name | the name of the requested layer. If not given, then returns the first layer in the data source. |
public list Geo::OGR::DataSource::GetLayerNames | ( | ) |
public scalar Geo::OGR::DataSource::GetName | ( | ) |
public method Geo::OGR::DataSource::GetStyleTable | ( | ) |
public method Geo::OGR::DataSource::new | ( | ) |
public Geo::OGR::DataSource Geo::OGR::DataSource::Open | ( | scalar | name, |
scalar | update = 0 |
||
) |
Class method. An example:
name | The data source name (directory, filename, etc.). |
update | Whether to open the data source in update mode. |
public Geo::OGR::DataSource Geo::OGR::DataSource::OpenShared | ( | scalar | name, |
scalar | update = 0 |
||
) |
Class method.
name | The data source name (directory, filename, etc.). |
update | Whether to open the data source in update mode. |
public method Geo::OGR::DataSource::ReleaseResultSet | ( | scalar | layer | ) |
layer | A layer the has been created with ExecuteSQL. |
public method Geo::OGR::DataSource::RollbackTransaction | ( | ) |
public method Geo::OGR::DataSource::SetStyleTable | ( | ) |
public method Geo::OGR::DataSource::StartTransaction | ( | ) |
public scalar Geo::OGR::DataSource::TestCapability | ( | scalar | cap | ) |
cap | A capability string. |