Geo::GDAL 1.8.0
Classes

Geo::OGR Class Reference

Inheritance diagram for Geo::OGR:
Inheritance graph
[legend]

List of all members.

Classes

class  DataSource
class  Driver
class  Feature
class  FeatureDefn
class  FieldDefn
class  Geometry
class  Layer

Public Functions

list GeometryTypes ()
Geo::OGR::Geometry CreateGeometryFromWkb (scalar WKB, scalar srs=undef)
Geo::OGR::Geometry CreateGeometryFromWkt (scalar WKT, scalar srs=undef)
Geo::OGR::Geometry CreateGeometryFromGML (scalar GML)
list Drivers ()
scalar GetDriverCount ()
scalar GetOpenDSCount ()
 SetGenerate_DB2_V72_BYTE_ORDER (scalar Generate_DB2_V72_BYTE_ORDER)
Geo::OGR::DataSource GetOpenDS (scalar number)
Geo::OGR::DataSource Open (scalar name, scalar update=0)
Geo::OGR::DataSource OpenShared (scalar name, scalar update=0)
Geo::OGR::Driver GetDriverByName (scalar name)
Geo::OGR::Driver Driver (scalar driver)

Public Attributes

 wkb25Bit
 wkbUnknown
 wkbPoint
 wkbLineString
 wkbPolygon
 wkbMultiPoint
 wkbMultiLineString
 wkbMultiPolygon
 wkbGeometryCollection
 wkbNone
 wkbLinearRing
 wkbPoint25D
 wkbLineString25D
 wkbPolygon25D
 wkbMultiPoint25D
 wkbMultiLineString25D
 wkbMultiPolygon25D
 wkbGeometryCollection25D
 OFTInteger
 OFTIntegerList
 OFTReal
 OFTRealList
 OFTString
 OFTStringList
 OFTWideString
 OFTWideStringList
 OFTBinary
 OFTDate
 OFTTime
 OFTDateTime
 OJUndefined
 OJLeft
 OJRight
 wkbXDR
 wkbNDR
 OLCRandomRead
 OLCSequentialWrite
 OLCRandomWrite
 OLCFastSpatialFilter
 OLCFastFeatureCount
 OLCFastGetExtent
 OLCCreateField
 OLCTransactions
 OLCDeleteFeature
 OLCFastSetNextByIndex
 ODsCCreateLayer
 ODsCDeleteLayer
 ODrCCreateDataSource
 ODrCDeleteDataSource

Member Function Documentation

Geo::OGR::Geometry Geo::OGR::CreateGeometryFromGML ( scalar  GML)
Parameters:
GMLString containing GML.
Returns:
a new Geo::OGR::Geometry object.
Geo::OGR::Geometry Geo::OGR::CreateGeometryFromWkb ( scalar  WKB,
scalar  srs = undef 
)
Parameters:
WKBBuffer containing well known binary.
srsA Geo::OSR::SpatialReference object.
Returns:
a new Geo::OGR::Geometry object.
Geo::OGR::Geometry Geo::OGR::CreateGeometryFromWkt ( scalar  WKT,
scalar  srs = undef 
)
Parameters:
WKTString containing well known text.
srsA Geo::OSR::SpatialReference object.
Returns:
a new Geo::OGR::Geometry object.
Geo::OGR::Driver Geo::OGR::Driver ( scalar  driver)

Create a driver object for the internal OGR driver.

Note:
aka GetDriver
Parameters:
driverthe index or the name of the driver
Returns:
a new Geo::OGR::Driver object
list Geo::OGR::Drivers ( )
Returns:
a list of Geo::OGR::Driver objects, one for each OGR format.
list Geo::OGR::GeometryTypes ( )
Returns:
a list of all geometry types.
Geo::OGR::Driver Geo::OGR::GetDriverByName ( scalar  name)
Parameters:
name
Returns:
a new Geo::OGR::Driver object.
scalar Geo::OGR::GetDriverCount ( )
Returns:
the number of all available drivers.
Geo::OGR::DataSource Geo::OGR::GetOpenDS ( scalar  number)
Parameters:
numberThe number of the requested data source.
Returns:
a new Geo::OGR::DataSource object.
scalar Geo::OGR::GetOpenDSCount ( )
Returns:
the number of all open data sources.
Geo::OGR::DataSource Geo::OGR::Open ( scalar  name,
scalar  update = 0 
)
Parameters:
nameThe data source string (directory, filename, etc.).
updateWhether to open the data source in update mode.
Returns:
a new Geo::OGR::DataSource object.

Reimplemented in Geo::OGR::Driver, and Geo::OGR::DataSource.

Geo::OGR::DataSource Geo::OGR::OpenShared ( scalar  name,
scalar  update = 0 
)
Parameters:
nameThe data source string (directory, filename, etc.).
updateWhether to open the data source in update mode.
Returns:
a new Geo::OGR::DataSource object.

Reimplemented in Geo::OGR::DataSource.

Geo::OGR::SetGenerate_DB2_V72_BYTE_ORDER ( scalar  Generate_DB2_V72_BYTE_ORDER)

Needed only on IBM DB2.


Member Data Documentation

Deprecated:
use string 'CreateDataSource' instead
Deprecated:
use string 'DeleteDataSource' instead
Deprecated:
use string 'CreateLayer' instead
Deprecated:
use string 'DeleteLayer' instead
Deprecated:
use string 'Binary' instead
Deprecated:
use string 'Date' instead
Deprecated:
use string 'DateTime' instead
Deprecated:
use string 'Integer' instead
Deprecated:
use string 'IntegerList' instead
Deprecated:
use string 'Real' instead
Deprecated:
use string 'RealList' instead
Deprecated:
use string 'String' instead
Deprecated:
use string 'StringList' instead
Deprecated:
use string 'Time' instead
Deprecated:
use string 'WideString' instead
Deprecated:
use string 'WideStringList' instead
Deprecated:
use string 'Left' instead
Deprecated:
use string 'Right' instead
Deprecated:
use string 'Undefined' instead
Deprecated:
use string 'CreateField' instead
Deprecated:
use string 'DeleteFeature' instead
Deprecated:
use string 'FastFeatureCount' instead
Deprecated:
use string 'FastGetExtent' instead
Deprecated:
use string 'FastSetNextByIndex' instead
Deprecated:
use string 'FastSpatialFilter' instead
Deprecated:
use string 'RandomRead' instead
Deprecated:
use string 'RandomWrite' instead
Deprecated:
use string 'SequentialWrite' instead
Deprecated:
use string 'Transactions' instead
Deprecated:
use string 'GeometryCollection' instead
Deprecated:
use string 'GeometryCollection25D' instead
Deprecated:
use string 'LinearRing' instead
Deprecated:
use string 'LineString' instead
Deprecated:
use string 'LineString25D' instead
Deprecated:
use string 'MultiLineString' instead
Deprecated:
use string 'MultiLineString25D' instead
Deprecated:
use string 'MultiPoint' instead
Deprecated:
use string 'MultiPoint25D' instead
Deprecated:
use string 'MultiPolygon' instead
Deprecated:
use string 'MultiPolygon25D' instead
Deprecated:
use string 'NDR' instead
Deprecated:
use string 'Point' instead
Deprecated:
use string 'Point25D' instead
Deprecated:
use string 'Polygon' instead
Deprecated:
use string 'Polygon25D' instead
Deprecated:
use string 'XDR' instead

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