package gdal

  1. Overview
  2. Docs

Feature Definitions

These functions come from the OGR C API's OGR_FD_* namespace.

type t
val t : t Ctypes.typ

Values for proper Ctypes integration/extension

val get_field_count : t -> int

get_field_count t returns the number of fields associated with the feature definition t.

val get_field_defn : t -> int -> Field.Defn.t

get_field_defn t i returns the ith Field.Defn.t from t.

OCaml

Innovation. Community. Security.