package gdal

  1. Overview
  2. Docs
type t
val t : t Ctypes.typ
module Data : sig ... end
exception IO_error
exception Invalid_dimensions
val get_size : t -> int * int
val get_data_type : t -> [ `float of float Data.t | `int of int Data.t | `int32 of int32 Data.t | `uint32 of Unsigned.uint32 Data.t | `unhandled | `unknown ]
val read : ?offset:(int * int) -> ?size:(int * int) -> ?pixel_spacing:int -> ?line_spacing:int -> ?buffer_size:(int * int) -> t -> 'a Data.t -> 'a array
val write : ?offset:(int * int) -> ?size:(int * int) -> ?pixel_spacing:int -> ?line_spacing:int -> t -> 'a Data.t -> 'a array -> unit
val get_description : t -> string
val set_description : t -> string -> unit
module Block : sig ... end
val get_x_size : t -> int
val get_y_size : t -> int
OCaml

Innovation. Community. Security.