package gdal

  1. Overview
  2. Docs
type interpolate_t
val inverse_distance_to_a_power : power:float -> smoothing:float -> anisotropy_ratio:float -> anisotropy_angle:float -> radius:(float * float) -> angle:float -> points:(int * int) -> no_data_value:float -> interpolate_t
val moving_average : radius:(float * float) -> angle:float -> min_points:int -> no_data_value:float -> interpolate_t
val nearest_neighbor : radius:(float * float) -> angle:float -> no_data_value:float -> interpolate_t
type metric_t = radius:(float * float) -> angle:float -> min_points:int -> no_data_value:float -> interpolate_t
val metric_minimum : metric_t
val metric_maximum : metric_t
val metric_range : metric_t
val metric_count : metric_t
val metric_average_distance : metric_t
val metric_average_distance_points : metric_t
val make : interpolate_t -> (float * float * float) list -> xrange:(int * float * float) -> yrange:(int * float * float) -> ('v, 'e) Band.Data.t -> ('v, 'e, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array2.t

make interp points ~xrange ~yrange kind interpolates the data in points onto a regular grid specified by xrange and yrange.

  • parameter interp

    specifies the interpolation method to use.

  • parameter points

    is a list of (x, y, z) triples.

  • parameter xrange

    is a (steps, min, max) triple.

  • parameter yrange

    is a (steps, min, max) triple.

  • parameter kind

    specifies the data type to use for the resulting values.

OCaml

Innovation. Community. Security.