Geo::GDAL
2.0
|
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 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 () |
public scalar Geo::OGR::FieldDefn::Default | ( | scalar | value | ) |
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 | ) |
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 | ) |
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 | ( | ) |
Class method. Justify values supported by GDAL. Current list is Left, Right, and Undefined.
public scalar Geo::OGR::FieldDefn::Name | ( | scalar | name | ) |
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. This method supports both an argument list and named arguments.
name | Field name (please do not try to name the field as Name or Type etc.). |
type | One of supported field types (see Geo::OGR::FieldDefn::Types). Optional. Default is String. |
or
params | one or more of:
|
public scalar Geo::OGR::FieldDefn::Nullable | ( | scalar | nullable | ) |
Get or set the nullable constraint for this field.
nullable | [optional] |
public scalar Geo::OGR::FieldDefn::Precision | ( | scalar | precision | ) |
Get and/or set the precision of this field.
precision | [optional] |
public hash reference Geo::OGR::FieldDefn::Schema | ( | hash | params | ) |
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 | ) |
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 | ) |
type | [optional] One of field types (Geo::OGR::FieldDefn::Types). |
public list Geo::OGR::FieldDefn::Types | ( | ) |
Class method. Field types supported by GDAL. Current list is Binary, Date, DateTime, Integer, Integer64, Integer64List, IntegerList, Real, RealList, String, StringList, Time, WideString, and WideStringList.
public scalar Geo::OGR::FieldDefn::Width | ( | scalar | width | ) |
Get and/or set the field width.
width | [optional] |