How to use the geoblaze.median function in geoblaze

To help you get started, we’ve selected a few geoblaze examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GeoTIFF / geotiff.io / src / components / tools / median / median.container.js View on Github external
const calculateMedian = (raster, coors) => {
  return geoblaze.median(raster, coors)
    .map(value => value.toFixed(2)).join(', ');
}