val fill_nodata : ?options:string list ‑> target:(_, _) Band.t ‑> mask:(_, _) Band.t ‑> float ‑> int ‑> unit
fill_nodata ?options ~target ~mask distance iterations
will fill in
target
's missing data pixels. See GDAL's GDALFillNoData
documentation
for an explanation of the function parameters.
val generate_contours : ?no_data:float ‑> ?id:int ‑> ?elevation:int ‑> ('v, 'e) Band.t ‑> Layer.t ‑> [ `fixed of float list | `interval of float * float ] ‑> unit
generate_contours ?no_data ?id ?elevation band layer contours
will
create contours from band
, adding them to layer
.
layer
.`fixed l
will create
contours for each value in l
. `interval (start, step)
will create
intervals starting with start
and step
intervals past that.val rasterize_geometries : ?transform:'a Transform.t ‑> ?options:string list ‑> Data_set.t ‑> int list ‑> (Geometry.t * float list) list ‑> unit
rasterize_geometries ?transform ?options ds bands geometries burn
will
will rasterize geometries
onto ds
.
bands
.ds
and geometries
use the same coordinates.GDALRasterizeGeometries
for available options. Defaults to []
.val rasterize_layers : ?transform:'a Transform.t ‑> ?options:string list ‑> Data_set.t ‑> int list ‑> (Layer.t * float list) list ‑> unit
rasterize_layers ?transform ?options ds bands layers burn
will
will rasterize layers
onto ds
.
bands
.ds
and layers
use the same coordinates.GDALRasterizeLayers
for available options. Defaults to []
.module Grid : sig ... end