geotiff.js
    Preparing search index...

    Function resample

    • Resample the input arrays using the selected resampling method.

      Parameters

      • valueArrays: TypedArray[]

        The input arrays to resample

      • inWidth: number

        The width of the input rasters

      • inHeight: number

        The height of the input rasters

      • outWidth: number

        The desired width of the output rasters

      • outHeight: number

        The desired height of the output rasters

      • Optionalmethod: string = 'nearest'

        The desired resampling method

      Returns TypedArray[]

      The resampled rasters