package gdal

  1. Overview
  2. Docs
type c
type (!'v, !'e) t = c * ('v, 'e) Bigarray.kind
val t : c Ctypes.typ
module Data : sig ... end
exception IO_error
exception Invalid_dimensions
val get_size : ('a, 'b) t -> int * int
val get_data_type : c -> [ `byte | `float32 | `float64 | `int16 | `int32 | `uint16 | `uint32 | `unhandled | `unknown ]
val get_band_number : ('a, 'b) t -> int option
val read : ?offset:(int * int) -> ?size:(int * int) -> ?pixel_spacing:int -> ?line_spacing:int -> ?buffer_size:(int * int) -> ('a, 'b) t -> ('v, 'e) Data.t -> ('v, 'e, Bigarray.c_layout) Bigarray.Array2.t
val write : ?offset:(int * int) -> ?size:(int * int) -> ?pixel_spacing:int -> ?line_spacing:int -> ('a, 'b) t -> ('v, 'e) Data.t -> ('v, 'e, Bigarray.c_layout) Bigarray.Array2.t -> unit
val fill : ?imaginary:float -> ('a, 'b) t -> float -> unit
val get_description : ('a, 'b) t -> string
val get_no_data_value : ('a, 'b) t -> float option
val set_description : ('a, 'b) t -> string -> unit
val set_no_data_value : ('a, 'b) t -> float -> unit
val iter : ('v, 'a) t -> (int -> int -> 'v -> 'v) -> unit
val iter_read : ('v, 'a) t -> (int -> int -> 'v -> unit) -> unit
val iter_write : ('v, 'a) t -> (int -> int -> 'v) -> unit
val fold : ('v, 'a) t -> (int -> int -> 'v -> 'accu -> 'accu) -> 'accu -> 'accu
module Block : sig ... end
val get_x_size : ('a, 'b) t -> int
val get_y_size : ('a, 'b) t -> int
val check_data_type : c -> ('a, 'b) Data.t -> bool
OCaml

Innovation. Community. Security.