Geo::GDAL
2.3
|
A definition of a non-spatial attribute.
More...
Public Member Functions | |
public scalar | Default (scalar value) |
public method | GetSchema () |
public scalar | Ignored (scalar ignore) |
public method | IsDefaultDriverSpecific () |
public scalar | Justify (scalar justify) |
public list | JustifyValues () |
public scalar | Name (scalar name) |
public scalar | Nullable (scalar nullable) |
public scalar | Precision (scalar precision) |
public hash reference | Schema (hash params) |
public method | SetSchema () |
public scalar | SubType (scalar SubType) |
public method | SubTypes () |
public scalar | Type (scalar type) |
public list | Types () |
public scalar | Width (scalar width) |
public Geo::OGR::FieldDefn | new (hash params) |
Create a new field definition. More... | |
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 () |
public scalar Geo::OGR::FieldDefn::Default | ( | scalar | value | ) |
Object method.
Get or set the default value for this field.
value | [optional] |
public method Geo::OGR::FieldDefn::GetSchema | ( | ) |
public scalar Geo::OGR::FieldDefn::Ignored | ( | scalar | ignore | ) |
Object method.
Get and/or set the ignore status (whether this field should be
omitted when fetching features) of this field.
ignore | [optional] |
public method Geo::OGR::FieldDefn::IsDefaultDriverSpecific | ( | ) |
public scalar Geo::OGR::FieldDefn::Justify | ( | scalar | justify | ) |
Object method.
Get and/or set the justification of this field.
justify | [optional] One of field justify types (Geo::OGR::FieldDefn::JustifyValues). |
public list Geo::OGR::FieldDefn::JustifyValues | ( | ) |
Package subroutine.
Justify values supported by GDAL. Current list is
Left, Right, and Undefined.
public scalar Geo::OGR::FieldDefn::Name | ( | scalar | name | ) |
Object method.
Get and/or set the name of the field.
name | [optional] |
public Geo::OGR::FieldDefn Geo::OGR::FieldDefn::new | ( | hash | params | ) |
Create a new field definition.
Class method.
Named | parameters: - Name Field name (default is 'unnamed'). - Type Field type, one of Geo::OGR::FieldDefn::Types (default is 'String'). - SubType Field sub type, one of Geo::OGR::FieldDefn::SubTypes. - Justify Justify value, one of Geo::OGR::FieldDefn::JustifyValues - Width - Precision - Nullable (default is true) - Default - Ignored (default is false) |
public scalar Geo::OGR::FieldDefn::Nullable | ( | scalar | nullable | ) |
Object method.
Get or set the nullable constraint for this field.
nullable | [optional] |
public scalar Geo::OGR::FieldDefn::Precision | ( | scalar | precision | ) |
Object method.
Get and/or set the precision of this field.
precision | [optional] |
public hash reference Geo::OGR::FieldDefn::Schema | ( | hash | params | ) |
Object method.
Get the schema or set parts of the schema
params | [optional] as those in Geo::OGR::FieldDefn::new. |
public method Geo::OGR::FieldDefn::SetSchema | ( | ) |
public scalar Geo::OGR::FieldDefn::SubType | ( | scalar | SubType | ) |
Object method.
SubType | [optional] One of field sub types (Geo::OGR::FieldDefn::SubTypes). |
public method Geo::OGR::FieldDefn::SubTypes | ( | ) |
public scalar Geo::OGR::FieldDefn::Type | ( | scalar | type | ) |
Object method.
Get and/or set the type of the field.
type | [optional] One of field types (Geo::OGR::FieldDefn::Types). |
public list Geo::OGR::FieldDefn::Types | ( | ) |
Package subroutine.
Field types supported by GDAL. Current list is
Binary, Date, DateTime, Integer, Integer64, Integer64List, IntegerList, Real, RealList, String, StringList, Time, WideString, and WideStringList.
(However, WideString is not supported.)
public scalar Geo::OGR::FieldDefn::Width | ( | scalar | width | ) |
Object method.
Get and/or set the field width.
width | [optional] |