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 get_description : ('a, 'b) t -> string
val set_description : ('a, 'b) t -> string -> unit
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.