Geo::GDAL  2.0
Geo::OGR::GeomFieldDefn Class Reference

A definition of a spatial attribute. More...

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

Public Member Functions

public method GetSchema ()
 
public scalar Ignored (scalar ignore)
 
public scalar Name (scalar name)
 
public scalar Nullable (scalar nullable)
 
public hash reference Schema (hash params)
 
public method SetSchema ()
 
public scalar SpatialReference (scalar sr)
 
public method Type ()
 
public method Types ()
 
public Geo::OGR::GeomFieldDefn new (hash params)
 Create a new spatial field definition. More...
 
- 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 definition of a spatial attribute.

Definition at line 8224 of file all.pm.

Member Function Documentation

public method Geo::OGR::GeomFieldDefn::GetSchema ( )
Code:
click to view
public scalar Geo::OGR::GeomFieldDefn::Ignored ( scalar  ignore)
Note
a.k.a. IsIgnored, SetIgnored
Returns
the ignore status of the field.
Code:
click to view
public scalar Geo::OGR::GeomFieldDefn::Name ( scalar  name)
Note
a.k.a. GetName, GetNameRef, SetName
Returns
the name of the field.
Code:
click to view
public Geo::OGR::GeomFieldDefn Geo::OGR::GeomFieldDefn::new ( hash  params)

Create a new spatial field definition.

Class method.

Parameters
paramsone or more of:
Returns
a new Geo::OGR::GeomFieldDefn object
Code:
click to view
public scalar Geo::OGR::GeomFieldDefn::Nullable ( scalar  nullable)
Note
a.k.a. IsNullable, SetNullable
Returns
the nullable status of the field.
Code:
click to view
public hash reference Geo::OGR::GeomFieldDefn::Schema ( hash  params)

Get the schema or set parts of the schema.

Parameters
params[optional] as those in Geo::OGR::GeomFieldDefn::new.
Returns
a reference to a hash whose keys are as those in Geo::OGR::GeomFieldDefn::new.
Code:
click to view
public method Geo::OGR::GeomFieldDefn::SetSchema ( )
Code:
click to view
public scalar Geo::OGR::GeomFieldDefn::SpatialReference ( scalar  sr)
Note
a.k.a. GetSpatialRef, SetSpatialRef
Returns
the spatial reference of the field as a Geo::OSR::SpatialReference object.
Code:
click to view
public method Geo::OGR::GeomFieldDefn::Type ( )
Returns
the type of this geometry field. One of Geo::OGR::GeomFieldDefn::Types
Code:
click to view
public method Geo::OGR::GeomFieldDefn::Types ( )

Class method.

Returns
a list of all geometry types, currently: CircularString, CircularStringZ, CompoundCurve, CompoundCurveZ, CurvePolygon, CurvePolygonZ, GeometryCollection, GeometryCollection25D, LineString, LineString25D, LinearRing, MultiCurve, MultiCurveZ, MultiLineString, MultiLineString25D, MultiPoint, MultiPoint25D, MultiPolygon, MultiPolygon25D, MultiSurface, MultiSurfaceZ, None, Point, Point25D, Polygon, Polygon25D, and Unknown.
Code:
click to view

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