From dd2ae81234890c2d16029db9ac7f348405ce2188 Mon Sep 17 00:00:00 2001 From: DanielJDufour Date: Mon, 13 Jan 2020 23:32:29 +0000 Subject: [PATCH] updated --- README.md | 3 +-- index.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa05576..f5122ac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # geotiff-stats -Get Statistics from a Large GeoTIFF without Crashing Your Browser - +Get Statistics from a Large GeoTIFF while Using a Low Amount of Memory # install `npm install geotiff-stats` diff --git a/index.js b/index.js index b75c061..e6821e3 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,7 @@ const xpath = require('xpath'); const { getDecoder } = require('geotiff/dist/compression'); const { parseXml } = require('geotiff/dist/globals'); +// took this from geotiff package function sum(array, start, end) { let s = 0; for (let i = start; i < end; ++i) { diff --git a/package.json b/package.json index f6ef693..d351042 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "geotiff-stats", "version": "0.0.0", - "description": "Get Statistics from a Large GeoTIFF without Crashing Your Browser", + "description": "Get Statistics from a Large GeoTIFF while Using a Low Amount of Memory", "main": "index.js", "scripts": { "setup": "cd test/data && bash setup.sh",