Module Gdal.Alg

GDAL Algorithms

exception Algorithm_error
val proximity : ?⁠options:string list ‑> src:(__Band.t ‑> test:(__Band.t ‑> unit

proximity ?options ~src ~test computes the pixel-by-pixel proximity between src and test.

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'eBand.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.

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.

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.

module Grid : sig ... end