@openglobus/og 1.0.0-rc30 → 1.0.0-rc32
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.
- package/lib/Object3d.d.ts +4 -1
- package/lib/camera/Camera.d.ts +4 -2
- package/lib/control/DragAndDrop.d.ts +37 -0
- package/lib/control/entityEditor/EntityEditor.d.ts +4 -1
- package/lib/control/entityEditor/EntityEditorDialog.d.ts +1 -0
- package/lib/control/entityTree/EntityTree.d.ts +7 -0
- package/lib/control/entityTree/EntityTreeView.d.ts +1 -0
- package/lib/control/index.d.ts +1 -0
- package/lib/layer/BaseTileMaterialLayer.d.ts +11 -1
- package/lib/layer/CanvasTiles.d.ts +0 -10
- package/lib/layer/GeoTIFFLayer.d.ts +11 -3
- package/lib/layer/Vector.d.ts +2 -3
- package/lib/layer/XYZ.d.ts +0 -6
- package/lib/layer/geotiff/GeoTIFFReader.d.ts +3 -0
- package/lib/og.css +1 -1
- package/lib/og.es.js +1 -1
- package/lib/og.es.js.map +1 -1
- package/lib/renderer/Renderer.d.ts +1 -0
- package/lib/utils/gltf/gltfParser.d.ts +5 -0
- package/lib/utils/gltf/types.d.ts +4 -0
- package/lib/webgl/Handler.d.ts +2 -0
- package/package.json +1 -1
- package/lib/basedecoder-B4-YuM7w.mjs +0 -57
- package/lib/basedecoder-B4-YuM7w.mjs.map +0 -1
- package/lib/deflate-DYCJGL0P.mjs +0 -10
- package/lib/deflate-DYCJGL0P.mjs.map +0 -1
- package/lib/globals-1MwmSWn-.mjs +0 -579
- package/lib/globals-1MwmSWn-.mjs.map +0 -1
- package/lib/jpeg-Xvwz4hSD.mjs +0 -495
- package/lib/jpeg-Xvwz4hSD.mjs.map +0 -1
- package/lib/lerc-Ca1DtViY.mjs +0 -729
- package/lib/lerc-Ca1DtViY.mjs.map +0 -1
- package/lib/lzw-CCaYoYwZ.mjs +0 -69
- package/lib/lzw-CCaYoYwZ.mjs.map +0 -1
- package/lib/packbits-Ct8jLmcJ.mjs +0 -22
- package/lib/packbits-Ct8jLmcJ.mjs.map +0 -1
- package/lib/pako.esm-B35Pbobp.mjs +0 -1410
- package/lib/pako.esm-B35Pbobp.mjs.map +0 -1
- package/lib/raw-CUzqu_GQ.mjs +0 -9
- package/lib/raw-CUzqu_GQ.mjs.map +0 -1
- package/lib/webimage-BBmqvNtc.mjs +0 -24
- package/lib/webimage-BBmqvNtc.mjs.map +0 -1
- package/lib/zstd-CdGlEv5B.mjs +0 -47
- package/lib/zstd-CdGlEv5B.mjs.map +0 -1
|
@@ -6,6 +6,7 @@ export declare class Gltf {
|
|
|
6
6
|
private static _dracoDecoderModule;
|
|
7
7
|
static connectDracoDecoderModule(decoder: any): void;
|
|
8
8
|
static loadGlb(url: string): Promise<Gltf>;
|
|
9
|
+
static loadGltf(url: string): Promise<Gltf>;
|
|
9
10
|
private _materials;
|
|
10
11
|
private _images;
|
|
11
12
|
meshes: Mesh[];
|
|
@@ -28,5 +29,9 @@ export declare class Gltf {
|
|
|
28
29
|
private _buildPrimitive;
|
|
29
30
|
private static _toObject3d;
|
|
30
31
|
private static _access;
|
|
32
|
+
private static _getTensorConstructor;
|
|
33
|
+
/**
|
|
34
|
+
* Views the accessor data in the buffer without copying, unless the data is interleaved.
|
|
35
|
+
*/
|
|
31
36
|
private static _getTensor;
|
|
32
37
|
}
|
package/lib/webgl/Handler.d.ts
CHANGED
|
@@ -157,6 +157,8 @@ declare class Handler {
|
|
|
157
157
|
createTexture: Record<string, CreateTextureFunc>;
|
|
158
158
|
createTextureDefault: CreateTextureFunc;
|
|
159
159
|
ONCANVASRESIZE: Function | null;
|
|
160
|
+
/** Runs on every animation tick before the idle check, so it can request a frame. */
|
|
161
|
+
ONFRAMECHECK: Function | null;
|
|
160
162
|
intersectionObserver?: IntersectionObserver;
|
|
161
163
|
resizeObserver?: ResizeObserver;
|
|
162
164
|
protected _requestAnimationFrameId: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openglobus/og",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-rc32",
|
|
4
4
|
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.",
|
|
5
5
|
"main": "lib/og.es.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
function e(e, t) {
|
|
2
|
-
let n = e.length - t, r = 0;
|
|
3
|
-
do {
|
|
4
|
-
for (let n = t; n > 0; n--) e[r + t] += e[r], r++;
|
|
5
|
-
n -= t;
|
|
6
|
-
} while (n > 0);
|
|
7
|
-
}
|
|
8
|
-
function t(e, t, n) {
|
|
9
|
-
let r = 0, i = e.length, a = i / n;
|
|
10
|
-
for (; i > t;) {
|
|
11
|
-
for (let n = t; n > 0; --n) e[r + t] += e[r], ++r;
|
|
12
|
-
i -= t;
|
|
13
|
-
}
|
|
14
|
-
let o = e.slice();
|
|
15
|
-
for (let t = 0; t < a; ++t) for (let r = 0; r < n; ++r) e[n * t + r] = o[(n - r - 1) * a + t];
|
|
16
|
-
}
|
|
17
|
-
var n = class {
|
|
18
|
-
constructor(e) {
|
|
19
|
-
this.parameters = e;
|
|
20
|
-
}
|
|
21
|
-
decodeBlock(e) {
|
|
22
|
-
throw Error("decodeBlock not implemented");
|
|
23
|
-
}
|
|
24
|
-
async decode(n) {
|
|
25
|
-
let r = await this.decodeBlock(n), { tileWidth: i, tileHeight: a, predictor: o, bitsPerSample: s, planarConfiguration: c } = this.parameters;
|
|
26
|
-
return o === 1 ? r : function(n, r, i, a, o, s) {
|
|
27
|
-
if (!r || r === 1) return n;
|
|
28
|
-
for (let e = 0; e < o.length; ++e) {
|
|
29
|
-
if (o[e] % 8 != 0) throw Error("When decoding with predictor, only multiple of 8 bits are supported.");
|
|
30
|
-
if (o[e] !== o[0]) throw Error("When decoding with predictor, all samples must have the same size.");
|
|
31
|
-
}
|
|
32
|
-
let c = o[0] / 8, l = s === 2 ? 1 : o.length;
|
|
33
|
-
for (let s = 0; s < a && !(s * l * i * c >= n.byteLength); ++s) {
|
|
34
|
-
let a;
|
|
35
|
-
if (r === 2) {
|
|
36
|
-
switch (o[0]) {
|
|
37
|
-
case 8:
|
|
38
|
-
a = new Uint8Array(n, s * l * i * c, l * i * c);
|
|
39
|
-
break;
|
|
40
|
-
case 16:
|
|
41
|
-
a = new Uint16Array(n, s * l * i * c, l * i * c / 2);
|
|
42
|
-
break;
|
|
43
|
-
case 32:
|
|
44
|
-
a = new Uint32Array(n, s * l * i * c, l * i * c / 4);
|
|
45
|
-
break;
|
|
46
|
-
default: throw Error(`Predictor 2 not allowed with ${o[0]} bits per sample.`);
|
|
47
|
-
}
|
|
48
|
-
e(a, l);
|
|
49
|
-
} else r === 3 && (a = new Uint8Array(n, s * l * i * c, l * i * c), t(a, l, c));
|
|
50
|
-
}
|
|
51
|
-
return n;
|
|
52
|
-
}(r, o, i, a, Array.isArray(s) || ArrayBuffer.isView(s) ? Array.from(s) : [s], c);
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
export { n as t };
|
|
56
|
-
|
|
57
|
-
//# sourceMappingURL=basedecoder-B4-YuM7w.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basedecoder-B4-YuM7w.mjs","names":[],"sources":["../node_modules/geotiff/dist-module/predictor.js","../node_modules/geotiff/dist-module/compression/basedecoder.js"],"x_google_ignoreList":[0,1],"mappings":"AAIA,SAAS,EAAa,GAAK,GAAA;CACvB,IAAI,IAAS,EAAI,SAAS,GACtB,IAAS;CACb,GAAG;EACC,KAAK,IAAI,IAAI,GAAQ,IAAI,GAAG,KACxB,EAAI,IAAS,MAAW,EAAI,IAC5B;EAEJ,KAAU;CACd,SAAS,IAAS;AACtB;AAMA,SAAS,EAAuB,GAAK,GAAQ,GAAA;CACzC,IAAI,IAAQ,GACR,IAAQ,EAAI,QACV,IAAK,IAAQ;CACnB,OAAO,IAAQ,IAAQ;EACnB,KAAK,IAAI,IAAI,GAAQ,IAAI,GAAA,EAAK,GAC1B,EAAI,IAAQ,MAAW,EAAI,IAAA,EACzB;EAEN,KAAS;CACb;CACA,IAAM,IAAO,EAAI,MAAA;CACjB,KAAK,IAAI,IAAI,GAAG,IAAI,GAAA,EAAM,GACtB,KAAK,IAAI,IAAI,GAAG,IAAI,GAAA,EAAkB,GAClC,EAAK,IAAiB,IAAK,KAAK,GAAO,IAAiB,IAAI,KAAK,IAAM;AAGnF;AC3BA,IAAqB,IAArB,MAAA;CAII,YAAY,GAAA;EACR,KAAK,aAAa;CACtB;CAMA,YAAY,GAAA;EACR,MAAU,MAAM,6BAAA;CACpB;CAKA,MAAA,OAAa,GAAA;EACT,IAAM,IAAA,MAAgB,KAAK,YAAY,CAAA,GAAA,EACjC,WAAE,GAAA,YAAW,GAAA,WAAY,GAAA,eAAW,GAAA,qBAAe,MAAyB,KAAK;EACvF,OAAI,MAAc,IAKX,IDUf,SAA+B,GAAO,GAAW,GAAO,GAAQ,GAAe,GAAA;GAC3E,IAAA,CAAK,KAAa,MAAc,GAC5B,OAAO;GAEX,KAAK,IAAI,IAAI,GAAG,IAAI,EAAc,QAAA,EAAU,GAAG;IAC3C,IAAI,EAAc,KAAK,KAAM,GACzB,MAAU,MAAM,sEAAA;IAEpB,IAAI,EAAc,OAAO,EAAc,IACnC,MAAU,MAAM,oEAAA;GAExB;GACA,IAAM,IAAiB,EAAc,KAAK,GACpC,IAAS,MAAwB,IAAI,IAAI,EAAc;GAC7D,KAAK,IAAI,IAAI,GAAG,IAAI,KAAA,EAEZ,IAAI,IAAS,IAAQ,KAAkB,EAAM,aAAA,EAFvB,GAAG;IAK7B,IAAI;IACJ,IAAI,MAAc,GAAG;KACjB,QAAQ,EAAc,IAAtB;MACI,KAAK;OACD,IAAM,IAAI,WAAW,GAAO,IAAI,IAAS,IAAQ,GAAgB,IAAS,IAAQ,CAAA;OAClF;MACJ,KAAK;OACD,IAAM,IAAI,YAAY,GAAO,IAAI,IAAS,IAAQ,GAAgB,IAAS,IAAQ,IAAiB,CAAA;OACpG;MACJ,KAAK;OACD,IAAM,IAAI,YAAY,GAAO,IAAI,IAAS,IAAQ,GAAgB,IAAS,IAAQ,IAAiB,CAAA;OACpG;MACJ,SACI,MAAU,MAAM,gCAAgC,EAAc,GAAA,kBAAA;KAAA;KAEtE,EAAa,GAAK,CAAA;IACtB,OACuB,AAAd,MAAc,MACnB,IAAM,IAAI,WAAW,GAAO,IAAI,IAAS,IAAQ,GAAgB,IAAS,IAAQ,CAAA,GAClF,EAAuB,GAAK,GAAQ,CAAA;GAE5C;GACA,OAAO;EACX,ECtDkC,GAAS,GAAW,GAAW,GAFxB,MAAM,QAAQ,CAAA,KAAkB,YAAY,OAAO,CAAA,IAC5B,MAAM,KAAK,CAAA,IAAiB,CAAC,CAAA,GACM,CAAA;CAG/F;AAAA;AAAA,SAAA"}
|
package/lib/deflate-DYCJGL0P.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./basedecoder-B4-YuM7w.mjs";
|
|
2
|
-
import { t } from "./pako.esm-B35Pbobp.mjs";
|
|
3
|
-
var n = class extends e {
|
|
4
|
-
decodeBlock(e) {
|
|
5
|
-
return t(new Uint8Array(e)).buffer;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
export { n as default };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=deflate-DYCJGL0P.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deflate-DYCJGL0P.mjs","names":["inflate"],"sources":["../node_modules/geotiff/dist-module/compression/deflate.js"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAqB,IAArB,cAA4C,EAAA;CAExC,YAAY,GAAA;EACR,OAAOA,EAAQ,IAAI,WAAW,CAAA,CAAA,CAAA,CAAS;CAC3C;AAAA;AAAA,SAAA,KAAA"}
|
package/lib/globals-1MwmSWn-.mjs
DELETED
|
@@ -1,579 +0,0 @@
|
|
|
1
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
2
|
-
let r = {};
|
|
3
|
-
for (var i in e) t(r, i, {
|
|
4
|
-
get: e[i],
|
|
5
|
-
enumerable: !0
|
|
6
|
-
});
|
|
7
|
-
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
8
|
-
}, c = (o, s, c) => (c = o == null ? {} : e(i(o)), ((e, i, o, s) => {
|
|
9
|
-
if (i && typeof i == "object" || typeof i == "function") for (var c, l = r(i), u = 0, d = l.length; u < d; u++) c = l[u], a.call(e, c) || c === o || t(e, c, {
|
|
10
|
-
get: ((e) => i[e]).bind(null, c),
|
|
11
|
-
enumerable: !(s = n(i, c)) || s.enumerable
|
|
12
|
-
});
|
|
13
|
-
return e;
|
|
14
|
-
})(!s && o && o.__esModule ? c : t(c, "default", {
|
|
15
|
-
value: o,
|
|
16
|
-
enumerable: !0
|
|
17
|
-
}), o)), l = {
|
|
18
|
-
BYTE: 1,
|
|
19
|
-
ASCII: 2,
|
|
20
|
-
SHORT: 3,
|
|
21
|
-
LONG: 4,
|
|
22
|
-
RATIONAL: 5,
|
|
23
|
-
SBYTE: 6,
|
|
24
|
-
UNDEFINED: 7,
|
|
25
|
-
SSHORT: 8,
|
|
26
|
-
SLONG: 9,
|
|
27
|
-
SRATIONAL: 10,
|
|
28
|
-
FLOAT: 11,
|
|
29
|
-
DOUBLE: 12,
|
|
30
|
-
IFD: 13,
|
|
31
|
-
LONG8: 16,
|
|
32
|
-
SLONG8: 17,
|
|
33
|
-
IFD8: 18
|
|
34
|
-
}, u = {
|
|
35
|
-
[l.BYTE]: 1,
|
|
36
|
-
[l.ASCII]: 1,
|
|
37
|
-
[l.SBYTE]: 1,
|
|
38
|
-
[l.UNDEFINED]: 1,
|
|
39
|
-
[l.SHORT]: 2,
|
|
40
|
-
[l.SSHORT]: 2,
|
|
41
|
-
[l.LONG]: 4,
|
|
42
|
-
[l.SLONG]: 4,
|
|
43
|
-
[l.FLOAT]: 4,
|
|
44
|
-
[l.IFD]: 4,
|
|
45
|
-
[l.RATIONAL]: 8,
|
|
46
|
-
[l.SRATIONAL]: 8,
|
|
47
|
-
[l.DOUBLE]: 8,
|
|
48
|
-
[l.LONG8]: 8,
|
|
49
|
-
[l.SLONG8]: 8,
|
|
50
|
-
[l.IFD8]: 8
|
|
51
|
-
};
|
|
52
|
-
function d(e) {
|
|
53
|
-
let t = u[e];
|
|
54
|
-
if (t === void 0) throw RangeError(`Invalid field type: ${e}`);
|
|
55
|
-
return t;
|
|
56
|
-
}
|
|
57
|
-
var f = {
|
|
58
|
-
NewSubfileType: {
|
|
59
|
-
tag: 254,
|
|
60
|
-
type: l.LONG,
|
|
61
|
-
eager: !0
|
|
62
|
-
},
|
|
63
|
-
SubfileType: {
|
|
64
|
-
tag: 255,
|
|
65
|
-
type: l.SHORT,
|
|
66
|
-
eager: !0
|
|
67
|
-
},
|
|
68
|
-
ImageWidth: {
|
|
69
|
-
tag: 256,
|
|
70
|
-
type: l.SHORT,
|
|
71
|
-
eager: !0
|
|
72
|
-
},
|
|
73
|
-
ImageLength: {
|
|
74
|
-
tag: 257,
|
|
75
|
-
type: l.SHORT,
|
|
76
|
-
eager: !0
|
|
77
|
-
},
|
|
78
|
-
BitsPerSample: {
|
|
79
|
-
tag: 258,
|
|
80
|
-
type: l.SHORT,
|
|
81
|
-
isArray: !0,
|
|
82
|
-
eager: !0
|
|
83
|
-
},
|
|
84
|
-
Compression: {
|
|
85
|
-
tag: 259,
|
|
86
|
-
type: l.SHORT,
|
|
87
|
-
eager: !0
|
|
88
|
-
},
|
|
89
|
-
PhotometricInterpretation: {
|
|
90
|
-
tag: 262,
|
|
91
|
-
type: l.SHORT,
|
|
92
|
-
eager: !0
|
|
93
|
-
},
|
|
94
|
-
Threshholding: {
|
|
95
|
-
tag: 263,
|
|
96
|
-
type: l.SHORT
|
|
97
|
-
},
|
|
98
|
-
CellWidth: {
|
|
99
|
-
tag: 264,
|
|
100
|
-
type: l.SHORT
|
|
101
|
-
},
|
|
102
|
-
CellLength: {
|
|
103
|
-
tag: 265,
|
|
104
|
-
type: l.SHORT
|
|
105
|
-
},
|
|
106
|
-
FillOrder: {
|
|
107
|
-
tag: 266,
|
|
108
|
-
type: l.SHORT
|
|
109
|
-
},
|
|
110
|
-
DocumentName: {
|
|
111
|
-
tag: 269,
|
|
112
|
-
type: l.ASCII
|
|
113
|
-
},
|
|
114
|
-
ImageDescription: {
|
|
115
|
-
tag: 270,
|
|
116
|
-
type: l.ASCII
|
|
117
|
-
},
|
|
118
|
-
Make: {
|
|
119
|
-
tag: 271,
|
|
120
|
-
type: l.ASCII
|
|
121
|
-
},
|
|
122
|
-
Model: {
|
|
123
|
-
tag: 272,
|
|
124
|
-
type: l.ASCII
|
|
125
|
-
},
|
|
126
|
-
StripOffsets: {
|
|
127
|
-
tag: 273,
|
|
128
|
-
type: l.SHORT,
|
|
129
|
-
isArray: !0
|
|
130
|
-
},
|
|
131
|
-
Orientation: {
|
|
132
|
-
tag: 274,
|
|
133
|
-
type: l.SHORT
|
|
134
|
-
},
|
|
135
|
-
SamplesPerPixel: {
|
|
136
|
-
tag: 277,
|
|
137
|
-
type: l.SHORT,
|
|
138
|
-
eager: !0
|
|
139
|
-
},
|
|
140
|
-
RowsPerStrip: {
|
|
141
|
-
tag: 278,
|
|
142
|
-
type: l.SHORT,
|
|
143
|
-
eager: !0
|
|
144
|
-
},
|
|
145
|
-
StripByteCounts: {
|
|
146
|
-
tag: 279,
|
|
147
|
-
type: l.LONG,
|
|
148
|
-
isArray: !0
|
|
149
|
-
},
|
|
150
|
-
MinSampleValue: {
|
|
151
|
-
tag: 280,
|
|
152
|
-
type: l.SHORT,
|
|
153
|
-
isArray: !0
|
|
154
|
-
},
|
|
155
|
-
MaxSampleValue: {
|
|
156
|
-
tag: 281,
|
|
157
|
-
type: l.SHORT,
|
|
158
|
-
isArray: !0
|
|
159
|
-
},
|
|
160
|
-
XResolution: {
|
|
161
|
-
tag: 282,
|
|
162
|
-
type: l.RATIONAL
|
|
163
|
-
},
|
|
164
|
-
YResolution: {
|
|
165
|
-
tag: 283,
|
|
166
|
-
type: l.RATIONAL
|
|
167
|
-
},
|
|
168
|
-
PlanarConfiguration: {
|
|
169
|
-
tag: 284,
|
|
170
|
-
type: l.SHORT,
|
|
171
|
-
eager: !0
|
|
172
|
-
},
|
|
173
|
-
PageName: {
|
|
174
|
-
tag: 285,
|
|
175
|
-
type: l.ASCII
|
|
176
|
-
},
|
|
177
|
-
XPosition: {
|
|
178
|
-
tag: 286,
|
|
179
|
-
type: l.RATIONAL
|
|
180
|
-
},
|
|
181
|
-
YPosition: {
|
|
182
|
-
tag: 287,
|
|
183
|
-
type: l.RATIONAL
|
|
184
|
-
},
|
|
185
|
-
FreeOffsets: {
|
|
186
|
-
tag: 288,
|
|
187
|
-
type: l.LONG
|
|
188
|
-
},
|
|
189
|
-
FreeByteCounts: {
|
|
190
|
-
tag: 289,
|
|
191
|
-
type: l.LONG
|
|
192
|
-
},
|
|
193
|
-
GrayResponseUnit: {
|
|
194
|
-
tag: 290,
|
|
195
|
-
type: l.SHORT
|
|
196
|
-
},
|
|
197
|
-
GrayResponseCurve: {
|
|
198
|
-
tag: 291,
|
|
199
|
-
type: l.SHORT,
|
|
200
|
-
isArray: !0
|
|
201
|
-
},
|
|
202
|
-
T4Options: {
|
|
203
|
-
tag: 292,
|
|
204
|
-
type: l.LONG
|
|
205
|
-
},
|
|
206
|
-
T6Options: {
|
|
207
|
-
tag: 293,
|
|
208
|
-
type: l.LONG
|
|
209
|
-
},
|
|
210
|
-
ResolutionUnit: {
|
|
211
|
-
tag: 296,
|
|
212
|
-
type: l.SHORT
|
|
213
|
-
},
|
|
214
|
-
PageNumber: {
|
|
215
|
-
tag: 297,
|
|
216
|
-
type: l.SHORT,
|
|
217
|
-
isArray: !0
|
|
218
|
-
},
|
|
219
|
-
TransferFunction: {
|
|
220
|
-
tag: 301,
|
|
221
|
-
type: l.SHORT,
|
|
222
|
-
isArray: !0
|
|
223
|
-
},
|
|
224
|
-
Software: {
|
|
225
|
-
tag: 305,
|
|
226
|
-
type: l.ASCII
|
|
227
|
-
},
|
|
228
|
-
DateTime: {
|
|
229
|
-
tag: 306,
|
|
230
|
-
type: l.ASCII
|
|
231
|
-
},
|
|
232
|
-
Artist: {
|
|
233
|
-
tag: 315,
|
|
234
|
-
type: l.ASCII
|
|
235
|
-
},
|
|
236
|
-
HostComputer: {
|
|
237
|
-
tag: 316,
|
|
238
|
-
type: l.ASCII
|
|
239
|
-
},
|
|
240
|
-
Predictor: {
|
|
241
|
-
tag: 317,
|
|
242
|
-
type: l.SHORT
|
|
243
|
-
},
|
|
244
|
-
WhitePoint: {
|
|
245
|
-
tag: 318,
|
|
246
|
-
type: l.RATIONAL,
|
|
247
|
-
isArray: !0
|
|
248
|
-
},
|
|
249
|
-
PrimaryChromaticities: {
|
|
250
|
-
tag: 319,
|
|
251
|
-
type: l.RATIONAL,
|
|
252
|
-
isArray: !0
|
|
253
|
-
},
|
|
254
|
-
ColorMap: {
|
|
255
|
-
tag: 320,
|
|
256
|
-
type: l.SHORT,
|
|
257
|
-
isArray: !0
|
|
258
|
-
},
|
|
259
|
-
HalftoneHints: {
|
|
260
|
-
tag: 321,
|
|
261
|
-
type: l.SHORT,
|
|
262
|
-
isArray: !0
|
|
263
|
-
},
|
|
264
|
-
TileWidth: {
|
|
265
|
-
tag: 322,
|
|
266
|
-
type: l.SHORT,
|
|
267
|
-
eager: !0
|
|
268
|
-
},
|
|
269
|
-
TileLength: {
|
|
270
|
-
tag: 323,
|
|
271
|
-
type: l.SHORT,
|
|
272
|
-
eager: !0
|
|
273
|
-
},
|
|
274
|
-
TileOffsets: {
|
|
275
|
-
tag: 324,
|
|
276
|
-
type: l.LONG,
|
|
277
|
-
isArray: !0
|
|
278
|
-
},
|
|
279
|
-
TileByteCounts: {
|
|
280
|
-
tag: 325,
|
|
281
|
-
type: l.SHORT,
|
|
282
|
-
isArray: !0
|
|
283
|
-
},
|
|
284
|
-
InkSet: {
|
|
285
|
-
tag: 332,
|
|
286
|
-
type: l.SHORT
|
|
287
|
-
},
|
|
288
|
-
InkNames: {
|
|
289
|
-
tag: 333,
|
|
290
|
-
type: l.ASCII
|
|
291
|
-
},
|
|
292
|
-
NumberOfInks: {
|
|
293
|
-
tag: 334,
|
|
294
|
-
type: l.SHORT
|
|
295
|
-
},
|
|
296
|
-
DotRange: {
|
|
297
|
-
tag: 336,
|
|
298
|
-
type: l.BYTE,
|
|
299
|
-
isArray: !0
|
|
300
|
-
},
|
|
301
|
-
TargetPrinter: {
|
|
302
|
-
tag: 337,
|
|
303
|
-
type: l.ASCII
|
|
304
|
-
},
|
|
305
|
-
ExtraSamples: {
|
|
306
|
-
tag: 338,
|
|
307
|
-
type: l.BYTE,
|
|
308
|
-
isArray: !0,
|
|
309
|
-
eager: !0
|
|
310
|
-
},
|
|
311
|
-
SampleFormat: {
|
|
312
|
-
tag: 339,
|
|
313
|
-
type: l.SHORT,
|
|
314
|
-
isArray: !0,
|
|
315
|
-
eager: !0
|
|
316
|
-
},
|
|
317
|
-
SMinSampleValue: {
|
|
318
|
-
tag: 340,
|
|
319
|
-
isArray: !0
|
|
320
|
-
},
|
|
321
|
-
SMaxSampleValue: {
|
|
322
|
-
tag: 341,
|
|
323
|
-
isArray: !0
|
|
324
|
-
},
|
|
325
|
-
TransferRange: {
|
|
326
|
-
tag: 342,
|
|
327
|
-
type: l.SHORT,
|
|
328
|
-
isArray: !0
|
|
329
|
-
},
|
|
330
|
-
JPEGProc: {
|
|
331
|
-
tag: 512,
|
|
332
|
-
type: l.SHORT
|
|
333
|
-
},
|
|
334
|
-
JPEGInterchangeFormat: {
|
|
335
|
-
tag: 513,
|
|
336
|
-
type: l.LONG
|
|
337
|
-
},
|
|
338
|
-
JPEGInterchangeFormatLngth: {
|
|
339
|
-
tag: 514,
|
|
340
|
-
type: l.LONG
|
|
341
|
-
},
|
|
342
|
-
JPEGRestartInterval: {
|
|
343
|
-
tag: 515,
|
|
344
|
-
type: l.SHORT
|
|
345
|
-
},
|
|
346
|
-
JPEGLosslessPredictors: {
|
|
347
|
-
tag: 517,
|
|
348
|
-
type: l.SHORT,
|
|
349
|
-
isArray: !0
|
|
350
|
-
},
|
|
351
|
-
JPEGPointTransforms: {
|
|
352
|
-
tag: 518,
|
|
353
|
-
type: l.SHORT,
|
|
354
|
-
isArray: !0
|
|
355
|
-
},
|
|
356
|
-
JPEGQTables: {
|
|
357
|
-
tag: 519,
|
|
358
|
-
type: l.LONG,
|
|
359
|
-
isArray: !0
|
|
360
|
-
},
|
|
361
|
-
JPEGDCTables: {
|
|
362
|
-
tag: 520,
|
|
363
|
-
type: l.LONG,
|
|
364
|
-
isArray: !0
|
|
365
|
-
},
|
|
366
|
-
JPEGACTables: {
|
|
367
|
-
tag: 521,
|
|
368
|
-
type: l.LONG,
|
|
369
|
-
isArray: !0
|
|
370
|
-
},
|
|
371
|
-
YCbCrCoefficients: {
|
|
372
|
-
tag: 529,
|
|
373
|
-
type: l.RATIONAL,
|
|
374
|
-
isArray: !0
|
|
375
|
-
},
|
|
376
|
-
YCbCrSubSampling: {
|
|
377
|
-
tag: 530,
|
|
378
|
-
type: l.SHORT,
|
|
379
|
-
isArray: !0
|
|
380
|
-
},
|
|
381
|
-
YCbCrPositioning: {
|
|
382
|
-
tag: 531,
|
|
383
|
-
type: l.SHORT
|
|
384
|
-
},
|
|
385
|
-
ReferenceBlackWhite: {
|
|
386
|
-
tag: 532,
|
|
387
|
-
type: l.LONG,
|
|
388
|
-
isArray: !0
|
|
389
|
-
},
|
|
390
|
-
Copyright: {
|
|
391
|
-
tag: 33432,
|
|
392
|
-
type: l.ASCII
|
|
393
|
-
},
|
|
394
|
-
BadFaxLines: { tag: 326 },
|
|
395
|
-
CleanFaxData: { tag: 327 },
|
|
396
|
-
ClipPath: { tag: 343 },
|
|
397
|
-
ConsecutiveBadFaxLines: { tag: 328 },
|
|
398
|
-
Decode: { tag: 433 },
|
|
399
|
-
DefaultImageColor: { tag: 434 },
|
|
400
|
-
Indexed: { tag: 346 },
|
|
401
|
-
JPEGTables: {
|
|
402
|
-
tag: 347,
|
|
403
|
-
isArray: !0,
|
|
404
|
-
eager: !0
|
|
405
|
-
},
|
|
406
|
-
StripRowCounts: {
|
|
407
|
-
tag: 559,
|
|
408
|
-
isArray: !0
|
|
409
|
-
},
|
|
410
|
-
SubIFDs: {
|
|
411
|
-
tag: 330,
|
|
412
|
-
isArray: !0
|
|
413
|
-
},
|
|
414
|
-
XClipPathUnits: { tag: 344 },
|
|
415
|
-
YClipPathUnits: { tag: 345 },
|
|
416
|
-
ApertureValue: { tag: 37378 },
|
|
417
|
-
ColorSpace: { tag: 40961 },
|
|
418
|
-
DateTimeDigitized: { tag: 36868 },
|
|
419
|
-
DateTimeOriginal: { tag: 36867 },
|
|
420
|
-
ExifIFD: {
|
|
421
|
-
tag: 34665,
|
|
422
|
-
name: "Exif IFD",
|
|
423
|
-
type: l.LONG
|
|
424
|
-
},
|
|
425
|
-
ExifVersion: { tag: 36864 },
|
|
426
|
-
ExposureTime: { tag: 33434 },
|
|
427
|
-
FileSource: { tag: 41728 },
|
|
428
|
-
Flash: { tag: 37385 },
|
|
429
|
-
FlashpixVersion: { tag: 40960 },
|
|
430
|
-
FNumber: { tag: 33437 },
|
|
431
|
-
ImageUniqueID: { tag: 42016 },
|
|
432
|
-
LightSource: { tag: 37384 },
|
|
433
|
-
MakerNote: { tag: 37500 },
|
|
434
|
-
ShutterSpeedValue: { tag: 37377 },
|
|
435
|
-
UserComment: { tag: 37510 },
|
|
436
|
-
IPTC: { tag: 33723 },
|
|
437
|
-
CZ_LSMINFO: { tag: 34412 },
|
|
438
|
-
ICCProfile: {
|
|
439
|
-
tag: 34675,
|
|
440
|
-
name: "ICC Profile"
|
|
441
|
-
},
|
|
442
|
-
XMP: { tag: 700 },
|
|
443
|
-
GDAL_METADATA: { tag: 42112 },
|
|
444
|
-
GDAL_NODATA: {
|
|
445
|
-
tag: 42113,
|
|
446
|
-
type: l.ASCII,
|
|
447
|
-
eager: !0
|
|
448
|
-
},
|
|
449
|
-
Photoshop: { tag: 34377 },
|
|
450
|
-
ModelPixelScale: {
|
|
451
|
-
tag: 33550,
|
|
452
|
-
type: l.DOUBLE,
|
|
453
|
-
isArray: !0,
|
|
454
|
-
eager: !0
|
|
455
|
-
},
|
|
456
|
-
ModelTiepoint: {
|
|
457
|
-
tag: 33922,
|
|
458
|
-
type: l.DOUBLE,
|
|
459
|
-
isArray: !0,
|
|
460
|
-
eager: !0
|
|
461
|
-
},
|
|
462
|
-
ModelTransformation: {
|
|
463
|
-
tag: 34264,
|
|
464
|
-
type: l.DOUBLE,
|
|
465
|
-
isArray: !0,
|
|
466
|
-
eager: !0
|
|
467
|
-
},
|
|
468
|
-
GeoKeyDirectory: {
|
|
469
|
-
tag: 34735,
|
|
470
|
-
type: l.SHORT,
|
|
471
|
-
isArray: !0,
|
|
472
|
-
eager: !0
|
|
473
|
-
},
|
|
474
|
-
GeoDoubleParams: {
|
|
475
|
-
tag: 34736,
|
|
476
|
-
type: l.DOUBLE,
|
|
477
|
-
isArray: !0,
|
|
478
|
-
eager: !0
|
|
479
|
-
},
|
|
480
|
-
GeoAsciiParams: {
|
|
481
|
-
tag: 34737,
|
|
482
|
-
type: l.ASCII,
|
|
483
|
-
eager: !0
|
|
484
|
-
},
|
|
485
|
-
LercParameters: {
|
|
486
|
-
tag: 50674,
|
|
487
|
-
eager: !0
|
|
488
|
-
}
|
|
489
|
-
}, p = {}, m = {};
|
|
490
|
-
function h(e, t, n, r = !1, i = !1) {
|
|
491
|
-
p[t] = e, m[e] = {
|
|
492
|
-
tag: e,
|
|
493
|
-
name: t,
|
|
494
|
-
type: typeof n == "string" ? l[n] : n,
|
|
495
|
-
isArray: r,
|
|
496
|
-
eager: i
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
for (let [e, t] of Object.entries(f)) {
|
|
500
|
-
let n = t;
|
|
501
|
-
h(n.tag, n.name || e, n.type, n.isArray, n.eager);
|
|
502
|
-
}
|
|
503
|
-
function g(e) {
|
|
504
|
-
return typeof e == "number" ? e : p[e];
|
|
505
|
-
}
|
|
506
|
-
var _ = {
|
|
507
|
-
WhiteIsZero: 0,
|
|
508
|
-
BlackIsZero: 1,
|
|
509
|
-
RGB: 2,
|
|
510
|
-
Palette: 3,
|
|
511
|
-
TransparencyMask: 4,
|
|
512
|
-
CMYK: 5,
|
|
513
|
-
YCbCr: 6,
|
|
514
|
-
CIELab: 8,
|
|
515
|
-
ICCLab: 9
|
|
516
|
-
}, v = {
|
|
517
|
-
Unspecified: 0,
|
|
518
|
-
Assocalpha: 1,
|
|
519
|
-
Unassalpha: 2
|
|
520
|
-
}, y = {
|
|
521
|
-
Version: 0,
|
|
522
|
-
AddCompression: 1
|
|
523
|
-
}, b = {
|
|
524
|
-
None: 0,
|
|
525
|
-
Deflate: 1,
|
|
526
|
-
Zstandard: 2
|
|
527
|
-
}, x = {
|
|
528
|
-
1024: "GTModelTypeGeoKey",
|
|
529
|
-
1025: "GTRasterTypeGeoKey",
|
|
530
|
-
1026: "GTCitationGeoKey",
|
|
531
|
-
2048: "GeographicTypeGeoKey",
|
|
532
|
-
2049: "GeogCitationGeoKey",
|
|
533
|
-
2050: "GeogGeodeticDatumGeoKey",
|
|
534
|
-
2051: "GeogPrimeMeridianGeoKey",
|
|
535
|
-
2052: "GeogLinearUnitsGeoKey",
|
|
536
|
-
2053: "GeogLinearUnitSizeGeoKey",
|
|
537
|
-
2054: "GeogAngularUnitsGeoKey",
|
|
538
|
-
2055: "GeogAngularUnitSizeGeoKey",
|
|
539
|
-
2056: "GeogEllipsoidGeoKey",
|
|
540
|
-
2057: "GeogSemiMajorAxisGeoKey",
|
|
541
|
-
2058: "GeogSemiMinorAxisGeoKey",
|
|
542
|
-
2059: "GeogInvFlatteningGeoKey",
|
|
543
|
-
2060: "GeogAzimuthUnitsGeoKey",
|
|
544
|
-
2061: "GeogPrimeMeridianLongGeoKey",
|
|
545
|
-
2062: "GeogTOWGS84GeoKey",
|
|
546
|
-
3072: "ProjectedCSTypeGeoKey",
|
|
547
|
-
3073: "PCSCitationGeoKey",
|
|
548
|
-
3074: "ProjectionGeoKey",
|
|
549
|
-
3075: "ProjCoordTransGeoKey",
|
|
550
|
-
3076: "ProjLinearUnitsGeoKey",
|
|
551
|
-
3077: "ProjLinearUnitSizeGeoKey",
|
|
552
|
-
3078: "ProjStdParallel1GeoKey",
|
|
553
|
-
3079: "ProjStdParallel2GeoKey",
|
|
554
|
-
3080: "ProjNatOriginLongGeoKey",
|
|
555
|
-
3081: "ProjNatOriginLatGeoKey",
|
|
556
|
-
3082: "ProjFalseEastingGeoKey",
|
|
557
|
-
3083: "ProjFalseNorthingGeoKey",
|
|
558
|
-
3084: "ProjFalseOriginLongGeoKey",
|
|
559
|
-
3085: "ProjFalseOriginLatGeoKey",
|
|
560
|
-
3086: "ProjFalseOriginEastingGeoKey",
|
|
561
|
-
3087: "ProjFalseOriginNorthingGeoKey",
|
|
562
|
-
3088: "ProjCenterLongGeoKey",
|
|
563
|
-
3089: "ProjCenterLatGeoKey",
|
|
564
|
-
3090: "ProjCenterEastingGeoKey",
|
|
565
|
-
3091: "ProjCenterNorthingGeoKey",
|
|
566
|
-
3092: "ProjScaleAtNatOriginGeoKey",
|
|
567
|
-
3093: "ProjScaleAtCenterGeoKey",
|
|
568
|
-
3094: "ProjAzimuthAngleGeoKey",
|
|
569
|
-
3095: "ProjStraightVertPoleLongGeoKey",
|
|
570
|
-
3096: "ProjRectifiedGridAngleGeoKey",
|
|
571
|
-
4096: "VerticalCSTypeGeoKey",
|
|
572
|
-
4097: "VerticalCitationGeoKey",
|
|
573
|
-
4098: "VerticalDatumGeoKey",
|
|
574
|
-
4099: "VerticalUnitsGeoKey"
|
|
575
|
-
}, S = {};
|
|
576
|
-
for (let [e, t] of Object.entries(x)) S[t] = parseInt(e, 10);
|
|
577
|
-
export { x as a, g as c, s as d, c as f, l as i, m as l, b as n, d as o, y as r, _ as s, v as t, o as u };
|
|
578
|
-
|
|
579
|
-
//# sourceMappingURL=globals-1MwmSWn-.mjs.map
|