package gdal

  1. Overview
  2. Docs

OGR Field Definitions

These are bindings and wrappers around the OGR_Fld_* API.

type t

Field definition

val t : t Ctypes.typ

Values for proper Ctypes integration/extension

type field_type_t =
  1. | Integer
  2. | IntegerList
  3. | Real
  4. | RealList
  5. | String
  6. | StringList
  7. | WideString
  8. | WideStringList
  9. | Binary
  10. | Date
  11. | Time
  12. | DateTime
    (*

    Possible field types

    *)
val get_type : t -> field_type_t

get_type t returns the data type associated with the field definition t.

val get_name : t -> string

get_name t returns the name associated with the field definition t.