|
Geo::GDAL
2.3
|
The schema of a feature or a layer.
More...
Inheritance diagram for Geo::OGR::FeatureDefn:
Collaboration diagram for Geo::OGR::FeatureDefn:Public Member Functions | |
| public method | AddField (hash params) |
| public method | DeleteField (scalar name) |
| public method | Feature () |
| public scalar | GetFieldDefn (scalar name) |
| public list | GetFieldNames () |
| public scalar | GetGeomFieldDefn (scalar name) |
| public scalar | GetName () |
| public hash reference | GetSchema () |
| Get the schema of this feature or layer definition. More... | |
| public method | IsSame (Geo::OGR::FeatureDefn defn) |
| public scalar | IsStyleIgnored () |
| public method | SetStyleIgnored (scalar IgnoreState) |
| public Geo::OGR::FeatureDefn | new (hash schema) |
Public Member Functions inherited from Geo::OGR | |
| public list | ByteOrders () |
| public Geo::GDAL::Driver | Driver (scalar name) |
| public list | DriverNames () |
| public list | Drivers () |
| public method | Flatten () |
| public scalar | GeometryTypeModify (scalar type, scalar modifier) |
| public scalar | GeometryTypeTest (scalar type, scalar test, scalar type2) |
| public list | GeometryTypes () |
| public method | GetNonLinearGeometriesEnabledFlag () |
| public method | GetOpenDSCount () |
| public method | HasM () |
| public method | HasZ () |
| public Geo::GDAL::Dataset | Open (scalar name, scalar update=0) |
| public Geo::GDAL::Dataset | OpenShared (scalar name, scalar update=0) |
| public method | SetGenerate_DB2_V72_BYTE_ORDER (scalar Generate_DB2_V72_BYTE_ORDER) |
| public method | SetNonLinearGeometriesEnabledFlag () |
The schema of a feature or a layer.
A FeatureDefn object is a collection of field definition objects. A
read-only FeatureDefn object can be obtained from a layer
(Geo::OGR::Layer::GetDefn()) or a feature
(Geo::OGR::Feature::GetDefn()).
| public method Geo::OGR::FeatureDefn::AddField | ( | hash | params | ) |
Object method.
| params | Named parameters to create a new Geo::OGR::FieldDefn or Geo::OGR::GeomFieldDefn object. |
Code:
| public method Geo::OGR::FeatureDefn::DeleteField | ( | scalar | name | ) |
Object method.
| index | the index of the geometry field to be deleted. |
Code:
| public method Geo::OGR::FeatureDefn::Feature | ( | ) |
Code:
| public scalar Geo::OGR::FeatureDefn::GetFieldDefn | ( | scalar | name | ) |
Object method.
Get the definition of a field.
| name | the name of the field. |
Code:
| public list Geo::OGR::FeatureDefn::GetFieldNames | ( | ) |
Object method.
The names of the fields in this layer or feature definition.
Code:
| public scalar Geo::OGR::FeatureDefn::GetGeomFieldDefn | ( | scalar | name | ) |
Object method.
Get the definition of a spatial field.
| name | the name of the spatial field. |
Code:
| public scalar Geo::OGR::FeatureDefn::GetName | ( | ) |
Object method.
Code:
| public hash reference Geo::OGR::FeatureDefn::GetSchema | ( | ) |
Get the schema of this feature or layer definition.
Object method.
Code:
| public method Geo::OGR::FeatureDefn::IsSame | ( | Geo::OGR::FeatureDefn | defn | ) |
Object method.
Code:
| public scalar Geo::OGR::FeatureDefn::IsStyleIgnored | ( | ) |
Object method.
Get the ignore status of style information when fetching features.
Code:
| public Geo::OGR::FeatureDefn Geo::OGR::FeatureDefn::new | ( | hash | schema | ) |
Class method.
Creates a new layer or feature definition. The new definition is
either initialized to the given schema or it will contain no
non-spatial fields and one spatial field, whose Name is '' and
GeometryType is 'Unknown' or the value of the named parameter
GeometryType.
| schema | [optional] The schema for the new feature definition, as in Geo::OGR::FeatureDefn::Schema(). |
Code:
| public method Geo::OGR::FeatureDefn::SetStyleIgnored | ( | scalar | IgnoreState | ) |
Object method.
Set the ignore status of style information when fetching features.
Code: