package gdal

  1. Overview
  2. Docs
type t
val of_source : ?write:bool -> string -> [ `Invalid_source | `Ok of t ]
val with_source : ?write:bool -> string -> (t -> 'a) -> [ `Invalid_source | `Ok of 'a ]
val get_layer_by_name : t -> string -> Layer.t
val get_layer : t -> int -> Layer.t
exception Data_source_error
val destroy : t -> unit
val release : t -> unit