package gdal

  1. Overview
  2. Docs
type t
val t : t Ctypes.typ
exception Wrong_data_type
val of_source : ?write:bool -> string -> [ `Invalid_source | `Ok of t ]
val close : t -> unit
val with_source : ?write:bool -> string -> (t -> 'a) -> [ `Invalid_source | `Ok of 'a ]
val get_driver : t -> Driver.t
val get_projection : t -> string
val get_x_size : t -> int
val get_y_size : t -> int
val get_count : t -> int
val get_band : t -> int -> ('v, 'e) Band.Data.t -> ('v, 'e) Band.t
val get_band_data_type : t -> int -> [ `byte | `float32 | `float64 | `int16 | `int32 | `uint16 | `uint32 | `unhandled | `unknown ]
val create_copy : ?strict:bool -> ?options:string list -> t -> Driver.t -> string -> [ `Invalid_source | `Ok of t ]
val create : ?options:string list -> ?bands:(int * ('a, 'b) Band.Data.t) -> Driver.t -> string -> (int * int) -> t
val set_projection : t -> string -> unit
val of_band : ('a, 'b) Band.t -> t
OCaml

Innovation. Community. Security.