You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/mean/index.js
+5-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
importmeanfrom'./mean.module';
1
+
/**
2
+
* @prettier
3
+
*/
4
+
importmeanfrom"./mean.module";
2
5
3
6
/**
4
7
* The mean function takes a raster as an input and an optional geometry.
@@ -10,6 +13,6 @@ import mean from './mean.module';
10
13
* @param {Object} geometry - geometry can be an [xmin, ymin, xmax, ymax] array for a bounding box, [[[x00,y00],...,[x0n,y0n],[x00,y00]]...] for a polygon, a GeoJSON polygon object, or a string representation of a GeoJSON polygon object.
11
14
* @returns {Object} array of means for each band
12
15
* @example
13
-
* const means = geoblaze.mean(georaster, geometry);
16
+
* const means = await geoblaze.mean(georaster, geometry);
0 commit comments