List of all members.
Member Function Documentation
Geo::OGR::Feature::DumpReadable |
( |
| ) |
|
scalar Geo::OGR::Feature::Equal |
( |
scalar |
feature | ) |
|
- Parameters:
-
- Returns:
- boolean
scalar Geo::OGR::Feature::FID |
( |
scalar |
fid | ) |
|
- Parameters:
-
- Returns:
- integer the feature id
Get a copy of the geometry or copy the geometry into the feature.
- Parameters:
-
scalar Geo::OGR::Feature::GetFID |
( |
| ) |
|
- Returns:
- integer the feature id
list Geo::OGR::Feature::GetField |
( |
scalar |
field | ) |
|
- Parameters:
-
field | the index or the name of the field |
- Returns:
- the value of the field, which may be a scalar or a list, depending on the field type.
scalar Geo::OGR::Feature::GetFieldAsDouble |
( |
scalar |
field | ) |
|
scalar Geo::OGR::Feature::GetFieldAsInteger |
( |
scalar |
field | ) |
|
scalar Geo::OGR::Feature::GetFieldAsString |
( |
scalar |
field | ) |
|
scalar Geo::OGR::Feature::GetFieldCount |
( |
| ) |
|
scalar Geo::OGR::Feature::GetFieldIndex |
( |
scalar |
name | ) |
|
- Parameters:
-
name | the name of the field |
- Returns:
- integer the index of the field
scalar Geo::OGR::Feature::GetFieldType |
( |
scalar |
field | ) |
|
- Parameters:
-
field | the index or the name of the field |
- Returns:
- one of field types
scalar Geo::OGR::Feature::GetStyleString |
( |
| ) |
|
scalar Geo::OGR::Feature::IsFieldSet |
( |
scalar |
field | ) |
|
- Parameters:
-
field | the index or the name of the field |
- Returns:
- boolean
hashref Geo::OGR::Feature::Row |
( |
hash |
row | ) |
|
Get and/or set the data of the feature. The key of the key value, pairs of the row is the field name. Special names FID and Geometry are used for feature id and Geometry respectively. The geometry is a Geo::OGR::Geometry object whose data is or will become owned by the feature; or data from which a geometry object can be created (a hashref that is fed to Geo::OGR::Geometry::create). It is ok to set only a subset of the fields, those fields whose keys do not exist are left unchanged.
- Parameters:
-
- Returns:
hashref Geo::OGR::Feature::Schema |
( |
hash |
schema | ) |
|
Get or set the schema. The schema is a hash (Name => name, GeometryType => geometry_type, Fields => [list of Geo::OGR::FieldDefn objects or hashrefs from which such can be created]. The Name and GeometryType cannot be set and the Fields are added to the schema. Fields is an array of hashrefs that contain schemas of FieldDefns
- Parameters:
-
- Returns:
Geo::OGR::Feature::SetFID |
( |
scalar |
fid | ) |
|
Geo::OGR::Feature::SetField |
( |
scalar |
field, |
|
|
list |
value |
|
) |
| |
- Parameters:
-
field | the index or the name of the field |
value | is a string, integer, double, a list (year, month, day), a list (hour, minute, second, tzflag), a list (year, month, day, hour, minute, second, tzflag), or a list of integers, doubles, or strings. |
Geo::OGR::Feature::SetFrom |
( |
scalar |
other, |
|
|
scalar |
forgiving = 1 |
|
) |
| |
Geo::OGR::Feature::SetGeometry |
( |
scalar |
geometry | ) |
|
The geometry is copied into the feature.
- Parameters:
-
Geo::OGR::Feature::SetGeometryDirectly |
( |
scalar |
geometry | ) |
|
Geo::OGR::Feature::SetStyleString |
( |
scalar |
string | ) |
|
scalar Geo::OGR::Feature::StyleString |
( |
scalar |
string | ) |
|
list Geo::OGR::Feature::Tuple |
( |
list |
tuple | ) |
|
Get and/set the data of the feature. The order of the data in the tuple is: FID, Geometry, fields in their order. The geometry is a Geo::OGR::Geometry object whose data is or will become owned by the feature; or data from which a geometry object can be created (a hashref that is fed to Geo::OGR::Geometry::create). It is ok to leave FID and Geometry undefined, they are set only if they are defined.
- Parameters:
-
- Returns:
Geo::OGR::Feature::UnsetField |
( |
scalar |
field | ) |
|
- Parameters:
-
field | the index or the name of the field |
The documentation for this class was generated from the following file: