package gdal

  1. Overview
  2. Docs
type 'a t
val create : unit -> 'a t

create () creates a warping options value initialized with sane defaults.

val clone : 'a t -> 'a t

clone t returns a copy of t.

val set_warp_options : 'a t -> string list -> unit
val set_memory_limit : 'a t -> float -> unit
val set_resample_alg : 'a t -> resample_t -> unit
val set_working_data_type : 'a t -> (_, _) Band.Data.t -> unit
val set_src : 'a t -> Data_set.t -> unit
val set_dst : 'a t -> Data_set.t -> unit
val set_bands : 'a t -> (int * int) list -> unit
val set_src_no_data_real : 'a t -> float list -> unit
val set_src_no_data_imag : 'a t -> float list -> unit
val set_dst_no_data_real : 'a t -> float list -> unit
val set_dst_no_data_imag : 'a t -> float list -> unit
val set_transformer : 'a t -> 'a Transform.t -> unit

set_* t ... set warp option fields. See the gdalwarper.h documentation for descriptions of the affected fields.

val make : ?warp_options:string list -> ?memory_limit:float -> ?resample_alg:resample_t -> ?working_data_type:(_, _) Band.Data.t -> ?src:Data_set.t -> ?dst:Data_set.t -> ?bands:(int * int) list -> ?src_no_data_real:float list -> ?src_no_data_imag:float list -> ?dst_no_data_real:float list -> ?dst_no_data_imag:float list -> ?transformer:'a Transform.t -> unit -> 'a t

Create and initialize warp options. The arguments to make can be used to override GDAL's defaults. The parameters match the set_* functions above.