geotiff 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,7 @@ export type ReadRasterOptions = {
50
50
  */
51
51
  fillValue?: number | number[] | undefined;
52
52
  };
53
+ export type TypedArray = import("./geotiff.js").TypedArray;
53
54
  /**
54
55
  * GeoTIFF sub-file image.
55
56
  */
@@ -179,7 +180,7 @@ declare class GeoTIFFImage {
179
180
  * @param {boolean} [options.enableAlpha=false] Enable reading alpha channel if present.
180
181
  * @param {AbortSignal} [options.signal] An AbortSignal that may be signalled if the request is
181
182
  * to be aborted
182
- * @returns {Promise.<import("./geotiff").TypedArray|import("./geotiff").TypedArray[]>} the RGB array as a Promise
183
+ * @returns {Promise<TypedArray|TypedArray[]>} the RGB array as a Promise
183
184
  */
184
185
  readRGB({ window, interleave, pool, width, height, resampleMethod, enableAlpha, signal }?: {
185
186
  window?: number[] | undefined;
@@ -190,7 +191,7 @@ declare class GeoTIFFImage {
190
191
  resampleMethod?: string | undefined;
191
192
  enableAlpha?: boolean | undefined;
192
193
  signal?: AbortSignal | undefined;
193
- } | undefined): Promise<import("./geotiff").TypedArray | import("./geotiff").TypedArray[]>;
194
+ } | undefined): Promise<TypedArray | TypedArray[]>;
194
195
  /**
195
196
  * Returns an array of tiepoints.
196
197
  * @returns {Object[]}
@@ -1 +1 @@
1
- {"version":3,"file":"geotiffimage.d.ts","sourceRoot":"","sources":["../src/geotiffimage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyKA;;GAEG;AACH;IACE;;;;;;;;OAQG;IACH,wDALW,QAAQ,yDAmBlB;IAbC,mBAAkC;IAClC,aAAsB;IACtB,mBAAwB;IACxB,sBAAgC;IAChC,iBAA8B;IAC9B,iBAA0C;IAE1C,yBAAiG;IAKjG,eAAoB;IAGtB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,kBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,6BAGC;IAED;;;OAGG;IACH,uBAEC;IAED;;;OAGG;IACH,wBAQC;IAED,wBAEC;IAED,+BAMC;IAED;;;;OAIG;IACH,2BAMC;IAED,kCAKC;IAED,yGAyCC;IAED,2CAGC;IAED,4CAEC;IAED,2JAIC;IAED;;;;;;;;;OASG;IACH,oEALW,OAAO,WAAW,EAAE,IAAI,kBAAgB,qCAGtC,QAAS,WAAW,CAAC,CAwDjC;IAED;;;;;;;;;;;;;;OAcG;IACH,oBAkHC;IAED;;;;;;;;OAQG;IACH,4IAFa,QAAS,CAAC,aAAW,YAAY,CAAC,CAAC,CAyD/C;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH;;;;;;;;;oBAFa,QAAS,OAAO,WAAW,EAAE,UAAU,GAAC,OAAO,WAAW,EAAE,UAAU,EAAE,CAAC,CA0GrF;IAED;;;OAGG;IACH,gBAFa,KAAQ,CAmBpB;IAED;;;;;;;;OAQG;IACH,kDAoBC;IAED;;;OAGG;IACH,iBAFa,MAAM,GAAC,IAAI,CAQvB;IAED;;;;OAIG;IACH,aAFa,MAAM,MAAM,CAAC,CAoBzB;IAED;;;;;;;OAOG;IACH,0DAFa,MAAM,MAAM,CAAC,CA+BzB;IAED;;;OAGG;IACH,uBAEC;IAED;;;;;OAKG;IACH,kBAFa,MAAM,MAAM,CAAC,CAkBzB;CACF"}
1
+ {"version":3,"file":"geotiffimage.d.ts","sourceRoot":"","sources":["../src/geotiffimage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAiCc,OAAO,cAAc,EAAE,UAAU;AA0I/C;;GAEG;AACH;IACE;;;;;;;;OAQG;IACH,wDALW,QAAQ,yDAmBlB;IAbC,mBAAkC;IAClC,aAAsB;IACtB,mBAAwB;IACxB,sBAAgC;IAChC,iBAA8B;IAC9B,iBAA0C;IAE1C,yBAAiG;IAKjG,eAAoB;IAGtB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,kBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,6BAGC;IAED;;;OAGG;IACH,uBAEC;IAED;;;OAGG;IACH,wBAQC;IAED,wBAEC;IAED,+BAMC;IAED;;;;OAIG;IACH,2BAMC;IAED,kCAKC;IAED,yGAyCC;IAED,2CAGC;IAED,4CAEC;IAED,2JAIC;IAED;;;;;;;;;OASG;IACH,oEALW,OAAO,WAAW,EAAE,IAAI,kBAAgB,qCAGtC,QAAS,WAAW,CAAC,CAwDjC;IAED;;;;;;;;;;;;;;OAcG;IACH,oBAkHC;IAED;;;;;;;;OAQG;IACH,4IAFa,QAAS,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CAyD/C;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH;;;;;;;;;oBAFa,QAAQ,UAAU,GAAC,UAAU,EAAE,CAAC,CA0G5C;IAED;;;OAGG;IACH,gBAFa,KAAQ,CAmBpB;IAED;;;;;;;;OAQG;IACH,kDAoBC;IAED;;;OAGG;IACH,iBAFa,MAAM,GAAC,IAAI,CAQvB;IAED;;;;OAIG;IACH,aAFa,MAAM,MAAM,CAAC,CAoBzB;IAED;;;;;;;OAOG;IACH,0DAFa,MAAM,MAAM,CAAC,CA+BzB;IAED;;;OAGG;IACH,uBAEC;IAED;;;;;OAKG;IACH,kBAFa,MAAM,MAAM,CAAC,CAkBzB;CACF"}
@@ -42,7 +42,7 @@
42
42
  margin-bottom: 10px;
43
43
  }</style>
44
44
  <script>
45
- window.TREE_DATA = {"groups":[{"label":"geotiff.js","path":"./dist-browser/geotiff.js","weight":218479,"formattedSize":"213.36 KB","formattedGzipSize":"57.78 KB","formattedTime":"25.45s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"geotiff.js","path":"./dist-module/geotiff.js","weight":19375,"time":6029,"formattedTime":"6.03s","formattedSize":"18.92 KB","isTooLarge":false},{"label":"geotiffimage.js","path":"./dist-module/geotiffimage.js","weight":14425,"time":8688,"formattedTime":"8.69s","formattedSize":"14.09 KB","isTooLarge":false},{"label":"globals.js","path":"./dist-module/globals.js","weight":5297,"time":9128,"formattedTime":"9.13s","formattedSize":"5.17 KB","isTooLarge":false},{"label":"rgb.js","path":"./dist-module/rgb.js","weight":1944,"time":9857,"formattedTime":"9.86s","formattedSize":"1.9 KB","isTooLarge":false},{"label":"compression","path":"./dist-module/compression","groups":[{"label":"index.js","path":"./dist-module/compression/index.js","weight":2435,"time":13292,"formattedTime":"13.29s","formattedSize":"2.38 KB","isTooLarge":false},{"label":"basedecoder.js","path":"./dist-module/compression/basedecoder.js","weight":1316,"time":1408,"formattedTime":"1.41s","formattedSize":"1.29 KB","isTooLarge":false}],"weight":3751,"formattedTime":"14.70s","formattedSize":"3.66 KB"},{"label":"predictor.js","path":"./dist-module/predictor.js","weight":1104,"time":972,"formattedTime":"972ms","formattedSize":"1.08 KB","isTooLarge":false},{"label":"resample.js","path":"./dist-module/resample.js","weight":2122,"time":3761,"formattedTime":"3.76s","formattedSize":"2.07 KB","isTooLarge":false},{"label":"dataview64.js","path":"./dist-module/dataview64.js","weight":2130,"time":8796,"formattedTime":"8.80s","formattedSize":"2.08 KB","isTooLarge":false},{"label":"dataslice.js","path":"./dist-module/dataslice.js","weight":2803,"time":8973,"formattedTime":"8.97s","formattedSize":"2.74 KB","isTooLarge":false},{"label":"pool.js","path":"./dist-module/pool.js","weight":2340,"time":9128,"formattedTime":"9.13s","formattedSize":"2.29 KB","isTooLarge":false},{"label":"source","path":"./dist-module/source","groups":[{"label":"remote.js","path":"./dist-module/source/remote.js","weight":7085,"time":12884,"formattedTime":"12.88s","formattedSize":"6.92 KB","isTooLarge":false},{"label":"httputils.js","path":"./dist-module/source/httputils.js","weight":2941,"time":556,"formattedTime":"556ms","formattedSize":"2.87 KB","isTooLarge":false},{"label":"basesource.js","path":"./dist-module/source/basesource.js","weight":1687,"time":2805,"formattedTime":"2.81s","formattedSize":"1.65 KB","isTooLarge":false},{"label":"blockedsource.js","path":"./dist-module/source/blockedsource.js","weight":8004,"time":3632,"formattedTime":"3.63s","formattedSize":"7.82 KB","isTooLarge":false},{"label":"client","path":"./dist-module/source/client","groups":[{"label":"fetch.js","path":"./dist-module/source/client/fetch.js","weight":2852,"time":2102,"formattedTime":"2.10s","formattedSize":"2.79 KB","isTooLarge":false},{"label":"base.js","path":"./dist-module/source/client/base.js","weight":1684,"time":1477,"formattedTime":"1.48s","formattedSize":"1.64 KB","isTooLarge":false},{"label":"xhr.js","path":"./dist-module/source/client/xhr.js","weight":3227,"time":2910,"formattedTime":"2.91s","formattedSize":"3.15 KB","isTooLarge":false},{"label":"http.js","path":"./dist-module/source/client/http.js","weight":4143,"time":3177,"formattedTime":"3.18s","formattedSize":"4.05 KB","isTooLarge":false}],"weight":11906,"formattedTime":"9.67s","formattedSize":"11.63 KB"},{"label":"arraybuffer.js","path":"./dist-module/source/arraybuffer.js","weight":1624,"time":12934,"formattedTime":"12.93s","formattedSize":"1.59 KB","isTooLarge":false},{"label":"filereader.js","path":"./dist-module/source/filereader.js","weight":2141,"time":13021,"formattedTime":"13.02s","formattedSize":"2.09 KB","isTooLarge":false},{"label":"file.js","path":"./dist-module/source/file.js","weight":2957,"time":13170,"formattedTime":"13.17s","formattedSize":"2.89 KB","isTooLarge":false}],"weight":38345,"formattedTime":"68.67s","formattedSize":"37.45 KB"},{"label":"utils.js","path":"./dist-module/utils.js","weight":3715,"time":3992,"formattedTime":"3.99s","formattedSize":"3.63 KB","isTooLarge":false},{"label":"geotiffwriter.js","path":"./dist-module/geotiffwriter.js","weight":6671,"time":9595,"formattedTime":"9.60s","formattedSize":"6.51 KB","isTooLarge":false},{"label":"logging.js","path":"./dist-module/logging.js","weight":1288,"time":9880,"formattedTime":"9.88s","formattedSize":"1.26 KB","isTooLarge":false}],"weight":105310,"formattedTime":"172.17s","formattedSize":"102.84 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"@babel","path":"./node_modules/@babel","groups":[{"label":"runtime","path":"./node_modules/@babel/runtime","groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","groups":[{"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","weight":1277,"time":56,"formattedTime":"56ms","formattedSize":"1.25 KB","isTooLarge":false},{"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","weight":472,"time":56,"formattedTime":"56ms","formattedSize":"472 B","isTooLarge":false},{"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","weight":177,"time":40,"formattedTime":"40ms","formattedSize":"177 B","isTooLarge":false},{"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","weight":446,"time":40,"formattedTime":"40ms","formattedSize":"446 B","isTooLarge":false},{"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","weight":489,"time":38,"formattedTime":"38ms","formattedSize":"489 B","isTooLarge":false},{"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","weight":240,"time":23,"formattedTime":"23ms","formattedSize":"240 B","isTooLarge":false},{"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","weight":308,"time":38,"formattedTime":"38ms","formattedSize":"308 B","isTooLarge":false},{"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","weight":448,"time":55,"formattedTime":"55ms","formattedSize":"448 B","isTooLarge":false},{"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","weight":357,"time":54,"formattedTime":"54ms","formattedSize":"357 B","isTooLarge":false},{"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","weight":427,"time":54,"formattedTime":"54ms","formattedSize":"427 B","isTooLarge":false},{"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","weight":309,"time":38,"formattedTime":"38ms","formattedSize":"309 B","isTooLarge":false},{"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","weight":480,"time":47,"formattedTime":"47ms","formattedSize":"480 B","isTooLarge":false},{"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","weight":533,"time":38,"formattedTime":"38ms","formattedSize":"533 B","isTooLarge":false},{"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","weight":257,"time":38,"formattedTime":"38ms","formattedSize":"257 B","isTooLarge":false},{"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","weight":346,"time":39,"formattedTime":"39ms","formattedSize":"346 B","isTooLarge":false},{"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","weight":900,"time":39,"formattedTime":"39ms","formattedSize":"900 B","isTooLarge":false},{"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","weight":210,"time":38,"formattedTime":"38ms","formattedSize":"210 B","isTooLarge":false},{"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","weight":637,"time":38,"formattedTime":"38ms","formattedSize":"637 B","isTooLarge":false},{"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","weight":387,"time":23,"formattedTime":"23ms","formattedSize":"387 B","isTooLarge":false},{"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","weight":228,"time":40,"formattedTime":"40ms","formattedSize":"228 B","isTooLarge":false},{"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","weight":468,"time":485,"formattedTime":"485ms","formattedSize":"468 B","isTooLarge":false},{"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","weight":268,"time":8,"formattedTime":"8ms","formattedSize":"268 B","isTooLarge":false},{"label":"toArray.js","path":"./node_modules/@babel/runtime/helpers/toArray.js","weight":456,"time":21,"formattedTime":"21ms","formattedSize":"456 B","isTooLarge":false},{"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","weight":248,"time":227,"formattedTime":"227ms","formattedSize":"248 B","isTooLarge":false}],"weight":10368,"formattedTime":"1.57s","formattedSize":"10.13 KB"},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","groups":[{"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","weight":124,"time":91,"formattedTime":"91ms","formattedSize":"124 B","isTooLarge":false}],"weight":124,"formattedTime":"91ms","formattedSize":"124 B"}],"weight":10492,"formattedTime":"1.66s","formattedSize":"10.25 KB"}],"weight":10492,"formattedTime":"1.66s","formattedSize":"10.25 KB"},{"label":"regenerator-runtime","path":"./node_modules/regenerator-runtime","groups":[{"label":"runtime.js","path":"./node_modules/regenerator-runtime/runtime.js","weight":6564,"time":25,"formattedTime":"25ms","formattedSize":"6.41 KB","isTooLarge":false}],"weight":6564,"formattedTime":"25ms","formattedSize":"6.41 KB"},{"label":"@petamoriken","path":"./node_modules/@petamoriken","groups":[{"label":"float16","path":"./node_modules/@petamoriken/float16","groups":[{"label":"src","path":"./node_modules/@petamoriken/float16/src","groups":[{"label":"index.mjs","path":"./node_modules/@petamoriken/float16/src/index.mjs","weight":769,"time":80,"formattedTime":"80ms","formattedSize":"769 B","isTooLarge":false},{"label":"hfround.mjs","path":"./node_modules/@petamoriken/float16/src/hfround.mjs","weight":422,"time":1728,"formattedTime":"1.73s","formattedSize":"422 B","isTooLarge":false},{"label":"helper","path":"./node_modules/@petamoriken/float16/src/helper","groups":[{"label":"converter.mjs","path":"./node_modules/@petamoriken/float16/src/helper/converter.mjs","weight":1198,"time":44,"formattedTime":"44ms","formattedSize":"1.17 KB","isTooLarge":false},{"label":"arrayIterator.mjs","path":"./node_modules/@petamoriken/float16/src/helper/arrayIterator.mjs","weight":541,"time":32,"formattedTime":"32ms","formattedSize":"541 B","isTooLarge":false},{"label":"private.mjs","path":"./node_modules/@petamoriken/float16/src/helper/private.mjs","weight":282,"time":32,"formattedTime":"32ms","formattedSize":"282 B","isTooLarge":false},{"label":"is.mjs","path":"./node_modules/@petamoriken/float16/src/helper/is.mjs","weight":1381,"time":32,"formattedTime":"32ms","formattedSize":"1.35 KB","isTooLarge":false},{"label":"spec.mjs","path":"./node_modules/@petamoriken/float16/src/helper/spec.mjs","weight":1095,"time":32,"formattedTime":"32ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":4497,"formattedTime":"172ms","formattedSize":"4.39 KB"},{"label":"Float16Array.mjs","path":"./node_modules/@petamoriken/float16/src/Float16Array.mjs","weight":8821,"time":1740,"formattedTime":"1.74s","formattedSize":"8.61 KB","isTooLarge":false},{"label":"DataView.mjs","path":"./node_modules/@petamoriken/float16/src/DataView.mjs","weight":634,"time":1740,"formattedTime":"1.74s","formattedSize":"634 B","isTooLarge":false}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"},{"label":"xml-utils","path":"./node_modules/xml-utils","groups":[{"label":"get-attribute.js","path":"./node_modules/xml-utils/get-attribute.js","weight":307,"time":76,"formattedTime":"76ms","formattedSize":"307 B","isTooLarge":false},{"label":"find-tags-by-name.js","path":"./node_modules/xml-utils/find-tags-by-name.js","weight":331,"time":76,"formattedTime":"76ms","formattedSize":"331 B","isTooLarge":false},{"label":"find-tag-by-name.js","path":"./node_modules/xml-utils/find-tag-by-name.js","weight":615,"time":1740,"formattedTime":"1.74s","formattedSize":"615 B","isTooLarge":false},{"label":"index-of-match.js","path":"./node_modules/xml-utils/index-of-match.js","weight":146,"time":32,"formattedTime":"32ms","formattedSize":"146 B","isTooLarge":false}],"weight":1399,"formattedTime":"1.92s","formattedSize":"1.37 KB"},{"label":"parcel-bundler","path":"./node_modules/parcel-bundler","groups":[{"label":"src","path":"./node_modules/parcel-bundler/src","groups":[{"label":"builtins","path":"./node_modules/parcel-bundler/src/builtins","groups":[{"label":"bundle-loader.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-loader.js","weight":1071,"time":84,"formattedTime":"84ms","formattedSize":"1.05 KB","isTooLarge":false},{"label":"bundle-url.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-url.js","weight":426,"time":1739,"formattedTime":"1.74s","formattedSize":"426 B","isTooLarge":false},{"label":"_empty.js","path":"./node_modules/parcel-bundler/src/builtins/_empty.js","weight":50,"time":481,"formattedTime":"481ms","formattedSize":"50 B","isTooLarge":false},{"label":"loaders","path":"./node_modules/parcel-bundler/src/builtins/loaders","groups":[{"label":"browser","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser","groups":[{"label":"js-loader.js","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser/js-loader.js","weight":0.1,"time":1,"formattedTime":"1ms","formattedSize":"0 B","isTooLarge":false}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"},{"label":"pako","path":"./node_modules/pako","groups":[{"label":"dist","path":"./node_modules/pako/dist","groups":[{"label":"pako.esm.mjs","path":"./node_modules/pako/dist/pako.esm.mjs","weight":45494,"time":117,"formattedTime":"117ms","formattedSize":"44.43 KB","isTooLarge":false}],"weight":45494,"formattedTime":"117ms","formattedSize":"44.43 KB"}],"weight":45494,"formattedTime":"117ms","formattedSize":"44.43 KB"},{"label":"lru-cache","path":"./node_modules/lru-cache","groups":[{"label":"index.js","path":"./node_modules/lru-cache/index.js","weight":4537,"time":3,"formattedTime":"3ms","formattedSize":"4.43 KB","isTooLarge":false}],"weight":4537,"formattedTime":"3ms","formattedSize":"4.43 KB"},{"label":"yallist","path":"./node_modules/yallist","groups":[{"label":"yallist.js","path":"./node_modules/yallist/yallist.js","weight":4707,"time":7,"formattedTime":"7ms","formattedSize":"4.6 KB","isTooLarge":false},{"label":"iterator.js","path":"./node_modules/yallist/iterator.js","weight":178,"time":0,"formattedTime":"0ms","formattedSize":"178 B","isTooLarge":false}],"weight":4885,"formattedTime":"7ms","formattedSize":"4.77 KB"},{"label":"buffer","path":"./node_modules/buffer","groups":[{"label":"index.js","path":"./node_modules/buffer/index.js","weight":20010,"time":482,"formattedTime":"482ms","formattedSize":"19.54 KB","isTooLarge":false}],"weight":20010,"formattedTime":"482ms","formattedSize":"19.54 KB"},{"label":"base64-js","path":"./node_modules/base64-js","groups":[{"label":"index.js","path":"./node_modules/base64-js/index.js","weight":1490,"time":10,"formattedTime":"10ms","formattedSize":"1.46 KB","isTooLarge":false}],"weight":1490,"formattedTime":"10ms","formattedSize":"1.46 KB"},{"label":"ieee754","path":"./node_modules/ieee754","groups":[{"label":"index.js","path":"./node_modules/ieee754/index.js","weight":929,"time":10,"formattedTime":"10ms","formattedSize":"929 B","isTooLarge":false}],"weight":929,"formattedTime":"10ms","formattedSize":"929 B"},{"label":"isarray","path":"./node_modules/isarray","groups":[{"label":"index.js","path":"./node_modules/isarray/index.js","weight":145,"time":10,"formattedTime":"10ms","formattedSize":"145 B","isTooLarge":false}],"weight":145,"formattedTime":"10ms","formattedSize":"145 B"}],"weight":112635.1,"formattedTime":"12.02s","formattedSize":"110 KB"}]},{"label":"geotiff.js.map","path":"./dist-browser/geotiff.js.map","weight":797169,"formattedSize":"778.49 KB","formattedGzipSize":"192.11 KB","formattedTime":"53ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"geotiff.js","path":"./dist-module/geotiff.js","weight":19375,"time":6029,"formattedTime":"6.03s","formattedSize":"18.92 KB","isTooLarge":false},{"label":"geotiffimage.js","path":"./dist-module/geotiffimage.js","weight":14425,"time":8688,"formattedTime":"8.69s","formattedSize":"14.09 KB","isTooLarge":false},{"label":"globals.js","path":"./dist-module/globals.js","weight":5297,"time":9128,"formattedTime":"9.13s","formattedSize":"5.17 KB","isTooLarge":false},{"label":"rgb.js","path":"./dist-module/rgb.js","weight":1944,"time":9857,"formattedTime":"9.86s","formattedSize":"1.9 KB","isTooLarge":false},{"label":"compression","path":"./dist-module/compression","groups":[{"label":"index.js","path":"./dist-module/compression/index.js","weight":2435,"time":13292,"formattedTime":"13.29s","formattedSize":"2.38 KB","isTooLarge":false},{"label":"basedecoder.js","path":"./dist-module/compression/basedecoder.js","weight":1316,"time":1408,"formattedTime":"1.41s","formattedSize":"1.29 KB","isTooLarge":false}],"weight":3751,"formattedTime":"14.70s","formattedSize":"3.66 KB"},{"label":"predictor.js","path":"./dist-module/predictor.js","weight":1104,"time":972,"formattedTime":"972ms","formattedSize":"1.08 KB","isTooLarge":false},{"label":"resample.js","path":"./dist-module/resample.js","weight":2122,"time":3761,"formattedTime":"3.76s","formattedSize":"2.07 KB","isTooLarge":false},{"label":"dataview64.js","path":"./dist-module/dataview64.js","weight":2130,"time":8796,"formattedTime":"8.80s","formattedSize":"2.08 KB","isTooLarge":false},{"label":"dataslice.js","path":"./dist-module/dataslice.js","weight":2803,"time":8973,"formattedTime":"8.97s","formattedSize":"2.74 KB","isTooLarge":false},{"label":"pool.js","path":"./dist-module/pool.js","weight":2340,"time":9128,"formattedTime":"9.13s","formattedSize":"2.29 KB","isTooLarge":false},{"label":"source","path":"./dist-module/source","groups":[{"label":"remote.js","path":"./dist-module/source/remote.js","weight":7085,"time":12884,"formattedTime":"12.88s","formattedSize":"6.92 KB","isTooLarge":false},{"label":"httputils.js","path":"./dist-module/source/httputils.js","weight":2941,"time":556,"formattedTime":"556ms","formattedSize":"2.87 KB","isTooLarge":false},{"label":"basesource.js","path":"./dist-module/source/basesource.js","weight":1687,"time":2805,"formattedTime":"2.81s","formattedSize":"1.65 KB","isTooLarge":false},{"label":"blockedsource.js","path":"./dist-module/source/blockedsource.js","weight":8004,"time":3632,"formattedTime":"3.63s","formattedSize":"7.82 KB","isTooLarge":false},{"label":"client","path":"./dist-module/source/client","groups":[{"label":"fetch.js","path":"./dist-module/source/client/fetch.js","weight":2852,"time":2102,"formattedTime":"2.10s","formattedSize":"2.79 KB","isTooLarge":false},{"label":"base.js","path":"./dist-module/source/client/base.js","weight":1684,"time":1477,"formattedTime":"1.48s","formattedSize":"1.64 KB","isTooLarge":false},{"label":"xhr.js","path":"./dist-module/source/client/xhr.js","weight":3227,"time":2910,"formattedTime":"2.91s","formattedSize":"3.15 KB","isTooLarge":false},{"label":"http.js","path":"./dist-module/source/client/http.js","weight":4143,"time":3177,"formattedTime":"3.18s","formattedSize":"4.05 KB","isTooLarge":false}],"weight":11906,"formattedTime":"9.67s","formattedSize":"11.63 KB"},{"label":"arraybuffer.js","path":"./dist-module/source/arraybuffer.js","weight":1624,"time":12934,"formattedTime":"12.93s","formattedSize":"1.59 KB","isTooLarge":false},{"label":"filereader.js","path":"./dist-module/source/filereader.js","weight":2141,"time":13021,"formattedTime":"13.02s","formattedSize":"2.09 KB","isTooLarge":false},{"label":"file.js","path":"./dist-module/source/file.js","weight":2957,"time":13170,"formattedTime":"13.17s","formattedSize":"2.89 KB","isTooLarge":false}],"weight":38345,"formattedTime":"68.67s","formattedSize":"37.45 KB"},{"label":"utils.js","path":"./dist-module/utils.js","weight":3715,"time":3992,"formattedTime":"3.99s","formattedSize":"3.63 KB","isTooLarge":false},{"label":"geotiffwriter.js","path":"./dist-module/geotiffwriter.js","weight":6671,"time":9595,"formattedTime":"9.60s","formattedSize":"6.51 KB","isTooLarge":false},{"label":"logging.js","path":"./dist-module/logging.js","weight":1288,"time":9880,"formattedTime":"9.88s","formattedSize":"1.26 KB","isTooLarge":false}],"weight":105310,"formattedTime":"172.17s","formattedSize":"102.84 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"@babel","path":"./node_modules/@babel","groups":[{"label":"runtime","path":"./node_modules/@babel/runtime","groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","groups":[{"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","weight":1277,"time":56,"formattedTime":"56ms","formattedSize":"1.25 KB","isTooLarge":false},{"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","weight":472,"time":56,"formattedTime":"56ms","formattedSize":"472 B","isTooLarge":false},{"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","weight":177,"time":40,"formattedTime":"40ms","formattedSize":"177 B","isTooLarge":false},{"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","weight":446,"time":40,"formattedTime":"40ms","formattedSize":"446 B","isTooLarge":false},{"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","weight":489,"time":38,"formattedTime":"38ms","formattedSize":"489 B","isTooLarge":false},{"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","weight":240,"time":23,"formattedTime":"23ms","formattedSize":"240 B","isTooLarge":false},{"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","weight":308,"time":38,"formattedTime":"38ms","formattedSize":"308 B","isTooLarge":false},{"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","weight":448,"time":55,"formattedTime":"55ms","formattedSize":"448 B","isTooLarge":false},{"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","weight":357,"time":54,"formattedTime":"54ms","formattedSize":"357 B","isTooLarge":false},{"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","weight":427,"time":54,"formattedTime":"54ms","formattedSize":"427 B","isTooLarge":false},{"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","weight":309,"time":38,"formattedTime":"38ms","formattedSize":"309 B","isTooLarge":false},{"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","weight":480,"time":47,"formattedTime":"47ms","formattedSize":"480 B","isTooLarge":false},{"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","weight":533,"time":38,"formattedTime":"38ms","formattedSize":"533 B","isTooLarge":false},{"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","weight":257,"time":38,"formattedTime":"38ms","formattedSize":"257 B","isTooLarge":false},{"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","weight":346,"time":39,"formattedTime":"39ms","formattedSize":"346 B","isTooLarge":false},{"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","weight":900,"time":39,"formattedTime":"39ms","formattedSize":"900 B","isTooLarge":false},{"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","weight":210,"time":38,"formattedTime":"38ms","formattedSize":"210 B","isTooLarge":false},{"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","weight":637,"time":38,"formattedTime":"38ms","formattedSize":"637 B","isTooLarge":false},{"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","weight":387,"time":23,"formattedTime":"23ms","formattedSize":"387 B","isTooLarge":false},{"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","weight":228,"time":40,"formattedTime":"40ms","formattedSize":"228 B","isTooLarge":false},{"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","weight":468,"time":485,"formattedTime":"485ms","formattedSize":"468 B","isTooLarge":false},{"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","weight":268,"time":8,"formattedTime":"8ms","formattedSize":"268 B","isTooLarge":false},{"label":"toArray.js","path":"./node_modules/@babel/runtime/helpers/toArray.js","weight":456,"time":21,"formattedTime":"21ms","formattedSize":"456 B","isTooLarge":false},{"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","weight":248,"time":227,"formattedTime":"227ms","formattedSize":"248 B","isTooLarge":false}],"weight":10368,"formattedTime":"1.57s","formattedSize":"10.13 KB"},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","groups":[{"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","weight":124,"time":91,"formattedTime":"91ms","formattedSize":"124 B","isTooLarge":false}],"weight":124,"formattedTime":"91ms","formattedSize":"124 B"}],"weight":10492,"formattedTime":"1.66s","formattedSize":"10.25 KB"}],"weight":10492,"formattedTime":"1.66s","formattedSize":"10.25 KB"},{"label":"regenerator-runtime","path":"./node_modules/regenerator-runtime","groups":[{"label":"runtime.js","path":"./node_modules/regenerator-runtime/runtime.js","weight":6564,"time":25,"formattedTime":"25ms","formattedSize":"6.41 KB","isTooLarge":false}],"weight":6564,"formattedTime":"25ms","formattedSize":"6.41 KB"},{"label":"@petamoriken","path":"./node_modules/@petamoriken","groups":[{"label":"float16","path":"./node_modules/@petamoriken/float16","groups":[{"label":"src","path":"./node_modules/@petamoriken/float16/src","groups":[{"label":"index.mjs","path":"./node_modules/@petamoriken/float16/src/index.mjs","weight":769,"time":80,"formattedTime":"80ms","formattedSize":"769 B","isTooLarge":false},{"label":"hfround.mjs","path":"./node_modules/@petamoriken/float16/src/hfround.mjs","weight":422,"time":1728,"formattedTime":"1.73s","formattedSize":"422 B","isTooLarge":false},{"label":"helper","path":"./node_modules/@petamoriken/float16/src/helper","groups":[{"label":"converter.mjs","path":"./node_modules/@petamoriken/float16/src/helper/converter.mjs","weight":1198,"time":44,"formattedTime":"44ms","formattedSize":"1.17 KB","isTooLarge":false},{"label":"arrayIterator.mjs","path":"./node_modules/@petamoriken/float16/src/helper/arrayIterator.mjs","weight":541,"time":32,"formattedTime":"32ms","formattedSize":"541 B","isTooLarge":false},{"label":"private.mjs","path":"./node_modules/@petamoriken/float16/src/helper/private.mjs","weight":282,"time":32,"formattedTime":"32ms","formattedSize":"282 B","isTooLarge":false},{"label":"is.mjs","path":"./node_modules/@petamoriken/float16/src/helper/is.mjs","weight":1381,"time":32,"formattedTime":"32ms","formattedSize":"1.35 KB","isTooLarge":false},{"label":"spec.mjs","path":"./node_modules/@petamoriken/float16/src/helper/spec.mjs","weight":1095,"time":32,"formattedTime":"32ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":4497,"formattedTime":"172ms","formattedSize":"4.39 KB"},{"label":"Float16Array.mjs","path":"./node_modules/@petamoriken/float16/src/Float16Array.mjs","weight":8821,"time":1740,"formattedTime":"1.74s","formattedSize":"8.61 KB","isTooLarge":false},{"label":"DataView.mjs","path":"./node_modules/@petamoriken/float16/src/DataView.mjs","weight":634,"time":1740,"formattedTime":"1.74s","formattedSize":"634 B","isTooLarge":false}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"5.46s","formattedSize":"14.79 KB"},{"label":"xml-utils","path":"./node_modules/xml-utils","groups":[{"label":"get-attribute.js","path":"./node_modules/xml-utils/get-attribute.js","weight":307,"time":76,"formattedTime":"76ms","formattedSize":"307 B","isTooLarge":false},{"label":"find-tags-by-name.js","path":"./node_modules/xml-utils/find-tags-by-name.js","weight":331,"time":76,"formattedTime":"76ms","formattedSize":"331 B","isTooLarge":false},{"label":"find-tag-by-name.js","path":"./node_modules/xml-utils/find-tag-by-name.js","weight":615,"time":1740,"formattedTime":"1.74s","formattedSize":"615 B","isTooLarge":false},{"label":"index-of-match.js","path":"./node_modules/xml-utils/index-of-match.js","weight":146,"time":32,"formattedTime":"32ms","formattedSize":"146 B","isTooLarge":false}],"weight":1399,"formattedTime":"1.92s","formattedSize":"1.37 KB"},{"label":"parcel-bundler","path":"./node_modules/parcel-bundler","groups":[{"label":"src","path":"./node_modules/parcel-bundler/src","groups":[{"label":"builtins","path":"./node_modules/parcel-bundler/src/builtins","groups":[{"label":"bundle-loader.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-loader.js","weight":1071,"time":84,"formattedTime":"84ms","formattedSize":"1.05 KB","isTooLarge":false},{"label":"bundle-url.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-url.js","weight":426,"time":1739,"formattedTime":"1.74s","formattedSize":"426 B","isTooLarge":false},{"label":"_empty.js","path":"./node_modules/parcel-bundler/src/builtins/_empty.js","weight":50,"time":481,"formattedTime":"481ms","formattedSize":"50 B","isTooLarge":false},{"label":"loaders","path":"./node_modules/parcel-bundler/src/builtins/loaders","groups":[{"label":"browser","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser","groups":[{"label":"js-loader.js","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser/js-loader.js","weight":0.1,"time":1,"formattedTime":"1ms","formattedSize":"0 B","isTooLarge":false}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"2.31s","formattedSize":"1.51 KB"},{"label":"pako","path":"./node_modules/pako","groups":[{"label":"dist","path":"./node_modules/pako/dist","groups":[{"label":"pako.esm.mjs","path":"./node_modules/pako/dist/pako.esm.mjs","weight":45494,"time":117,"formattedTime":"117ms","formattedSize":"44.43 KB","isTooLarge":false}],"weight":45494,"formattedTime":"117ms","formattedSize":"44.43 KB"}],"weight":45494,"formattedTime":"117ms","formattedSize":"44.43 KB"},{"label":"lru-cache","path":"./node_modules/lru-cache","groups":[{"label":"index.js","path":"./node_modules/lru-cache/index.js","weight":4537,"time":3,"formattedTime":"3ms","formattedSize":"4.43 KB","isTooLarge":false}],"weight":4537,"formattedTime":"3ms","formattedSize":"4.43 KB"},{"label":"yallist","path":"./node_modules/yallist","groups":[{"label":"yallist.js","path":"./node_modules/yallist/yallist.js","weight":4707,"time":7,"formattedTime":"7ms","formattedSize":"4.6 KB","isTooLarge":false},{"label":"iterator.js","path":"./node_modules/yallist/iterator.js","weight":178,"time":0,"formattedTime":"0ms","formattedSize":"178 B","isTooLarge":false}],"weight":4885,"formattedTime":"7ms","formattedSize":"4.77 KB"},{"label":"buffer","path":"./node_modules/buffer","groups":[{"label":"index.js","path":"./node_modules/buffer/index.js","weight":20010,"time":482,"formattedTime":"482ms","formattedSize":"19.54 KB","isTooLarge":false}],"weight":20010,"formattedTime":"482ms","formattedSize":"19.54 KB"},{"label":"base64-js","path":"./node_modules/base64-js","groups":[{"label":"index.js","path":"./node_modules/base64-js/index.js","weight":1490,"time":10,"formattedTime":"10ms","formattedSize":"1.46 KB","isTooLarge":false}],"weight":1490,"formattedTime":"10ms","formattedSize":"1.46 KB"},{"label":"ieee754","path":"./node_modules/ieee754","groups":[{"label":"index.js","path":"./node_modules/ieee754/index.js","weight":929,"time":10,"formattedTime":"10ms","formattedSize":"929 B","isTooLarge":false}],"weight":929,"formattedTime":"10ms","formattedSize":"929 B"},{"label":"isarray","path":"./node_modules/isarray","groups":[{"label":"index.js","path":"./node_modules/isarray/index.js","weight":145,"time":10,"formattedTime":"10ms","formattedSize":"145 B","isTooLarge":false}],"weight":145,"formattedTime":"10ms","formattedSize":"145 B"}],"weight":112635.1,"formattedTime":"12.02s","formattedSize":"110 KB"}]},{"label":"raw.ab19b9fe.js","path":"./dist-browser/raw.ab19b9fe.js","weight":2523,"formattedSize":"2.46 KB","formattedGzipSize":"1.05 KB","formattedTime":"2.90s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"raw.js","path":"./dist-module/compression/raw.js","weight":2463,"time":2821,"formattedTime":"2.82s","formattedSize":"2.41 KB","isTooLarge":false}],"weight":2463,"formattedTime":"2.82s","formattedSize":"2.41 KB"}],"weight":2463,"formattedTime":"2.82s","formattedSize":"2.41 KB"}]},{"label":"raw.ab19b9fe.js.map","path":"./dist-browser/raw.ab19b9fe.js.map","weight":1376,"formattedSize":"1.34 KB","formattedGzipSize":"458 B","formattedTime":"86ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"raw.js","path":"./dist-module/compression/raw.js","weight":2463,"time":2821,"formattedTime":"2.82s","formattedSize":"2.41 KB","isTooLarge":false}],"weight":2463,"formattedTime":"2.82s","formattedSize":"2.41 KB"}],"weight":2463,"formattedTime":"2.82s","formattedSize":"2.41 KB"}]},{"label":"lzw.a748100b.js","path":"./dist-browser/lzw.a748100b.js","weight":3805,"formattedSize":"3.72 KB","formattedGzipSize":"1.65 KB","formattedTime":"3.97s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lzw.js","path":"./dist-module/compression/lzw.js","weight":3745,"time":3888,"formattedTime":"3.89s","formattedSize":"3.66 KB","isTooLarge":false}],"weight":3745,"formattedTime":"3.89s","formattedSize":"3.66 KB"}],"weight":3745,"formattedTime":"3.89s","formattedSize":"3.66 KB"}]},{"label":"lzw.a748100b.js.map","path":"./dist-browser/lzw.a748100b.js.map","weight":7553,"formattedSize":"7.38 KB","formattedGzipSize":"2.53 KB","formattedTime":"86ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lzw.js","path":"./dist-module/compression/lzw.js","weight":3745,"time":3888,"formattedTime":"3.89s","formattedSize":"3.66 KB","isTooLarge":false}],"weight":3745,"formattedTime":"3.89s","formattedSize":"3.66 KB"}],"weight":3745,"formattedTime":"3.89s","formattedSize":"3.66 KB"}]},{"label":"jpeg.7ffadf30.js","path":"./dist-browser/jpeg.7ffadf30.js","weight":11216,"formattedSize":"10.95 KB","formattedGzipSize":"4.57 KB","formattedTime":"5.25s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"jpeg.js","path":"./dist-module/compression/jpeg.js","weight":11155,"time":5178,"formattedTime":"5.18s","formattedSize":"10.89 KB","isTooLarge":false}],"weight":11155,"formattedTime":"5.18s","formattedSize":"10.89 KB"}],"weight":11155,"formattedTime":"5.18s","formattedSize":"10.89 KB"}]},{"label":"jpeg.7ffadf30.js.map","path":"./dist-browser/jpeg.7ffadf30.js.map","weight":46406,"formattedSize":"45.32 KB","formattedGzipSize":"12.52 KB","formattedTime":"85ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"jpeg.js","path":"./dist-module/compression/jpeg.js","weight":11155,"time":5178,"formattedTime":"5.18s","formattedSize":"10.89 KB","isTooLarge":false}],"weight":11155,"formattedTime":"5.18s","formattedSize":"10.89 KB"}],"weight":11155,"formattedTime":"5.18s","formattedSize":"10.89 KB"}]},{"label":"deflate.0f5089c6.js","path":"./dist-browser/deflate.0f5089c6.js","weight":2596,"formattedSize":"2.54 KB","formattedGzipSize":"1.09 KB","formattedTime":"1.41s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"deflate.js","path":"./dist-module/compression/deflate.js","weight":2532,"time":1333,"formattedTime":"1.33s","formattedSize":"2.47 KB","isTooLarge":false}],"weight":2532,"formattedTime":"1.33s","formattedSize":"2.47 KB"}],"weight":2532,"formattedTime":"1.33s","formattedSize":"2.47 KB"}]},{"label":"deflate.0f5089c6.js.map","path":"./dist-browser/deflate.0f5089c6.js.map","weight":1515,"formattedSize":"1.48 KB","formattedGzipSize":"521 B","formattedTime":"86ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"deflate.js","path":"./dist-module/compression/deflate.js","weight":2532,"time":1333,"formattedTime":"1.33s","formattedSize":"2.47 KB","isTooLarge":false}],"weight":2532,"formattedTime":"1.33s","formattedSize":"2.47 KB"}],"weight":2532,"formattedTime":"1.33s","formattedSize":"2.47 KB"}]},{"label":"packbits.7d38a482.js","path":"./dist-browser/packbits.7d38a482.js","weight":2756,"formattedSize":"2.69 KB","formattedGzipSize":"1.17 KB","formattedTime":"1.31s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"packbits.js","path":"./dist-module/compression/packbits.js","weight":2691,"time":1236,"formattedTime":"1.24s","formattedSize":"2.63 KB","isTooLarge":false}],"weight":2691,"formattedTime":"1.24s","formattedSize":"2.63 KB"}],"weight":2691,"formattedTime":"1.24s","formattedSize":"2.63 KB"}]},{"label":"packbits.7d38a482.js.map","path":"./dist-browser/packbits.7d38a482.js.map","weight":2423,"formattedSize":"2.37 KB","formattedGzipSize":"842 B","formattedTime":"86ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"packbits.js","path":"./dist-module/compression/packbits.js","weight":2691,"time":1236,"formattedTime":"1.24s","formattedSize":"2.63 KB","isTooLarge":false}],"weight":2691,"formattedTime":"1.24s","formattedSize":"2.63 KB"}],"weight":2691,"formattedTime":"1.24s","formattedSize":"2.63 KB"}]},{"label":"lerc.caec27d4.js","path":"./dist-browser/lerc.caec27d4.js","weight":26019,"formattedSize":"25.41 KB","formattedGzipSize":"8.59 KB","formattedTime":"1.75s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lerc.js","path":"./dist-module/compression/lerc.js","weight":2121,"time":1612,"formattedTime":"1.61s","formattedSize":"2.07 KB","isTooLarge":false}],"weight":2121,"formattedTime":"1.61s","formattedSize":"2.07 KB"}],"weight":2121,"formattedTime":"1.61s","formattedSize":"2.07 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"lerc","path":"./node_modules/lerc","groups":[{"label":"LercDecode.js","path":"./node_modules/lerc/LercDecode.js","weight":23837,"time":52,"formattedTime":"52ms","formattedSize":"23.28 KB","isTooLarge":false}],"weight":23837,"formattedTime":"52ms","formattedSize":"23.28 KB"}],"weight":23837,"formattedTime":"52ms","formattedSize":"23.28 KB"}]},{"label":"lerc.caec27d4.js.map","path":"./dist-browser/lerc.caec27d4.js.map","weight":123056,"formattedSize":"120.17 KB","formattedGzipSize":"21.32 KB","formattedTime":"82ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lerc.js","path":"./dist-module/compression/lerc.js","weight":2121,"time":1612,"formattedTime":"1.61s","formattedSize":"2.07 KB","isTooLarge":false}],"weight":2121,"formattedTime":"1.61s","formattedSize":"2.07 KB"}],"weight":2121,"formattedTime":"1.61s","formattedSize":"2.07 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"lerc","path":"./node_modules/lerc","groups":[{"label":"LercDecode.js","path":"./node_modules/lerc/LercDecode.js","weight":23837,"time":52,"formattedTime":"52ms","formattedSize":"23.28 KB","isTooLarge":false}],"weight":23837,"formattedTime":"52ms","formattedSize":"23.28 KB"}],"weight":23837,"formattedTime":"52ms","formattedSize":"23.28 KB"}]},{"label":"webimage.25315ce7.js","path":"./dist-browser/webimage.25315ce7.js","weight":3545,"formattedSize":"3.46 KB","formattedGzipSize":"1.41 KB","formattedTime":"1.56s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"webimage.js","path":"./dist-module/compression/webimage.js","weight":3480,"time":1484,"formattedTime":"1.48s","formattedSize":"3.4 KB","isTooLarge":false}],"weight":3480,"formattedTime":"1.48s","formattedSize":"3.4 KB"}],"weight":3480,"formattedTime":"1.48s","formattedSize":"3.4 KB"}]},{"label":"webimage.25315ce7.js.map","path":"./dist-browser/webimage.25315ce7.js.map","weight":3621,"formattedSize":"3.54 KB","formattedGzipSize":"1.31 KB","formattedTime":"86ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"webimage.js","path":"./dist-module/compression/webimage.js","weight":3480,"time":1484,"formattedTime":"1.48s","formattedSize":"3.4 KB","isTooLarge":false}],"weight":3480,"formattedTime":"1.48s","formattedSize":"3.4 KB"}],"weight":3480,"formattedTime":"1.48s","formattedSize":"3.4 KB"}]},{"label":"decoder.3dba31e0.js","path":"./dist-browser/decoder.3dba31e0.js","weight":76724,"formattedSize":"74.93 KB","formattedGzipSize":"25.06 KB","formattedTime":"4.48s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"worker","path":"./dist-module/worker","groups":[{"label":"decoder.js","path":"./dist-module/worker/decoder.js","weight":75565,"time":4322,"formattedTime":"4.32s","formattedSize":"73.79 KB","isTooLarge":false}],"weight":75565,"formattedTime":"4.32s","formattedSize":"73.79 KB"}],"weight":75565,"formattedTime":"4.32s","formattedSize":"73.79 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"web-worker","path":"./node_modules/web-worker","groups":[{"label":"cjs","path":"./node_modules/web-worker/cjs","groups":[{"label":"browser.js","path":"./node_modules/web-worker/cjs/browser.js","weight":1095,"time":10,"formattedTime":"10ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}]},{"label":"decoder.3dba31e0.js.map","path":"./dist-browser/decoder.3dba31e0.js.map","weight":79198,"formattedSize":"77.34 KB","formattedGzipSize":"25.37 KB","formattedTime":"82ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"worker","path":"./dist-module/worker","groups":[{"label":"decoder.js","path":"./dist-module/worker/decoder.js","weight":75565,"time":4322,"formattedTime":"4.32s","formattedSize":"73.79 KB","isTooLarge":false}],"weight":75565,"formattedTime":"4.32s","formattedSize":"73.79 KB"}],"weight":75565,"formattedTime":"4.32s","formattedSize":"73.79 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"web-worker","path":"./node_modules/web-worker","groups":[{"label":"cjs","path":"./node_modules/web-worker/cjs","groups":[{"label":"browser.js","path":"./node_modules/web-worker/cjs/browser.js","weight":1095,"time":10,"formattedTime":"10ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"10ms","formattedSize":"1.07 KB"}]}]};
45
+ window.TREE_DATA = {"groups":[{"label":"geotiff.js","path":"./dist-browser/geotiff.js","weight":218574,"formattedSize":"213.45 KB","formattedGzipSize":"57.79 KB","formattedTime":"27.87s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"geotiff.js","path":"./dist-module/geotiff.js","weight":19470,"time":6436,"formattedTime":"6.44s","formattedSize":"19.01 KB","isTooLarge":false},{"label":"geotiffimage.js","path":"./dist-module/geotiffimage.js","weight":14425,"time":9804,"formattedTime":"9.80s","formattedSize":"14.09 KB","isTooLarge":false},{"label":"globals.js","path":"./dist-module/globals.js","weight":5297,"time":10393,"formattedTime":"10.39s","formattedSize":"5.17 KB","isTooLarge":false},{"label":"rgb.js","path":"./dist-module/rgb.js","weight":1944,"time":11320,"formattedTime":"11.32s","formattedSize":"1.9 KB","isTooLarge":false},{"label":"compression","path":"./dist-module/compression","groups":[{"label":"index.js","path":"./dist-module/compression/index.js","weight":2435,"time":14454,"formattedTime":"14.45s","formattedSize":"2.38 KB","isTooLarge":false},{"label":"basedecoder.js","path":"./dist-module/compression/basedecoder.js","weight":1316,"time":2184,"formattedTime":"2.18s","formattedSize":"1.29 KB","isTooLarge":false}],"weight":3751,"formattedTime":"16.64s","formattedSize":"3.66 KB"},{"label":"predictor.js","path":"./dist-module/predictor.js","weight":1104,"time":746,"formattedTime":"746ms","formattedSize":"1.08 KB","isTooLarge":false},{"label":"resample.js","path":"./dist-module/resample.js","weight":2122,"time":3809,"formattedTime":"3.81s","formattedSize":"2.07 KB","isTooLarge":false},{"label":"dataview64.js","path":"./dist-module/dataview64.js","weight":2130,"time":9921,"formattedTime":"9.92s","formattedSize":"2.08 KB","isTooLarge":false},{"label":"dataslice.js","path":"./dist-module/dataslice.js","weight":2803,"time":10118,"formattedTime":"10.12s","formattedSize":"2.74 KB","isTooLarge":false},{"label":"pool.js","path":"./dist-module/pool.js","weight":2340,"time":10338,"formattedTime":"10.34s","formattedSize":"2.29 KB","isTooLarge":false},{"label":"source","path":"./dist-module/source","groups":[{"label":"remote.js","path":"./dist-module/source/remote.js","weight":7085,"time":13847,"formattedTime":"13.85s","formattedSize":"6.92 KB","isTooLarge":false},{"label":"httputils.js","path":"./dist-module/source/httputils.js","weight":2941,"time":1100,"formattedTime":"1.10s","formattedSize":"2.87 KB","isTooLarge":false},{"label":"basesource.js","path":"./dist-module/source/basesource.js","weight":1687,"time":2682,"formattedTime":"2.68s","formattedSize":"1.65 KB","isTooLarge":false},{"label":"blockedsource.js","path":"./dist-module/source/blockedsource.js","weight":8004,"time":3370,"formattedTime":"3.37s","formattedSize":"7.82 KB","isTooLarge":false},{"label":"client","path":"./dist-module/source/client","groups":[{"label":"fetch.js","path":"./dist-module/source/client/fetch.js","weight":2852,"time":4254,"formattedTime":"4.25s","formattedSize":"2.79 KB","isTooLarge":false},{"label":"base.js","path":"./dist-module/source/client/base.js","weight":1684,"time":361,"formattedTime":"361ms","formattedSize":"1.64 KB","isTooLarge":false},{"label":"xhr.js","path":"./dist-module/source/client/xhr.js","weight":3227,"time":4423,"formattedTime":"4.42s","formattedSize":"3.15 KB","isTooLarge":false},{"label":"http.js","path":"./dist-module/source/client/http.js","weight":4143,"time":5822,"formattedTime":"5.82s","formattedSize":"4.05 KB","isTooLarge":false}],"weight":11906,"formattedTime":"14.86s","formattedSize":"11.63 KB"},{"label":"arraybuffer.js","path":"./dist-module/source/arraybuffer.js","weight":1624,"time":13967,"formattedTime":"13.97s","formattedSize":"1.59 KB","isTooLarge":false},{"label":"filereader.js","path":"./dist-module/source/filereader.js","weight":2141,"time":14125,"formattedTime":"14.13s","formattedSize":"2.09 KB","isTooLarge":false},{"label":"file.js","path":"./dist-module/source/file.js","weight":2957,"time":14306,"formattedTime":"14.31s","formattedSize":"2.89 KB","isTooLarge":false}],"weight":38345,"formattedTime":"78.26s","formattedSize":"37.45 KB"},{"label":"utils.js","path":"./dist-module/utils.js","weight":3715,"time":3998,"formattedTime":"4.00s","formattedSize":"3.63 KB","isTooLarge":false},{"label":"geotiffwriter.js","path":"./dist-module/geotiffwriter.js","weight":6671,"time":11076,"formattedTime":"11.08s","formattedSize":"6.51 KB","isTooLarge":false},{"label":"logging.js","path":"./dist-module/logging.js","weight":1288,"time":11364,"formattedTime":"11.36s","formattedSize":"1.26 KB","isTooLarge":false}],"weight":105405,"formattedTime":"194.22s","formattedSize":"102.93 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"@babel","path":"./node_modules/@babel","groups":[{"label":"runtime","path":"./node_modules/@babel/runtime","groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","groups":[{"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","weight":1277,"time":66,"formattedTime":"66ms","formattedSize":"1.25 KB","isTooLarge":false},{"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","weight":472,"time":66,"formattedTime":"66ms","formattedSize":"472 B","isTooLarge":false},{"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","weight":177,"time":73,"formattedTime":"73ms","formattedSize":"177 B","isTooLarge":false},{"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","weight":446,"time":71,"formattedTime":"71ms","formattedSize":"446 B","isTooLarge":false},{"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","weight":489,"time":70,"formattedTime":"70ms","formattedSize":"489 B","isTooLarge":false},{"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","weight":240,"time":54,"formattedTime":"54ms","formattedSize":"240 B","isTooLarge":false},{"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","weight":308,"time":70,"formattedTime":"70ms","formattedSize":"308 B","isTooLarge":false},{"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","weight":448,"time":69,"formattedTime":"69ms","formattedSize":"448 B","isTooLarge":false},{"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","weight":357,"time":68,"formattedTime":"68ms","formattedSize":"357 B","isTooLarge":false},{"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","weight":427,"time":68,"formattedTime":"68ms","formattedSize":"427 B","isTooLarge":false},{"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","weight":309,"time":70,"formattedTime":"70ms","formattedSize":"309 B","isTooLarge":false},{"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","weight":480,"time":67,"formattedTime":"67ms","formattedSize":"480 B","isTooLarge":false},{"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","weight":533,"time":70,"formattedTime":"70ms","formattedSize":"533 B","isTooLarge":false},{"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","weight":257,"time":70,"formattedTime":"70ms","formattedSize":"257 B","isTooLarge":false},{"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","weight":346,"time":67,"formattedTime":"67ms","formattedSize":"346 B","isTooLarge":false},{"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","weight":900,"time":67,"formattedTime":"67ms","formattedSize":"900 B","isTooLarge":false},{"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","weight":210,"time":69,"formattedTime":"69ms","formattedSize":"210 B","isTooLarge":false},{"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","weight":637,"time":54,"formattedTime":"54ms","formattedSize":"637 B","isTooLarge":false},{"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","weight":387,"time":54,"formattedTime":"54ms","formattedSize":"387 B","isTooLarge":false},{"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","weight":228,"time":83,"formattedTime":"83ms","formattedSize":"228 B","isTooLarge":false},{"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","weight":468,"time":37,"formattedTime":"37ms","formattedSize":"468 B","isTooLarge":false},{"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","weight":268,"time":12,"formattedTime":"12ms","formattedSize":"268 B","isTooLarge":false},{"label":"toArray.js","path":"./node_modules/@babel/runtime/helpers/toArray.js","weight":456,"time":1,"formattedTime":"1ms","formattedSize":"456 B","isTooLarge":false},{"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","weight":248,"time":0,"formattedTime":"0ms","formattedSize":"248 B","isTooLarge":false}],"weight":10368,"formattedTime":"1.40s","formattedSize":"10.13 KB"},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","groups":[{"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","weight":124,"time":78,"formattedTime":"78ms","formattedSize":"124 B","isTooLarge":false}],"weight":124,"formattedTime":"78ms","formattedSize":"124 B"}],"weight":10492,"formattedTime":"1.47s","formattedSize":"10.25 KB"}],"weight":10492,"formattedTime":"1.47s","formattedSize":"10.25 KB"},{"label":"regenerator-runtime","path":"./node_modules/regenerator-runtime","groups":[{"label":"runtime.js","path":"./node_modules/regenerator-runtime/runtime.js","weight":6564,"time":28,"formattedTime":"28ms","formattedSize":"6.41 KB","isTooLarge":false}],"weight":6564,"formattedTime":"28ms","formattedSize":"6.41 KB"},{"label":"@petamoriken","path":"./node_modules/@petamoriken","groups":[{"label":"float16","path":"./node_modules/@petamoriken/float16","groups":[{"label":"src","path":"./node_modules/@petamoriken/float16/src","groups":[{"label":"index.mjs","path":"./node_modules/@petamoriken/float16/src/index.mjs","weight":769,"time":66,"formattedTime":"66ms","formattedSize":"769 B","isTooLarge":false},{"label":"hfround.mjs","path":"./node_modules/@petamoriken/float16/src/hfround.mjs","weight":422,"time":1552,"formattedTime":"1.55s","formattedSize":"422 B","isTooLarge":false},{"label":"helper","path":"./node_modules/@petamoriken/float16/src/helper","groups":[{"label":"converter.mjs","path":"./node_modules/@petamoriken/float16/src/helper/converter.mjs","weight":1198,"time":17,"formattedTime":"17ms","formattedSize":"1.17 KB","isTooLarge":false},{"label":"arrayIterator.mjs","path":"./node_modules/@petamoriken/float16/src/helper/arrayIterator.mjs","weight":541,"time":17,"formattedTime":"17ms","formattedSize":"541 B","isTooLarge":false},{"label":"private.mjs","path":"./node_modules/@petamoriken/float16/src/helper/private.mjs","weight":282,"time":17,"formattedTime":"17ms","formattedSize":"282 B","isTooLarge":false},{"label":"is.mjs","path":"./node_modules/@petamoriken/float16/src/helper/is.mjs","weight":1381,"time":17,"formattedTime":"17ms","formattedSize":"1.35 KB","isTooLarge":false},{"label":"spec.mjs","path":"./node_modules/@petamoriken/float16/src/helper/spec.mjs","weight":1095,"time":16,"formattedTime":"16ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":4497,"formattedTime":"84ms","formattedSize":"4.39 KB"},{"label":"Float16Array.mjs","path":"./node_modules/@petamoriken/float16/src/Float16Array.mjs","weight":8821,"time":1552,"formattedTime":"1.55s","formattedSize":"8.61 KB","isTooLarge":false},{"label":"DataView.mjs","path":"./node_modules/@petamoriken/float16/src/DataView.mjs","weight":634,"time":1552,"formattedTime":"1.55s","formattedSize":"634 B","isTooLarge":false}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"},{"label":"xml-utils","path":"./node_modules/xml-utils","groups":[{"label":"get-attribute.js","path":"./node_modules/xml-utils/get-attribute.js","weight":307,"time":67,"formattedTime":"67ms","formattedSize":"307 B","isTooLarge":false},{"label":"find-tags-by-name.js","path":"./node_modules/xml-utils/find-tags-by-name.js","weight":331,"time":67,"formattedTime":"67ms","formattedSize":"331 B","isTooLarge":false},{"label":"find-tag-by-name.js","path":"./node_modules/xml-utils/find-tag-by-name.js","weight":615,"time":1552,"formattedTime":"1.55s","formattedSize":"615 B","isTooLarge":false},{"label":"index-of-match.js","path":"./node_modules/xml-utils/index-of-match.js","weight":146,"time":16,"formattedTime":"16ms","formattedSize":"146 B","isTooLarge":false}],"weight":1399,"formattedTime":"1.70s","formattedSize":"1.37 KB"},{"label":"parcel-bundler","path":"./node_modules/parcel-bundler","groups":[{"label":"src","path":"./node_modules/parcel-bundler/src","groups":[{"label":"builtins","path":"./node_modules/parcel-bundler/src/builtins","groups":[{"label":"bundle-loader.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-loader.js","weight":1071,"time":73,"formattedTime":"73ms","formattedSize":"1.05 KB","isTooLarge":false},{"label":"bundle-url.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-url.js","weight":426,"time":1551,"formattedTime":"1.55s","formattedSize":"426 B","isTooLarge":false},{"label":"_empty.js","path":"./node_modules/parcel-bundler/src/builtins/_empty.js","weight":50,"time":71,"formattedTime":"71ms","formattedSize":"50 B","isTooLarge":false},{"label":"loaders","path":"./node_modules/parcel-bundler/src/builtins/loaders","groups":[{"label":"browser","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser","groups":[{"label":"js-loader.js","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser/js-loader.js","weight":0.1,"time":1,"formattedTime":"1ms","formattedSize":"0 B","isTooLarge":false}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"},{"label":"pako","path":"./node_modules/pako","groups":[{"label":"dist","path":"./node_modules/pako/dist","groups":[{"label":"pako.esm.mjs","path":"./node_modules/pako/dist/pako.esm.mjs","weight":45494,"time":132,"formattedTime":"132ms","formattedSize":"44.43 KB","isTooLarge":false}],"weight":45494,"formattedTime":"132ms","formattedSize":"44.43 KB"}],"weight":45494,"formattedTime":"132ms","formattedSize":"44.43 KB"},{"label":"lru-cache","path":"./node_modules/lru-cache","groups":[{"label":"index.js","path":"./node_modules/lru-cache/index.js","weight":4537,"time":2,"formattedTime":"2ms","formattedSize":"4.43 KB","isTooLarge":false}],"weight":4537,"formattedTime":"2ms","formattedSize":"4.43 KB"},{"label":"yallist","path":"./node_modules/yallist","groups":[{"label":"yallist.js","path":"./node_modules/yallist/yallist.js","weight":4707,"time":13,"formattedTime":"13ms","formattedSize":"4.6 KB","isTooLarge":false},{"label":"iterator.js","path":"./node_modules/yallist/iterator.js","weight":178,"time":4,"formattedTime":"4ms","formattedSize":"178 B","isTooLarge":false}],"weight":4885,"formattedTime":"17ms","formattedSize":"4.77 KB"},{"label":"buffer","path":"./node_modules/buffer","groups":[{"label":"index.js","path":"./node_modules/buffer/index.js","weight":20010,"time":40,"formattedTime":"40ms","formattedSize":"19.54 KB","isTooLarge":false}],"weight":20010,"formattedTime":"40ms","formattedSize":"19.54 KB"},{"label":"base64-js","path":"./node_modules/base64-js","groups":[{"label":"index.js","path":"./node_modules/base64-js/index.js","weight":1490,"time":11,"formattedTime":"11ms","formattedSize":"1.46 KB","isTooLarge":false}],"weight":1490,"formattedTime":"11ms","formattedSize":"1.46 KB"},{"label":"ieee754","path":"./node_modules/ieee754","groups":[{"label":"index.js","path":"./node_modules/ieee754/index.js","weight":929,"time":11,"formattedTime":"11ms","formattedSize":"929 B","isTooLarge":false}],"weight":929,"formattedTime":"11ms","formattedSize":"929 B"},{"label":"isarray","path":"./node_modules/isarray","groups":[{"label":"index.js","path":"./node_modules/isarray/index.js","weight":145,"time":11,"formattedTime":"11ms","formattedSize":"145 B","isTooLarge":false}],"weight":145,"formattedTime":"11ms","formattedSize":"145 B"}],"weight":112635.1,"formattedTime":"9.93s","formattedSize":"110 KB"}]},{"label":"geotiff.js.map","path":"./dist-browser/geotiff.js.map","weight":797278,"formattedSize":"778.59 KB","formattedGzipSize":"192.12 KB","formattedTime":"80ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"geotiff.js","path":"./dist-module/geotiff.js","weight":19470,"time":6436,"formattedTime":"6.44s","formattedSize":"19.01 KB","isTooLarge":false},{"label":"geotiffimage.js","path":"./dist-module/geotiffimage.js","weight":14425,"time":9804,"formattedTime":"9.80s","formattedSize":"14.09 KB","isTooLarge":false},{"label":"globals.js","path":"./dist-module/globals.js","weight":5297,"time":10393,"formattedTime":"10.39s","formattedSize":"5.17 KB","isTooLarge":false},{"label":"rgb.js","path":"./dist-module/rgb.js","weight":1944,"time":11320,"formattedTime":"11.32s","formattedSize":"1.9 KB","isTooLarge":false},{"label":"compression","path":"./dist-module/compression","groups":[{"label":"index.js","path":"./dist-module/compression/index.js","weight":2435,"time":14454,"formattedTime":"14.45s","formattedSize":"2.38 KB","isTooLarge":false},{"label":"basedecoder.js","path":"./dist-module/compression/basedecoder.js","weight":1316,"time":2184,"formattedTime":"2.18s","formattedSize":"1.29 KB","isTooLarge":false}],"weight":3751,"formattedTime":"16.64s","formattedSize":"3.66 KB"},{"label":"predictor.js","path":"./dist-module/predictor.js","weight":1104,"time":746,"formattedTime":"746ms","formattedSize":"1.08 KB","isTooLarge":false},{"label":"resample.js","path":"./dist-module/resample.js","weight":2122,"time":3809,"formattedTime":"3.81s","formattedSize":"2.07 KB","isTooLarge":false},{"label":"dataview64.js","path":"./dist-module/dataview64.js","weight":2130,"time":9921,"formattedTime":"9.92s","formattedSize":"2.08 KB","isTooLarge":false},{"label":"dataslice.js","path":"./dist-module/dataslice.js","weight":2803,"time":10118,"formattedTime":"10.12s","formattedSize":"2.74 KB","isTooLarge":false},{"label":"pool.js","path":"./dist-module/pool.js","weight":2340,"time":10338,"formattedTime":"10.34s","formattedSize":"2.29 KB","isTooLarge":false},{"label":"source","path":"./dist-module/source","groups":[{"label":"remote.js","path":"./dist-module/source/remote.js","weight":7085,"time":13847,"formattedTime":"13.85s","formattedSize":"6.92 KB","isTooLarge":false},{"label":"httputils.js","path":"./dist-module/source/httputils.js","weight":2941,"time":1100,"formattedTime":"1.10s","formattedSize":"2.87 KB","isTooLarge":false},{"label":"basesource.js","path":"./dist-module/source/basesource.js","weight":1687,"time":2682,"formattedTime":"2.68s","formattedSize":"1.65 KB","isTooLarge":false},{"label":"blockedsource.js","path":"./dist-module/source/blockedsource.js","weight":8004,"time":3370,"formattedTime":"3.37s","formattedSize":"7.82 KB","isTooLarge":false},{"label":"client","path":"./dist-module/source/client","groups":[{"label":"fetch.js","path":"./dist-module/source/client/fetch.js","weight":2852,"time":4254,"formattedTime":"4.25s","formattedSize":"2.79 KB","isTooLarge":false},{"label":"base.js","path":"./dist-module/source/client/base.js","weight":1684,"time":361,"formattedTime":"361ms","formattedSize":"1.64 KB","isTooLarge":false},{"label":"xhr.js","path":"./dist-module/source/client/xhr.js","weight":3227,"time":4423,"formattedTime":"4.42s","formattedSize":"3.15 KB","isTooLarge":false},{"label":"http.js","path":"./dist-module/source/client/http.js","weight":4143,"time":5822,"formattedTime":"5.82s","formattedSize":"4.05 KB","isTooLarge":false}],"weight":11906,"formattedTime":"14.86s","formattedSize":"11.63 KB"},{"label":"arraybuffer.js","path":"./dist-module/source/arraybuffer.js","weight":1624,"time":13967,"formattedTime":"13.97s","formattedSize":"1.59 KB","isTooLarge":false},{"label":"filereader.js","path":"./dist-module/source/filereader.js","weight":2141,"time":14125,"formattedTime":"14.13s","formattedSize":"2.09 KB","isTooLarge":false},{"label":"file.js","path":"./dist-module/source/file.js","weight":2957,"time":14306,"formattedTime":"14.31s","formattedSize":"2.89 KB","isTooLarge":false}],"weight":38345,"formattedTime":"78.26s","formattedSize":"37.45 KB"},{"label":"utils.js","path":"./dist-module/utils.js","weight":3715,"time":3998,"formattedTime":"4.00s","formattedSize":"3.63 KB","isTooLarge":false},{"label":"geotiffwriter.js","path":"./dist-module/geotiffwriter.js","weight":6671,"time":11076,"formattedTime":"11.08s","formattedSize":"6.51 KB","isTooLarge":false},{"label":"logging.js","path":"./dist-module/logging.js","weight":1288,"time":11364,"formattedTime":"11.36s","formattedSize":"1.26 KB","isTooLarge":false}],"weight":105405,"formattedTime":"194.22s","formattedSize":"102.93 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"@babel","path":"./node_modules/@babel","groups":[{"label":"runtime","path":"./node_modules/@babel/runtime","groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","groups":[{"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","weight":1277,"time":66,"formattedTime":"66ms","formattedSize":"1.25 KB","isTooLarge":false},{"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","weight":472,"time":66,"formattedTime":"66ms","formattedSize":"472 B","isTooLarge":false},{"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","weight":177,"time":73,"formattedTime":"73ms","formattedSize":"177 B","isTooLarge":false},{"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","weight":446,"time":71,"formattedTime":"71ms","formattedSize":"446 B","isTooLarge":false},{"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","weight":489,"time":70,"formattedTime":"70ms","formattedSize":"489 B","isTooLarge":false},{"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","weight":240,"time":54,"formattedTime":"54ms","formattedSize":"240 B","isTooLarge":false},{"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","weight":308,"time":70,"formattedTime":"70ms","formattedSize":"308 B","isTooLarge":false},{"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","weight":448,"time":69,"formattedTime":"69ms","formattedSize":"448 B","isTooLarge":false},{"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","weight":357,"time":68,"formattedTime":"68ms","formattedSize":"357 B","isTooLarge":false},{"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","weight":427,"time":68,"formattedTime":"68ms","formattedSize":"427 B","isTooLarge":false},{"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","weight":309,"time":70,"formattedTime":"70ms","formattedSize":"309 B","isTooLarge":false},{"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","weight":480,"time":67,"formattedTime":"67ms","formattedSize":"480 B","isTooLarge":false},{"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","weight":533,"time":70,"formattedTime":"70ms","formattedSize":"533 B","isTooLarge":false},{"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","weight":257,"time":70,"formattedTime":"70ms","formattedSize":"257 B","isTooLarge":false},{"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","weight":346,"time":67,"formattedTime":"67ms","formattedSize":"346 B","isTooLarge":false},{"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","weight":900,"time":67,"formattedTime":"67ms","formattedSize":"900 B","isTooLarge":false},{"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","weight":210,"time":69,"formattedTime":"69ms","formattedSize":"210 B","isTooLarge":false},{"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","weight":637,"time":54,"formattedTime":"54ms","formattedSize":"637 B","isTooLarge":false},{"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","weight":387,"time":54,"formattedTime":"54ms","formattedSize":"387 B","isTooLarge":false},{"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","weight":228,"time":83,"formattedTime":"83ms","formattedSize":"228 B","isTooLarge":false},{"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","weight":468,"time":37,"formattedTime":"37ms","formattedSize":"468 B","isTooLarge":false},{"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","weight":268,"time":12,"formattedTime":"12ms","formattedSize":"268 B","isTooLarge":false},{"label":"toArray.js","path":"./node_modules/@babel/runtime/helpers/toArray.js","weight":456,"time":1,"formattedTime":"1ms","formattedSize":"456 B","isTooLarge":false},{"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","weight":248,"time":0,"formattedTime":"0ms","formattedSize":"248 B","isTooLarge":false}],"weight":10368,"formattedTime":"1.40s","formattedSize":"10.13 KB"},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","groups":[{"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","weight":124,"time":78,"formattedTime":"78ms","formattedSize":"124 B","isTooLarge":false}],"weight":124,"formattedTime":"78ms","formattedSize":"124 B"}],"weight":10492,"formattedTime":"1.47s","formattedSize":"10.25 KB"}],"weight":10492,"formattedTime":"1.47s","formattedSize":"10.25 KB"},{"label":"regenerator-runtime","path":"./node_modules/regenerator-runtime","groups":[{"label":"runtime.js","path":"./node_modules/regenerator-runtime/runtime.js","weight":6564,"time":28,"formattedTime":"28ms","formattedSize":"6.41 KB","isTooLarge":false}],"weight":6564,"formattedTime":"28ms","formattedSize":"6.41 KB"},{"label":"@petamoriken","path":"./node_modules/@petamoriken","groups":[{"label":"float16","path":"./node_modules/@petamoriken/float16","groups":[{"label":"src","path":"./node_modules/@petamoriken/float16/src","groups":[{"label":"index.mjs","path":"./node_modules/@petamoriken/float16/src/index.mjs","weight":769,"time":66,"formattedTime":"66ms","formattedSize":"769 B","isTooLarge":false},{"label":"hfround.mjs","path":"./node_modules/@petamoriken/float16/src/hfround.mjs","weight":422,"time":1552,"formattedTime":"1.55s","formattedSize":"422 B","isTooLarge":false},{"label":"helper","path":"./node_modules/@petamoriken/float16/src/helper","groups":[{"label":"converter.mjs","path":"./node_modules/@petamoriken/float16/src/helper/converter.mjs","weight":1198,"time":17,"formattedTime":"17ms","formattedSize":"1.17 KB","isTooLarge":false},{"label":"arrayIterator.mjs","path":"./node_modules/@petamoriken/float16/src/helper/arrayIterator.mjs","weight":541,"time":17,"formattedTime":"17ms","formattedSize":"541 B","isTooLarge":false},{"label":"private.mjs","path":"./node_modules/@petamoriken/float16/src/helper/private.mjs","weight":282,"time":17,"formattedTime":"17ms","formattedSize":"282 B","isTooLarge":false},{"label":"is.mjs","path":"./node_modules/@petamoriken/float16/src/helper/is.mjs","weight":1381,"time":17,"formattedTime":"17ms","formattedSize":"1.35 KB","isTooLarge":false},{"label":"spec.mjs","path":"./node_modules/@petamoriken/float16/src/helper/spec.mjs","weight":1095,"time":16,"formattedTime":"16ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":4497,"formattedTime":"84ms","formattedSize":"4.39 KB"},{"label":"Float16Array.mjs","path":"./node_modules/@petamoriken/float16/src/Float16Array.mjs","weight":8821,"time":1552,"formattedTime":"1.55s","formattedSize":"8.61 KB","isTooLarge":false},{"label":"DataView.mjs","path":"./node_modules/@petamoriken/float16/src/DataView.mjs","weight":634,"time":1552,"formattedTime":"1.55s","formattedSize":"634 B","isTooLarge":false}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"}],"weight":15143,"formattedTime":"4.81s","formattedSize":"14.79 KB"},{"label":"xml-utils","path":"./node_modules/xml-utils","groups":[{"label":"get-attribute.js","path":"./node_modules/xml-utils/get-attribute.js","weight":307,"time":67,"formattedTime":"67ms","formattedSize":"307 B","isTooLarge":false},{"label":"find-tags-by-name.js","path":"./node_modules/xml-utils/find-tags-by-name.js","weight":331,"time":67,"formattedTime":"67ms","formattedSize":"331 B","isTooLarge":false},{"label":"find-tag-by-name.js","path":"./node_modules/xml-utils/find-tag-by-name.js","weight":615,"time":1552,"formattedTime":"1.55s","formattedSize":"615 B","isTooLarge":false},{"label":"index-of-match.js","path":"./node_modules/xml-utils/index-of-match.js","weight":146,"time":16,"formattedTime":"16ms","formattedSize":"146 B","isTooLarge":false}],"weight":1399,"formattedTime":"1.70s","formattedSize":"1.37 KB"},{"label":"parcel-bundler","path":"./node_modules/parcel-bundler","groups":[{"label":"src","path":"./node_modules/parcel-bundler/src","groups":[{"label":"builtins","path":"./node_modules/parcel-bundler/src/builtins","groups":[{"label":"bundle-loader.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-loader.js","weight":1071,"time":73,"formattedTime":"73ms","formattedSize":"1.05 KB","isTooLarge":false},{"label":"bundle-url.js","path":"./node_modules/parcel-bundler/src/builtins/bundle-url.js","weight":426,"time":1551,"formattedTime":"1.55s","formattedSize":"426 B","isTooLarge":false},{"label":"_empty.js","path":"./node_modules/parcel-bundler/src/builtins/_empty.js","weight":50,"time":71,"formattedTime":"71ms","formattedSize":"50 B","isTooLarge":false},{"label":"loaders","path":"./node_modules/parcel-bundler/src/builtins/loaders","groups":[{"label":"browser","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser","groups":[{"label":"js-loader.js","path":"./node_modules/parcel-bundler/src/builtins/loaders/browser/js-loader.js","weight":0.1,"time":1,"formattedTime":"1ms","formattedSize":"0 B","isTooLarge":false}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":0.1,"formattedTime":"1ms","formattedSize":"0 B"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"}],"weight":1547.1,"formattedTime":"1.70s","formattedSize":"1.51 KB"},{"label":"pako","path":"./node_modules/pako","groups":[{"label":"dist","path":"./node_modules/pako/dist","groups":[{"label":"pako.esm.mjs","path":"./node_modules/pako/dist/pako.esm.mjs","weight":45494,"time":132,"formattedTime":"132ms","formattedSize":"44.43 KB","isTooLarge":false}],"weight":45494,"formattedTime":"132ms","formattedSize":"44.43 KB"}],"weight":45494,"formattedTime":"132ms","formattedSize":"44.43 KB"},{"label":"lru-cache","path":"./node_modules/lru-cache","groups":[{"label":"index.js","path":"./node_modules/lru-cache/index.js","weight":4537,"time":2,"formattedTime":"2ms","formattedSize":"4.43 KB","isTooLarge":false}],"weight":4537,"formattedTime":"2ms","formattedSize":"4.43 KB"},{"label":"yallist","path":"./node_modules/yallist","groups":[{"label":"yallist.js","path":"./node_modules/yallist/yallist.js","weight":4707,"time":13,"formattedTime":"13ms","formattedSize":"4.6 KB","isTooLarge":false},{"label":"iterator.js","path":"./node_modules/yallist/iterator.js","weight":178,"time":4,"formattedTime":"4ms","formattedSize":"178 B","isTooLarge":false}],"weight":4885,"formattedTime":"17ms","formattedSize":"4.77 KB"},{"label":"buffer","path":"./node_modules/buffer","groups":[{"label":"index.js","path":"./node_modules/buffer/index.js","weight":20010,"time":40,"formattedTime":"40ms","formattedSize":"19.54 KB","isTooLarge":false}],"weight":20010,"formattedTime":"40ms","formattedSize":"19.54 KB"},{"label":"base64-js","path":"./node_modules/base64-js","groups":[{"label":"index.js","path":"./node_modules/base64-js/index.js","weight":1490,"time":11,"formattedTime":"11ms","formattedSize":"1.46 KB","isTooLarge":false}],"weight":1490,"formattedTime":"11ms","formattedSize":"1.46 KB"},{"label":"ieee754","path":"./node_modules/ieee754","groups":[{"label":"index.js","path":"./node_modules/ieee754/index.js","weight":929,"time":11,"formattedTime":"11ms","formattedSize":"929 B","isTooLarge":false}],"weight":929,"formattedTime":"11ms","formattedSize":"929 B"},{"label":"isarray","path":"./node_modules/isarray","groups":[{"label":"index.js","path":"./node_modules/isarray/index.js","weight":145,"time":11,"formattedTime":"11ms","formattedSize":"145 B","isTooLarge":false}],"weight":145,"formattedTime":"11ms","formattedSize":"145 B"}],"weight":112635.1,"formattedTime":"9.93s","formattedSize":"110 KB"}]},{"label":"raw.ab19b9fe.js","path":"./dist-browser/raw.ab19b9fe.js","weight":2523,"formattedSize":"2.46 KB","formattedGzipSize":"1.05 KB","formattedTime":"3.14s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"raw.js","path":"./dist-module/compression/raw.js","weight":2463,"time":2980,"formattedTime":"2.98s","formattedSize":"2.41 KB","isTooLarge":false}],"weight":2463,"formattedTime":"2.98s","formattedSize":"2.41 KB"}],"weight":2463,"formattedTime":"2.98s","formattedSize":"2.41 KB"}]},{"label":"raw.ab19b9fe.js.map","path":"./dist-browser/raw.ab19b9fe.js.map","weight":1376,"formattedSize":"1.34 KB","formattedGzipSize":"458 B","formattedTime":"118ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"raw.js","path":"./dist-module/compression/raw.js","weight":2463,"time":2980,"formattedTime":"2.98s","formattedSize":"2.41 KB","isTooLarge":false}],"weight":2463,"formattedTime":"2.98s","formattedSize":"2.41 KB"}],"weight":2463,"formattedTime":"2.98s","formattedSize":"2.41 KB"}]},{"label":"lzw.a748100b.js","path":"./dist-browser/lzw.a748100b.js","weight":3805,"formattedSize":"3.72 KB","formattedGzipSize":"1.65 KB","formattedTime":"3.42s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lzw.js","path":"./dist-module/compression/lzw.js","weight":3745,"time":3256,"formattedTime":"3.26s","formattedSize":"3.66 KB","isTooLarge":false}],"weight":3745,"formattedTime":"3.26s","formattedSize":"3.66 KB"}],"weight":3745,"formattedTime":"3.26s","formattedSize":"3.66 KB"}]},{"label":"lzw.a748100b.js.map","path":"./dist-browser/lzw.a748100b.js.map","weight":7553,"formattedSize":"7.38 KB","formattedGzipSize":"2.53 KB","formattedTime":"117ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lzw.js","path":"./dist-module/compression/lzw.js","weight":3745,"time":3256,"formattedTime":"3.26s","formattedSize":"3.66 KB","isTooLarge":false}],"weight":3745,"formattedTime":"3.26s","formattedSize":"3.66 KB"}],"weight":3745,"formattedTime":"3.26s","formattedSize":"3.66 KB"}]},{"label":"jpeg.7ffadf30.js","path":"./dist-browser/jpeg.7ffadf30.js","weight":11216,"formattedSize":"10.95 KB","formattedGzipSize":"4.57 KB","formattedTime":"4.99s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"jpeg.js","path":"./dist-module/compression/jpeg.js","weight":11155,"time":4827,"formattedTime":"4.83s","formattedSize":"10.89 KB","isTooLarge":false}],"weight":11155,"formattedTime":"4.83s","formattedSize":"10.89 KB"}],"weight":11155,"formattedTime":"4.83s","formattedSize":"10.89 KB"}]},{"label":"jpeg.7ffadf30.js.map","path":"./dist-browser/jpeg.7ffadf30.js.map","weight":46406,"formattedSize":"45.32 KB","formattedGzipSize":"12.52 KB","formattedTime":"117ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"jpeg.js","path":"./dist-module/compression/jpeg.js","weight":11155,"time":4827,"formattedTime":"4.83s","formattedSize":"10.89 KB","isTooLarge":false}],"weight":11155,"formattedTime":"4.83s","formattedSize":"10.89 KB"}],"weight":11155,"formattedTime":"4.83s","formattedSize":"10.89 KB"}]},{"label":"deflate.0f5089c6.js","path":"./dist-browser/deflate.0f5089c6.js","weight":2596,"formattedSize":"2.54 KB","formattedGzipSize":"1.09 KB","formattedTime":"4.99s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"deflate.js","path":"./dist-module/compression/deflate.js","weight":2532,"time":4827,"formattedTime":"4.83s","formattedSize":"2.47 KB","isTooLarge":false}],"weight":2532,"formattedTime":"4.83s","formattedSize":"2.47 KB"}],"weight":2532,"formattedTime":"4.83s","formattedSize":"2.47 KB"}]},{"label":"deflate.0f5089c6.js.map","path":"./dist-browser/deflate.0f5089c6.js.map","weight":1515,"formattedSize":"1.48 KB","formattedGzipSize":"521 B","formattedTime":"118ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"deflate.js","path":"./dist-module/compression/deflate.js","weight":2532,"time":4827,"formattedTime":"4.83s","formattedSize":"2.47 KB","isTooLarge":false}],"weight":2532,"formattedTime":"4.83s","formattedSize":"2.47 KB"}],"weight":2532,"formattedTime":"4.83s","formattedSize":"2.47 KB"}]},{"label":"packbits.7d38a482.js","path":"./dist-browser/packbits.7d38a482.js","weight":2756,"formattedSize":"2.69 KB","formattedGzipSize":"1.17 KB","formattedTime":"3.73s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"packbits.js","path":"./dist-module/compression/packbits.js","weight":2691,"time":3566,"formattedTime":"3.57s","formattedSize":"2.63 KB","isTooLarge":false}],"weight":2691,"formattedTime":"3.57s","formattedSize":"2.63 KB"}],"weight":2691,"formattedTime":"3.57s","formattedSize":"2.63 KB"}]},{"label":"packbits.7d38a482.js.map","path":"./dist-browser/packbits.7d38a482.js.map","weight":2423,"formattedSize":"2.37 KB","formattedGzipSize":"842 B","formattedTime":"118ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"packbits.js","path":"./dist-module/compression/packbits.js","weight":2691,"time":3566,"formattedTime":"3.57s","formattedSize":"2.63 KB","isTooLarge":false}],"weight":2691,"formattedTime":"3.57s","formattedSize":"2.63 KB"}],"weight":2691,"formattedTime":"3.57s","formattedSize":"2.63 KB"}]},{"label":"lerc.caec27d4.js","path":"./dist-browser/lerc.caec27d4.js","weight":26019,"formattedSize":"25.41 KB","formattedGzipSize":"8.59 KB","formattedTime":"3.71s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lerc.js","path":"./dist-module/compression/lerc.js","weight":2121,"time":3436,"formattedTime":"3.44s","formattedSize":"2.07 KB","isTooLarge":false}],"weight":2121,"formattedTime":"3.44s","formattedSize":"2.07 KB"}],"weight":2121,"formattedTime":"3.44s","formattedSize":"2.07 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"lerc","path":"./node_modules/lerc","groups":[{"label":"LercDecode.js","path":"./node_modules/lerc/LercDecode.js","weight":23837,"time":113,"formattedTime":"113ms","formattedSize":"23.28 KB","isTooLarge":false}],"weight":23837,"formattedTime":"113ms","formattedSize":"23.28 KB"}],"weight":23837,"formattedTime":"113ms","formattedSize":"23.28 KB"}]},{"label":"lerc.caec27d4.js.map","path":"./dist-browser/lerc.caec27d4.js.map","weight":123056,"formattedSize":"120.17 KB","formattedGzipSize":"21.32 KB","formattedTime":"117ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"lerc.js","path":"./dist-module/compression/lerc.js","weight":2121,"time":3436,"formattedTime":"3.44s","formattedSize":"2.07 KB","isTooLarge":false}],"weight":2121,"formattedTime":"3.44s","formattedSize":"2.07 KB"}],"weight":2121,"formattedTime":"3.44s","formattedSize":"2.07 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"lerc","path":"./node_modules/lerc","groups":[{"label":"LercDecode.js","path":"./node_modules/lerc/LercDecode.js","weight":23837,"time":113,"formattedTime":"113ms","formattedSize":"23.28 KB","isTooLarge":false}],"weight":23837,"formattedTime":"113ms","formattedSize":"23.28 KB"}],"weight":23837,"formattedTime":"113ms","formattedSize":"23.28 KB"}]},{"label":"webimage.25315ce7.js","path":"./dist-browser/webimage.25315ce7.js","weight":3545,"formattedSize":"3.46 KB","formattedGzipSize":"1.41 KB","formattedTime":"5.05s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"webimage.js","path":"./dist-module/compression/webimage.js","weight":3480,"time":4902,"formattedTime":"4.90s","formattedSize":"3.4 KB","isTooLarge":false}],"weight":3480,"formattedTime":"4.90s","formattedSize":"3.4 KB"}],"weight":3480,"formattedTime":"4.90s","formattedSize":"3.4 KB"}]},{"label":"webimage.25315ce7.js.map","path":"./dist-browser/webimage.25315ce7.js.map","weight":3621,"formattedSize":"3.54 KB","formattedGzipSize":"1.31 KB","formattedTime":"118ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"compression","path":"./dist-module/compression","groups":[{"label":"webimage.js","path":"./dist-module/compression/webimage.js","weight":3480,"time":4902,"formattedTime":"4.90s","formattedSize":"3.4 KB","isTooLarge":false}],"weight":3480,"formattedTime":"4.90s","formattedSize":"3.4 KB"}],"weight":3480,"formattedTime":"4.90s","formattedSize":"3.4 KB"}]},{"label":"decoder.3dba31e0.js","path":"./dist-browser/decoder.3dba31e0.js","weight":76724,"formattedSize":"74.93 KB","formattedGzipSize":"25.06 KB","formattedTime":"4.64s","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"worker","path":"./dist-module/worker","groups":[{"label":"decoder.js","path":"./dist-module/worker/decoder.js","weight":75565,"time":4488,"formattedTime":"4.49s","formattedSize":"73.79 KB","isTooLarge":false}],"weight":75565,"formattedTime":"4.49s","formattedSize":"73.79 KB"}],"weight":75565,"formattedTime":"4.49s","formattedSize":"73.79 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"web-worker","path":"./node_modules/web-worker","groups":[{"label":"cjs","path":"./node_modules/web-worker/cjs","groups":[{"label":"browser.js","path":"./node_modules/web-worker/cjs/browser.js","weight":1095,"time":0,"formattedTime":"0ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}]},{"label":"decoder.3dba31e0.js.map","path":"./dist-browser/decoder.3dba31e0.js.map","weight":79198,"formattedSize":"77.34 KB","formattedGzipSize":"25.37 KB","formattedTime":"117ms","isTooLarge":false,"groups":[{"label":"dist-module","path":"./dist-module","groups":[{"label":"worker","path":"./dist-module/worker","groups":[{"label":"decoder.js","path":"./dist-module/worker/decoder.js","weight":75565,"time":4488,"formattedTime":"4.49s","formattedSize":"73.79 KB","isTooLarge":false}],"weight":75565,"formattedTime":"4.49s","formattedSize":"73.79 KB"}],"weight":75565,"formattedTime":"4.49s","formattedSize":"73.79 KB"},{"label":"node_modules","path":"./node_modules","groups":[{"label":"web-worker","path":"./node_modules/web-worker","groups":[{"label":"cjs","path":"./node_modules/web-worker/cjs","groups":[{"label":"browser.js","path":"./node_modules/web-worker/cjs/browser.js","weight":1095,"time":0,"formattedTime":"0ms","formattedSize":"1.07 KB","isTooLarge":false}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}],"weight":1095,"formattedTime":"0ms","formattedSize":"1.07 KB"}]}]};
46
46
  </script>
47
47
  <script>/* eslint-disable */
48
48
  /**
@@ -178,6 +178,7 @@ import { getDecoder } from "./compression/index.js";
178
178
  import { addDecoder } from "./compression/index.js";
179
179
  import { setLogger } from "./logging.js";
180
180
  import Pool from "./pool.js";
181
+ import GeoTIFFImage from "./geotiffimage.js";
181
182
  declare class GeoTIFFBase {
182
183
  /**
183
184
  * (experimental) Reads raster data from the best fitting image. This function uses
@@ -204,6 +205,5 @@ declare class ImageFileDirectory {
204
205
  geoKeyDirectory: any;
205
206
  nextIFDByteOffset: any;
206
207
  }
207
- import GeoTIFFImage from "./geotiffimage.js";
208
- export { globals, rgb, getDecoder, addDecoder, setLogger, Pool };
208
+ export { globals, rgb, getDecoder, addDecoder, setLogger, Pool, GeoTIFFImage };
209
209
  //# sourceMappingURL=geotiff.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geotiff.d.ts","sourceRoot":"","sources":["../src/geotiff.js"],"names":[],"mappings":"AAuoBA;;;;;;;;GAQG;AACH,6BAPW,MAAM,YACN,MAAM,qCAIJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;GAOG;AACH,6CALW,WAAW,qCAGT,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;;GAWG;AACH,+BALW,MAAM,qCAGJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;GASG;AACH,+BALW,IAAI,OAAK,qCAGP,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;GAUG;AACH,kCATW,MAAM,iBACN,MAAM,EAAE,oDAMN,QAAQ,YAAY,CAAC,CASjC;AAED;;;;GAIG;AACH,kEAEC;;yBAjsBY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY;;;;;;;AA+PvH;;;GAGG;AAEH;;;GAGG;AACH;IA+NE;;;;;;;OAOG;IACH,yHAgCC;IAtQD;;;;;;;;OAQG;IACH,uCANW,OAAO,WACP,OAAO,kBACP,MAAM,wCAahB;IAPC,YAAoB;IACpB,sBAAgC;IAChC,iBAAsB;IACtB,uBAAoC;IACpC,eAAmC;IACnC,mBAAqB;IACrB,uBAAuB;IAGzB,qDAWC;IAED;;;;;;;OAOG;IACH,6BAHW,MAAM,GACJ,QAAQ,kBAAkB,CAAC,CA0EvC;IAED,qCAkCC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAQjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAmB3B;IAED;;;;OAIG;IACH,kBAFa,YAAe,CA4B3B;IA4CD;;;;OAIG;IACH,aAKC;CACF;AAKD;;;GAGG;AACH;IACE;;;;OAIG;IACH,sBAHW,OAAO,iBACP,OAAO,EAAE,EAWnB;IAPC,kBAAwB;IACxB,yBAAkC;IAClC,sBAAkD;IAElD,oDAAkC;IAClC,mCAAyC;IACzC,0BAAsB;IAGxB,6DAMC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAwBjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAW3B;IAHC,kCAA8C;CAIjD;;;;;;;AAvdD;IACE;;;;;;;;;;;OAWG;IACH,kFAFa,QAAQ,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CA6F9C;CACF;;AAhID;;;GAGG;AACH;IACE,8EAIC;IAHC,mBAAkC;IAClC,qBAAsC;IACtC,uBAA0C;CAE7C"}
1
+ {"version":3,"file":"geotiff.d.ts","sourceRoot":"","sources":["../src/geotiff.js"],"names":[],"mappings":"AAuoBA;;;;;;;;GAQG;AACH,6BAPW,MAAM,YACN,MAAM,qCAIJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;GAOG;AACH,6CALW,WAAW,qCAGT,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;;GAWG;AACH,+BALW,MAAM,qCAGJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;GASG;AACH,+BALW,IAAI,OAAK,qCAGP,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;GAUG;AACH,kCATW,MAAM,iBACN,MAAM,EAAE,oDAMN,QAAQ,YAAY,CAAC,CASjC;AAED;;;;GAIG;AACH,kEAEC;;yBAjsBY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY;;;;;;;AA+PvH;;;GAGG;AAEH;;;GAGG;AACH;IA+NE;;;;;;;OAOG;IACH,yHAgCC;IAtQD;;;;;;;;OAQG;IACH,uCANW,OAAO,WACP,OAAO,kBACP,MAAM,wCAahB;IAPC,YAAoB;IACpB,sBAAgC;IAChC,iBAAsB;IACtB,uBAAoC;IACpC,eAAmC;IACnC,mBAAqB;IACrB,uBAAuB;IAGzB,qDAWC;IAED;;;;;;;OAOG;IACH,6BAHW,MAAM,GACJ,QAAQ,kBAAkB,CAAC,CA0EvC;IAED,qCAkCC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAQjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAmB3B;IAED;;;;OAIG;IACH,kBAFa,YAAe,CA4B3B;IA4CD;;;;OAIG;IACH,aAKC;CACF;AAKD;;;GAGG;AACH;IACE;;;;OAIG;IACH,sBAHW,OAAO,iBACP,OAAO,EAAE,EAWnB;IAPC,kBAAwB;IACxB,yBAAkC;IAClC,sBAAkD;IAElD,oDAAkC;IAClC,mCAAyC;IACzC,0BAAsB;IAGxB,6DAMC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAwBjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAW3B;IAHC,kCAA8C;CAIjD;;;;;;;;AAvdD;IACE;;;;;;;;;;;OAWG;IACH,kFAFa,QAAQ,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CA6F9C;CACF;;AAhID;;;GAGG;AACH;IACE,8EAIC;IAHC,mBAAkC;IAClC,qBAAsC;IACtC,uBAA0C;CAE7C"}
@@ -730,3 +730,4 @@ export function writeArrayBuffer(values, metadata) {
730
730
  }
731
731
 
732
732
  export { Pool };
733
+ export { GeoTIFFImage };
@@ -50,6 +50,7 @@ export type ReadRasterOptions = {
50
50
  */
51
51
  fillValue?: number | number[] | undefined;
52
52
  };
53
+ export type TypedArray = import("./geotiff.js").TypedArray;
53
54
  /**
54
55
  * GeoTIFF sub-file image.
55
56
  */
@@ -179,7 +180,7 @@ declare class GeoTIFFImage {
179
180
  * @param {boolean} [options.enableAlpha=false] Enable reading alpha channel if present.
180
181
  * @param {AbortSignal} [options.signal] An AbortSignal that may be signalled if the request is
181
182
  * to be aborted
182
- * @returns {Promise.<import("./geotiff").TypedArray|import("./geotiff").TypedArray[]>} the RGB array as a Promise
183
+ * @returns {Promise<TypedArray|TypedArray[]>} the RGB array as a Promise
183
184
  */
184
185
  readRGB({ window, interleave, pool, width, height, resampleMethod, enableAlpha, signal }?: {
185
186
  window?: number[] | undefined;
@@ -190,7 +191,7 @@ declare class GeoTIFFImage {
190
191
  resampleMethod?: string | undefined;
191
192
  enableAlpha?: boolean | undefined;
192
193
  signal?: AbortSignal | undefined;
193
- } | undefined): Promise<import("./geotiff").TypedArray | import("./geotiff").TypedArray[]>;
194
+ } | undefined): Promise<TypedArray | TypedArray[]>;
194
195
  /**
195
196
  * Returns an array of tiepoints.
196
197
  * @returns {Object[]}
@@ -1 +1 @@
1
- {"version":3,"file":"geotiffimage.d.ts","sourceRoot":"","sources":["../src/geotiffimage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyKA;;GAEG;AACH;IACE;;;;;;;;OAQG;IACH,wDALW,QAAQ,yDAmBlB;IAbC,mBAAkC;IAClC,aAAsB;IACtB,mBAAwB;IACxB,sBAAgC;IAChC,iBAA8B;IAC9B,iBAA0C;IAE1C,yBAAiG;IAKjG,eAAoB;IAGtB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,kBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,6BAGC;IAED;;;OAGG;IACH,uBAEC;IAED;;;OAGG;IACH,wBAQC;IAED,wBAEC;IAED,+BAMC;IAED;;;;OAIG;IACH,2BAMC;IAED,kCAKC;IAED,yGAyCC;IAED,2CAGC;IAED,4CAEC;IAED,2JAIC;IAED;;;;;;;;;OASG;IACH,oEALW,OAAO,WAAW,EAAE,IAAI,kBAAgB,qCAGtC,QAAS,WAAW,CAAC,CAwDjC;IAED;;;;;;;;;;;;;;OAcG;IACH,oBAkHC;IAED;;;;;;;;OAQG;IACH,4IAFa,QAAS,CAAC,aAAW,YAAY,CAAC,CAAC,CAyD/C;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH;;;;;;;;;oBAFa,QAAS,OAAO,WAAW,EAAE,UAAU,GAAC,OAAO,WAAW,EAAE,UAAU,EAAE,CAAC,CA0GrF;IAED;;;OAGG;IACH,gBAFa,KAAQ,CAmBpB;IAED;;;;;;;;OAQG;IACH,kDAoBC;IAED;;;OAGG;IACH,iBAFa,MAAM,GAAC,IAAI,CAQvB;IAED;;;;OAIG;IACH,aAFa,MAAM,MAAM,CAAC,CAoBzB;IAED;;;;;;;OAOG;IACH,0DAFa,MAAM,MAAM,CAAC,CA+BzB;IAED;;;OAGG;IACH,uBAEC;IAED;;;;;OAKG;IACH,kBAFa,MAAM,MAAM,CAAC,CAkBzB;CACF"}
1
+ {"version":3,"file":"geotiffimage.d.ts","sourceRoot":"","sources":["../src/geotiffimage.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAiCc,OAAO,cAAc,EAAE,UAAU;AA0I/C;;GAEG;AACH;IACE;;;;;;;;OAQG;IACH,wDALW,QAAQ,yDAmBlB;IAbC,mBAAkC;IAClC,aAAsB;IACtB,mBAAwB;IACxB,sBAAgC;IAChC,iBAA8B;IAC9B,iBAA0C;IAE1C,yBAAiG;IAKjG,eAAoB;IAGtB;;;OAGG;IACH,wBAEC;IAED;;;OAGG;IACH,kBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,6BAGC;IAED;;;OAGG;IACH,uBAEC;IAED;;;OAGG;IACH,wBAQC;IAED,wBAEC;IAED,+BAMC;IAED;;;;OAIG;IACH,2BAMC;IAED,kCAKC;IAED,yGAyCC;IAED,2CAGC;IAED,4CAEC;IAED,2JAIC;IAED;;;;;;;;;OASG;IACH,oEALW,OAAO,WAAW,EAAE,IAAI,kBAAgB,qCAGtC,QAAS,WAAW,CAAC,CAwDjC;IAED;;;;;;;;;;;;;;OAcG;IACH,oBAkHC;IAED;;;;;;;;OAQG;IACH,4IAFa,QAAS,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CAyD/C;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH;;;;;;;;;oBAFa,QAAQ,UAAU,GAAC,UAAU,EAAE,CAAC,CA0G5C;IAED;;;OAGG;IACH,gBAFa,KAAQ,CAmBpB;IAED;;;;;;;;OAQG;IACH,kDAoBC;IAED;;;OAGG;IACH,iBAFa,MAAM,GAAC,IAAI,CAQvB;IAED;;;;OAIG;IACH,aAFa,MAAM,MAAM,CAAC,CAoBzB;IAED;;;;;;;OAOG;IACH,0DAFa,MAAM,MAAM,CAAC,CA+BzB;IAED;;;OAGG;IACH,uBAEC;IAED;;;;;OAKG;IACH,kBAFa,MAAM,MAAM,CAAC,CAkBzB;CACF"}
@@ -31,6 +31,8 @@ import { resample, resampleInterleaved } from './resample.js';
31
31
  * can be passed.
32
32
  */
33
33
 
34
+ /** @typedef {import("./geotiff.js").TypedArray} TypedArray */
35
+
34
36
  function sum(array, start, end) {
35
37
  let s = 0;
36
38
  for (let i = start; i < end; ++i) {
@@ -634,7 +636,7 @@ class GeoTIFFImage {
634
636
  * @param {boolean} [options.enableAlpha=false] Enable reading alpha channel if present.
635
637
  * @param {AbortSignal} [options.signal] An AbortSignal that may be signalled if the request is
636
638
  * to be aborted
637
- * @returns {Promise.<import("./geotiff").TypedArray|import("./geotiff").TypedArray[]>} the RGB array as a Promise
639
+ * @returns {Promise<TypedArray|TypedArray[]>} the RGB array as a Promise
638
640
  */
639
641
  async readRGB({ window, interleave = true, pool = null, width, height,
640
642
  resampleMethod, enableAlpha = false, signal } = {}) {
@@ -178,6 +178,7 @@ import { getDecoder } from "./compression/index.js";
178
178
  import { addDecoder } from "./compression/index.js";
179
179
  import { setLogger } from "./logging.js";
180
180
  import Pool from "./pool.js";
181
+ import GeoTIFFImage from "./geotiffimage.js";
181
182
  declare class GeoTIFFBase {
182
183
  /**
183
184
  * (experimental) Reads raster data from the best fitting image. This function uses
@@ -204,6 +205,5 @@ declare class ImageFileDirectory {
204
205
  geoKeyDirectory: any;
205
206
  nextIFDByteOffset: any;
206
207
  }
207
- import GeoTIFFImage from "./geotiffimage.js";
208
- export { globals, rgb, getDecoder, addDecoder, setLogger, Pool };
208
+ export { globals, rgb, getDecoder, addDecoder, setLogger, Pool, GeoTIFFImage };
209
209
  //# sourceMappingURL=geotiff.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"geotiff.d.ts","sourceRoot":"","sources":["../src/geotiff.js"],"names":[],"mappings":"AAuoBA;;;;;;;;GAQG;AACH,6BAPW,MAAM,YACN,MAAM,qCAIJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;GAOG;AACH,6CALW,WAAW,qCAGT,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;;GAWG;AACH,+BALW,MAAM,qCAGJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;GASG;AACH,+BALW,IAAI,OAAK,qCAGP,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;GAUG;AACH,kCATW,MAAM,iBACN,MAAM,EAAE,oDAMN,QAAQ,YAAY,CAAC,CASjC;AAED;;;;GAIG;AACH,kEAEC;;yBAjsBY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY;;;;;;;AA+PvH;;;GAGG;AAEH;;;GAGG;AACH;IA+NE;;;;;;;OAOG;IACH,yHAgCC;IAtQD;;;;;;;;OAQG;IACH,uCANW,OAAO,WACP,OAAO,kBACP,MAAM,wCAahB;IAPC,YAAoB;IACpB,sBAAgC;IAChC,iBAAsB;IACtB,uBAAoC;IACpC,eAAmC;IACnC,mBAAqB;IACrB,uBAAuB;IAGzB,qDAWC;IAED;;;;;;;OAOG;IACH,6BAHW,MAAM,GACJ,QAAQ,kBAAkB,CAAC,CA0EvC;IAED,qCAkCC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAQjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAmB3B;IAED;;;;OAIG;IACH,kBAFa,YAAe,CA4B3B;IA4CD;;;;OAIG;IACH,aAKC;CACF;AAKD;;;GAGG;AACH;IACE;;;;OAIG;IACH,sBAHW,OAAO,iBACP,OAAO,EAAE,EAWnB;IAPC,kBAAwB;IACxB,yBAAkC;IAClC,sBAAkD;IAElD,oDAAkC;IAClC,mCAAyC;IACzC,0BAAsB;IAGxB,6DAMC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAwBjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAW3B;IAHC,kCAA8C;CAIjD;;;;;;;AAvdD;IACE;;;;;;;;;;;OAWG;IACH,kFAFa,QAAQ,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CA6F9C;CACF;;AAhID;;;GAGG;AACH;IACE,8EAIC;IAHC,mBAAkC;IAClC,qBAAsC;IACtC,uBAA0C;CAE7C"}
1
+ {"version":3,"file":"geotiff.d.ts","sourceRoot":"","sources":["../src/geotiff.js"],"names":[],"mappings":"AAuoBA;;;;;;;;GAQG;AACH,6BAPW,MAAM,YACN,MAAM,qCAIJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;GAOG;AACH,6CALW,WAAW,qCAGT,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;;GAWG;AACH,+BALW,MAAM,qCAGJ,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;GASG;AACH,+BALW,IAAI,OAAK,qCAGP,QAAQ,OAAO,CAAC,CAI5B;AAED;;;;;;;;;;GAUG;AACH,kCATW,MAAM,iBACN,MAAM,EAAE,oDAMN,QAAQ,YAAY,CAAC,CASjC;AAED;;;;GAIG;AACH,kEAEC;;yBAjsBY,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY;;;;;;;AA+PvH;;;GAGG;AAEH;;;GAGG;AACH;IA+NE;;;;;;;OAOG;IACH,yHAgCC;IAtQD;;;;;;;;OAQG;IACH,uCANW,OAAO,WACP,OAAO,kBACP,MAAM,wCAahB;IAPC,YAAoB;IACpB,sBAAgC;IAChC,iBAAsB;IACtB,uBAAoC;IACpC,eAAmC;IACnC,mBAAqB;IACrB,uBAAuB;IAGzB,qDAWC;IAED;;;;;;;OAOG;IACH,6BAHW,MAAM,GACJ,QAAQ,kBAAkB,CAAC,CA0EvC;IAED,qCAkCC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAQjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAmB3B;IAED;;;;OAIG;IACH,kBAFa,YAAe,CA4B3B;IA4CD;;;;OAIG;IACH,aAKC;CACF;AAKD;;;GAGG;AACH;IACE;;;;OAIG;IACH,sBAHW,OAAO,iBACP,OAAO,EAAE,EAWnB;IAPC,kBAAwB;IACxB,yBAAkC;IAClC,sBAAkD;IAElD,oDAAkC;IAClC,mCAAyC;IACzC,0BAAsB;IAGxB,6DAMC;IAED;;;;;OAKG;IACH,sCAFa,QAAQ,YAAY,CAAC,CAwBjC;IAED;;;;OAIG;IACH,iBAFa,QAAQ,MAAM,CAAC,CAW3B;IAHC,kCAA8C;CAIjD;;;;;;;;AAvdD;IACE;;;;;;;;;;;OAWG;IACH,kFAFa,QAAQ,CAAC,UAAU,GAAC,UAAU,EAAE,CAAC,CAAC,CA6F9C;CACF;;AAhID;;;GAGG;AACH;IACE,8EAIC;IAHC,mBAAkC;IAClC,qBAAsC;IACtC,uBAA0C;CAE7C"}
@@ -47,7 +47,7 @@ var r=require("./bundle-url").getBundleURL;function e(r){Array.isArray(r)||(r=[r
47
47
  },{"./globals.js":"j27V","./utils.js":"FOZT"}],"dy4f":[function(require,module,exports) {
48
48
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setLogger=t,exports.debug=n,exports.log=o,exports.info=u,exports.warn=i,exports.error=s,exports.time=f,exports.timeEnd=c;class e{log(){}debug(){}info(){}warn(){}error(){}time(){}timeEnd(){}}let r=new e;function t(t=new e){r=t}function n(...e){return r.debug(...e)}function o(...e){return r.log(...e)}function u(...e){return r.info(...e)}function i(...e){return r.warn(...e)}function s(...e){return r.error(...e)}function f(...e){return r.time(...e)}function c(...e){return r.timeEnd(...e)}
49
49
  },{}],"bsJs":[function(require,module,exports) {
50
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fromUrl=A,exports.fromArrayBuffer=S,exports.fromFile=x,exports.fromBlob=R,exports.fromUrls=U,exports.writeArrayBuffer=q,Object.defineProperty(exports,"Pool",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"getDecoder",{enumerable:!0,get:function(){return u.getDecoder}}),Object.defineProperty(exports,"addDecoder",{enumerable:!0,get:function(){return u.addDecoder}}),Object.defineProperty(exports,"setLogger",{enumerable:!0,get:function(){return d.setLogger}}),exports.rgb=exports.globals=exports.MultiGeoTIFF=exports.default=exports.GeoTIFF=void 0;var e=y(require("./geotiffimage.js")),t=y(require("./dataview64.js")),r=y(require("./dataslice.js")),i=y(require("./pool.js")),s=require("./source/remote.js"),n=require("./source/arraybuffer.js"),a=require("./source/filereader.js"),o=require("./source/file.js"),l=g(require("./globals.js"));exports.globals=l;var f=require("./geotiffwriter.js"),c=g(require("./rgb.js"));exports.rgb=c;var u=require("./compression/index.js"),d=require("./logging.js");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=s?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(i,n,a):i[n]=e[n]}return i.default=e,r&&r.set(e,i),i}function y(e){return e&&e.__esModule?e:{default:e}}function p(e){switch(e){case l.fieldTypes.BYTE:case l.fieldTypes.ASCII:case l.fieldTypes.SBYTE:case l.fieldTypes.UNDEFINED:return 1;case l.fieldTypes.SHORT:case l.fieldTypes.SSHORT:return 2;case l.fieldTypes.LONG:case l.fieldTypes.SLONG:case l.fieldTypes.FLOAT:case l.fieldTypes.IFD:return 4;case l.fieldTypes.RATIONAL:case l.fieldTypes.SRATIONAL:case l.fieldTypes.DOUBLE:case l.fieldTypes.LONG8:case l.fieldTypes.SLONG8:case l.fieldTypes.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${e}`)}}function w(e){const t=e.GeoKeyDirectory;if(!t)return null;const r={};for(let i=4;i<=4*t[3];i+=4){const s=l.geoKeyNames[t[i]],n=t[i+1]?l.fieldTagNames[t[i+1]]:null,a=t[i+2],o=t[i+3];let f=null;if(n){if(null==(f=e[n]))throw new Error(`Could not get value of geoKey '${s}'.`);"string"==typeof f?f=f.substring(o,o+a-1):f.subarray&&(f=f.subarray(o,o+a),1===a&&(f=f[0]))}else f=o;r[s]=f}return r}function T(e,t,r,i){let s=null,n=null;const a=p(t);switch(t){case l.fieldTypes.BYTE:case l.fieldTypes.ASCII:case l.fieldTypes.UNDEFINED:s=new Uint8Array(r),n=e.readUint8;break;case l.fieldTypes.SBYTE:s=new Int8Array(r),n=e.readInt8;break;case l.fieldTypes.SHORT:s=new Uint16Array(r),n=e.readUint16;break;case l.fieldTypes.SSHORT:s=new Int16Array(r),n=e.readInt16;break;case l.fieldTypes.LONG:case l.fieldTypes.IFD:s=new Uint32Array(r),n=e.readUint32;break;case l.fieldTypes.SLONG:s=new Int32Array(r),n=e.readInt32;break;case l.fieldTypes.LONG8:case l.fieldTypes.IFD8:s=new Array(r),n=e.readUint64;break;case l.fieldTypes.SLONG8:s=new Array(r),n=e.readInt64;break;case l.fieldTypes.RATIONAL:s=new Uint32Array(2*r),n=e.readUint32;break;case l.fieldTypes.SRATIONAL:s=new Int32Array(2*r),n=e.readInt32;break;case l.fieldTypes.FLOAT:s=new Float32Array(r),n=e.readFloat32;break;case l.fieldTypes.DOUBLE:s=new Float64Array(r),n=e.readFloat64;break;default:throw new RangeError(`Invalid field type: ${t}`)}if(t!==l.fieldTypes.RATIONAL&&t!==l.fieldTypes.SRATIONAL)for(let o=0;o<r;++o)s[o]=n.call(e,i+o*a);else for(let o=0;o<r;o+=2)s[o]=n.call(e,i+o*a),s[o+1]=n.call(e,i+(o*a+4));return t===l.fieldTypes.ASCII?new TextDecoder("utf-8").decode(s):s}class m{constructor(e,t,r){this.fileDirectory=e,this.geoKeyDirectory=t,this.nextIFDByteOffset=r}}class I extends Error{constructor(e){super(`No image at index ${e}`),this.index=e}}class b{async readRasters(e={}){const{window:t,width:r,height:i}=e;let{resX:s,resY:n,bbox:a}=e;const o=await this.getImage();let l=o;const f=await this.getImageCount(),c=o.getBoundingBox();if(t&&a)throw new Error('Both "bbox" and "window" passed.');if(r||i){if(t){const[e,r]=o.getOrigin(),[i,s]=o.getResolution();a=[e+t[0]*i,r+t[1]*s,e+t[2]*i,r+t[3]*s]}const e=a||c;if(r){if(s)throw new Error("Both width and resX passed");s=(e[2]-e[0])/r}if(i){if(n)throw new Error("Both width and resY passed");n=(e[3]-e[1])/i}}if(s||n){const e=[];for(let t=0;t<f;++t){const r=await this.getImage(t),{SubfileType:i,NewSubfileType:s}=r.fileDirectory;(0===t||2===i||1&s)&&e.push(r)}e.sort((e,t)=>e.getWidth()-t.getWidth());for(let t=0;t<e.length;++t){const r=e[t],i=(c[2]-c[0])/r.getWidth(),a=(c[3]-c[1])/r.getHeight();if(l=r,s&&s>i||n&&n>a)break}}let u=t;if(a){const[e,t]=o.getOrigin(),[r,i]=l.getResolution(o);u=[Math.round((a[0]-e)/r),Math.round((a[1]-t)/i),Math.round((a[2]-e)/r),Math.round((a[3]-t)/i)],u=[Math.min(u[0],u[2]),Math.min(u[1],u[3]),Math.max(u[0],u[2]),Math.max(u[1],u[3])]}return l.readRasters({...e,window:u})}}class F extends b{constructor(e,t,r,i,s={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=i,this.cache=s.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const i=this.bigTiff?4048:1024;return new r.default((await this.source.fetch([{offset:e,length:void 0!==t?t:i}]))[0],e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let i=await this.getSlice(e);const s=this.bigTiff?i.readUint64(e):i.readUint16(e),n=s*t+(this.bigTiff?16:6);i.covers(e,n)||(i=await this.getSlice(e,n));const a={};let o=e+(this.bigTiff?8:2);for(let u=0;u<s;o+=t,++u){const e=i.readUint16(o),t=i.readUint16(o+2),r=this.bigTiff?i.readUint64(o+4):i.readUint32(o+4);let s,n;const f=p(t),c=o+(this.bigTiff?12:8);if(f*r<=(this.bigTiff?8:4))s=T(i,t,r,c);else{const e=i.readOffset(c),n=p(t)*r;if(i.covers(e,n))s=T(i,t,r,e);else{s=T(await this.getSlice(e,n),t,r,e)}}n=1===r&&-1===l.arrayFields.indexOf(e)&&t!==l.fieldTypes.RATIONAL&&t!==l.fieldTypes.SRATIONAL?s[0]:s,a[l.fieldTagNames[e]]=n}const f=w(a),c=i.readOffset(e+r+t*s);return new m(a,f,c)}async requestIFD(e){if(this.ifdRequests[e])return this.ifdRequests[e];if(0===e)return this.ifdRequests[e]=this.parseFileDirectoryAt(this.firstIFDOffset),this.ifdRequests[e];if(!this.ifdRequests[e-1])try{this.ifdRequests[e-1]=this.requestIFD(e-1)}catch(t){if(t instanceof I)throw new I(e);throw t}return this.ifdRequests[e]=(async()=>{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new I(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(t=0){const r=await this.requestIFD(t);return new e.default(r.fileDirectory,r.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(r){if(!(r instanceof I))throw r;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let i=await this.getSlice(e,r);if(t===T(i,l.fieldTypes.ASCII,t.length,e)){const t=T(i,l.fieldTypes.ASCII,r,e).split("\n")[0],s=Number(t.split("=")[1].split(" ")[0])+t.length;s>r&&(i=await this.getSlice(e,s));const n=T(i,l.fieldTypes.ASCII,s,e);this.ghostValues={},n.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,r,i){const s=(await e.fetch([{offset:0,length:1024}],i))[0],n=new t.default(s),a=n.getUint16(0,0);let o;if(18761===a)o=!0;else{if(19789!==a)throw new TypeError("Invalid byte order value.");o=!1}const l=n.getUint16(2,o);let f;if(42===l)f=!1;else{if(43!==l)throw new TypeError("Invalid magic number.");if(f=!0,8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const c=f?n.getUint64(8,o):n.getUint32(4,o);return new F(e,o,f,c,r)}close(){return"function"==typeof this.source.close&&this.source.close()}}exports.GeoTIFF=F;var D=F;exports.default=D;class O extends b{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(t=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let r=0,i=0;for(let s=0;s<this.imageFiles.length;s++){const n=this.imageFiles[s];for(let a=0;a<this.imageCounts[s];a++){if(t===r){const t=await n.requestIFD(i);return new e.default(t.fileDirectory,t.geoKeyDirectory,n.dataView,n.littleEndian,n.cache,n.source)}r++,i++}i=0}throw new RangeError("Invalid image index")}async getImageCount(){if(null!==this.imageCount)return this.imageCount;const e=[this.mainFile.getImageCount()].concat(this.overviewFiles.map(e=>e.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function A(e,t={},r){return F.fromSource((0,s.makeRemoteSource)(e,t),r)}async function S(e,t){return F.fromSource((0,n.makeBufferSource)(e),t)}async function x(e,t){return F.fromSource((0,o.makeFileSource)(e),t)}async function R(e,t){return F.fromSource((0,a.makeFileReaderSource)(e),t)}async function U(e,t=[],r={},i){const n=await F.fromSource((0,s.makeRemoteSource)(e,r),i),a=await Promise.all(t.map(e=>F.fromSource((0,s.makeRemoteSource)(e,r))));return new O(n,a)}function q(e,t){return(0,f.writeGeotiff)(e,t)}exports.MultiGeoTIFF=O;
50
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.fromUrl=A,exports.fromArrayBuffer=S,exports.fromFile=x,exports.fromBlob=R,exports.fromUrls=U,exports.writeArrayBuffer=q,Object.defineProperty(exports,"GeoTIFFImage",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"Pool",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"getDecoder",{enumerable:!0,get:function(){return u.getDecoder}}),Object.defineProperty(exports,"addDecoder",{enumerable:!0,get:function(){return u.addDecoder}}),Object.defineProperty(exports,"setLogger",{enumerable:!0,get:function(){return d.setLogger}}),exports.rgb=exports.globals=exports.MultiGeoTIFF=exports.default=exports.GeoTIFF=void 0;var e=y(require("./geotiffimage.js")),t=y(require("./dataview64.js")),r=y(require("./dataslice.js")),i=y(require("./pool.js")),s=require("./source/remote.js"),n=require("./source/arraybuffer.js"),a=require("./source/filereader.js"),o=require("./source/file.js"),f=g(require("./globals.js"));exports.globals=f;var l=require("./geotiffwriter.js"),c=g(require("./rgb.js"));exports.rgb=c;var u=require("./compression/index.js"),d=require("./logging.js");function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=s?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(i,n,a):i[n]=e[n]}return i.default=e,r&&r.set(e,i),i}function y(e){return e&&e.__esModule?e:{default:e}}function p(e){switch(e){case f.fieldTypes.BYTE:case f.fieldTypes.ASCII:case f.fieldTypes.SBYTE:case f.fieldTypes.UNDEFINED:return 1;case f.fieldTypes.SHORT:case f.fieldTypes.SSHORT:return 2;case f.fieldTypes.LONG:case f.fieldTypes.SLONG:case f.fieldTypes.FLOAT:case f.fieldTypes.IFD:return 4;case f.fieldTypes.RATIONAL:case f.fieldTypes.SRATIONAL:case f.fieldTypes.DOUBLE:case f.fieldTypes.LONG8:case f.fieldTypes.SLONG8:case f.fieldTypes.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${e}`)}}function w(e){const t=e.GeoKeyDirectory;if(!t)return null;const r={};for(let i=4;i<=4*t[3];i+=4){const s=f.geoKeyNames[t[i]],n=t[i+1]?f.fieldTagNames[t[i+1]]:null,a=t[i+2],o=t[i+3];let l=null;if(n){if(null==(l=e[n]))throw new Error(`Could not get value of geoKey '${s}'.`);"string"==typeof l?l=l.substring(o,o+a-1):l.subarray&&(l=l.subarray(o,o+a),1===a&&(l=l[0]))}else l=o;r[s]=l}return r}function T(e,t,r,i){let s=null,n=null;const a=p(t);switch(t){case f.fieldTypes.BYTE:case f.fieldTypes.ASCII:case f.fieldTypes.UNDEFINED:s=new Uint8Array(r),n=e.readUint8;break;case f.fieldTypes.SBYTE:s=new Int8Array(r),n=e.readInt8;break;case f.fieldTypes.SHORT:s=new Uint16Array(r),n=e.readUint16;break;case f.fieldTypes.SSHORT:s=new Int16Array(r),n=e.readInt16;break;case f.fieldTypes.LONG:case f.fieldTypes.IFD:s=new Uint32Array(r),n=e.readUint32;break;case f.fieldTypes.SLONG:s=new Int32Array(r),n=e.readInt32;break;case f.fieldTypes.LONG8:case f.fieldTypes.IFD8:s=new Array(r),n=e.readUint64;break;case f.fieldTypes.SLONG8:s=new Array(r),n=e.readInt64;break;case f.fieldTypes.RATIONAL:s=new Uint32Array(2*r),n=e.readUint32;break;case f.fieldTypes.SRATIONAL:s=new Int32Array(2*r),n=e.readInt32;break;case f.fieldTypes.FLOAT:s=new Float32Array(r),n=e.readFloat32;break;case f.fieldTypes.DOUBLE:s=new Float64Array(r),n=e.readFloat64;break;default:throw new RangeError(`Invalid field type: ${t}`)}if(t!==f.fieldTypes.RATIONAL&&t!==f.fieldTypes.SRATIONAL)for(let o=0;o<r;++o)s[o]=n.call(e,i+o*a);else for(let o=0;o<r;o+=2)s[o]=n.call(e,i+o*a),s[o+1]=n.call(e,i+(o*a+4));return t===f.fieldTypes.ASCII?new TextDecoder("utf-8").decode(s):s}class m{constructor(e,t,r){this.fileDirectory=e,this.geoKeyDirectory=t,this.nextIFDByteOffset=r}}class I extends Error{constructor(e){super(`No image at index ${e}`),this.index=e}}class b{async readRasters(e={}){const{window:t,width:r,height:i}=e;let{resX:s,resY:n,bbox:a}=e;const o=await this.getImage();let f=o;const l=await this.getImageCount(),c=o.getBoundingBox();if(t&&a)throw new Error('Both "bbox" and "window" passed.');if(r||i){if(t){const[e,r]=o.getOrigin(),[i,s]=o.getResolution();a=[e+t[0]*i,r+t[1]*s,e+t[2]*i,r+t[3]*s]}const e=a||c;if(r){if(s)throw new Error("Both width and resX passed");s=(e[2]-e[0])/r}if(i){if(n)throw new Error("Both width and resY passed");n=(e[3]-e[1])/i}}if(s||n){const e=[];for(let t=0;t<l;++t){const r=await this.getImage(t),{SubfileType:i,NewSubfileType:s}=r.fileDirectory;(0===t||2===i||1&s)&&e.push(r)}e.sort((e,t)=>e.getWidth()-t.getWidth());for(let t=0;t<e.length;++t){const r=e[t],i=(c[2]-c[0])/r.getWidth(),a=(c[3]-c[1])/r.getHeight();if(f=r,s&&s>i||n&&n>a)break}}let u=t;if(a){const[e,t]=o.getOrigin(),[r,i]=f.getResolution(o);u=[Math.round((a[0]-e)/r),Math.round((a[1]-t)/i),Math.round((a[2]-e)/r),Math.round((a[3]-t)/i)],u=[Math.min(u[0],u[2]),Math.min(u[1],u[3]),Math.max(u[0],u[2]),Math.max(u[1],u[3])]}return f.readRasters({...e,window:u})}}class F extends b{constructor(e,t,r,i,s={}){super(),this.source=e,this.littleEndian=t,this.bigTiff=r,this.firstIFDOffset=i,this.cache=s.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(e,t){const i=this.bigTiff?4048:1024;return new r.default((await this.source.fetch([{offset:e,length:void 0!==t?t:i}]))[0],e,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(e){const t=this.bigTiff?20:12,r=this.bigTiff?8:2;let i=await this.getSlice(e);const s=this.bigTiff?i.readUint64(e):i.readUint16(e),n=s*t+(this.bigTiff?16:6);i.covers(e,n)||(i=await this.getSlice(e,n));const a={};let o=e+(this.bigTiff?8:2);for(let u=0;u<s;o+=t,++u){const e=i.readUint16(o),t=i.readUint16(o+2),r=this.bigTiff?i.readUint64(o+4):i.readUint32(o+4);let s,n;const l=p(t),c=o+(this.bigTiff?12:8);if(l*r<=(this.bigTiff?8:4))s=T(i,t,r,c);else{const e=i.readOffset(c),n=p(t)*r;if(i.covers(e,n))s=T(i,t,r,e);else{s=T(await this.getSlice(e,n),t,r,e)}}n=1===r&&-1===f.arrayFields.indexOf(e)&&t!==f.fieldTypes.RATIONAL&&t!==f.fieldTypes.SRATIONAL?s[0]:s,a[f.fieldTagNames[e]]=n}const l=w(a),c=i.readOffset(e+r+t*s);return new m(a,l,c)}async requestIFD(e){if(this.ifdRequests[e])return this.ifdRequests[e];if(0===e)return this.ifdRequests[e]=this.parseFileDirectoryAt(this.firstIFDOffset),this.ifdRequests[e];if(!this.ifdRequests[e-1])try{this.ifdRequests[e-1]=this.requestIFD(e-1)}catch(t){if(t instanceof I)throw new I(e);throw t}return this.ifdRequests[e]=(async()=>{const t=await this.ifdRequests[e-1];if(0===t.nextIFDByteOffset)throw new I(e);return this.parseFileDirectoryAt(t.nextIFDByteOffset)})(),this.ifdRequests[e]}async getImage(t=0){const r=await this.requestIFD(t);return new e.default(r.fileDirectory,r.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let e=0,t=!0;for(;t;)try{await this.requestIFD(e),++e}catch(r){if(!(r instanceof I))throw r;t=!1}return e}async getGhostValues(){const e=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const t="GDAL_STRUCTURAL_METADATA_SIZE=",r=t.length+100;let i=await this.getSlice(e,r);if(t===T(i,f.fieldTypes.ASCII,t.length,e)){const t=T(i,f.fieldTypes.ASCII,r,e).split("\n")[0],s=Number(t.split("=")[1].split(" ")[0])+t.length;s>r&&(i=await this.getSlice(e,s));const n=T(i,f.fieldTypes.ASCII,s,e);this.ghostValues={},n.split("\n").filter(e=>e.length>0).map(e=>e.split("=")).forEach(([e,t])=>{this.ghostValues[e]=t})}return this.ghostValues}static async fromSource(e,r,i){const s=(await e.fetch([{offset:0,length:1024}],i))[0],n=new t.default(s),a=n.getUint16(0,0);let o;if(18761===a)o=!0;else{if(19789!==a)throw new TypeError("Invalid byte order value.");o=!1}const f=n.getUint16(2,o);let l;if(42===f)l=!1;else{if(43!==f)throw new TypeError("Invalid magic number.");if(l=!0,8!==n.getUint16(4,o))throw new Error("Unsupported offset byte-size.")}const c=l?n.getUint64(8,o):n.getUint32(4,o);return new F(e,o,l,c,r)}close(){return"function"==typeof this.source.close&&this.source.close()}}exports.GeoTIFF=F;var D=F;exports.default=D;class O extends b{constructor(e,t){super(),this.mainFile=e,this.overviewFiles=t,this.imageFiles=[e].concat(t),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const e=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map(e=>e.parseFileDirectoryAt(e.firstIFDOffset)));return this.fileDirectoriesPerFile=await Promise.all(e),this.fileDirectoriesPerFile}async getImage(t=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let r=0,i=0;for(let s=0;s<this.imageFiles.length;s++){const n=this.imageFiles[s];for(let a=0;a<this.imageCounts[s];a++){if(t===r){const t=await n.requestIFD(i);return new e.default(t.fileDirectory,t.geoKeyDirectory,n.dataView,n.littleEndian,n.cache,n.source)}r++,i++}i=0}throw new RangeError("Invalid image index")}async getImageCount(){if(null!==this.imageCount)return this.imageCount;const e=[this.mainFile.getImageCount()].concat(this.overviewFiles.map(e=>e.getImageCount()));return this.imageCounts=await Promise.all(e),this.imageCount=this.imageCounts.reduce((e,t)=>e+t,0),this.imageCount}}async function A(e,t={},r){return F.fromSource((0,s.makeRemoteSource)(e,t),r)}async function S(e,t){return F.fromSource((0,n.makeBufferSource)(e),t)}async function x(e,t){return F.fromSource((0,o.makeFileSource)(e),t)}async function R(e,t){return F.fromSource((0,a.makeFileReaderSource)(e),t)}async function U(e,t=[],r={},i){const n=await F.fromSource((0,s.makeRemoteSource)(e,r),i),a=await Promise.all(t.map(e=>F.fromSource((0,s.makeRemoteSource)(e,r))));return new O(n,a)}function q(e,t){return(0,l.writeGeotiff)(e,t)}exports.MultiGeoTIFF=O;
51
51
  },{"./geotiffimage.js":"eOWo","./dataview64.js":"dqpX","./dataslice.js":"dGLV","./pool.js":"dHPO","./source/remote.js":"itmA","./source/arraybuffer.js":"wM9h","./source/filereader.js":"GiEG","./source/file.js":"G7Cz","./globals.js":"j27V","./geotiffwriter.js":"BGyE","./rgb.js":"fpBl","./compression/index.js":"FGCZ","./logging.js":"dy4f"}],"IKSA":[function(require,module,exports) {
52
52
  "use strict";function e(e,t){let r=e.length-t,o=0;do{for(let r=t;r>0;r--)e[o+t]+=e[o],o++;r-=t}while(r>0)}function t(e,t,r){let o=0,n=e.length;const i=n/r;for(;n>t;){for(let r=t;r>0;--r)e[o+t]+=e[o],++o;n-=t}const l=e.slice();for(let s=0;s<i;++s)for(let t=0;t<r;++t)e[r*s+t]=l[(r-t-1)*i+s]}function r(r,o,n,i,l,s){if(!o||1===o)return r;for(let e=0;e<l.length;++e){if(l[e]%8!=0)throw new Error("When decoding with predictor, only multiple of 8 bits are supported.");if(l[e]!==l[0])throw new Error("When decoding with predictor, all samples must have the same size.")}const a=l[0]/8,c=2===s?1:l.length;for(let f=0;f<i&&!(f*c*n*a>=r.byteLength);++f){let i;if(2===o){switch(l[0]){case 8:i=new Uint8Array(r,f*c*n*a,c*n*a);break;case 16:i=new Uint16Array(r,f*c*n*a,c*n*a/2);break;case 32:i=new Uint32Array(r,f*c*n*a,c*n*a/4);break;default:throw new Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}e(i,c,a)}else 3===o&&t(i=new Uint8Array(r,f*c*n*a,c*n*a),c,a)}return r}Object.defineProperty(exports,"__esModule",{value:!0}),exports.applyPredictor=r;
53
53
  },{}],"FJDe":[function(require,module,exports) {