geotiff.js
    Preparing search index...

    Function resampleNearestInterleaved

    • Resample the pixel interleaved input array using nearest neighbor value selection.

      Parameters

      • valueArray: TypedArray

        The input array 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

      • samples: number

        The number of samples per pixel for pixel interleaved data

      Returns TypedArray

      The resampled raster