package gdal

  1. Overview
  2. Docs
type t
val t : t Ctypes.typ
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_origin : t -> float * float
val get_pixel_size : t -> float * float
val get_rotation : t -> float * float
val get_x_size : t -> int
val get_y_size : t -> int
val get_count : t -> int
val get_band : t -> int -> Band.t
val create_copy : ?strict:bool -> ?options:string list -> t -> Driver.t -> string -> [ `Invalid_source | `Ok of t ]
val create : ?options:string list -> Driver.t -> string -> (int * int) -> int -> 'a Band.Data.t -> t
val set_geo_transform : t -> origin:(float * float) -> pixel_size:(float * float) -> rotation:(float * float) -> unit
val set_projection : t -> string -> unit
OCaml

Innovation. Community. Security.