@gisatcz/deckgl-geolib 1.12.0-dev.4 → 2.0.0
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/README.md +67 -64
- package/dist/cjs/index.js +631 -641
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +3 -3
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/{esm/types/cogtiles/cogtiles.d.ts → cjs/types/core/CogTiles.d.ts} +12 -9
- package/dist/cjs/types/{geoimage/geoimage.d.ts → core/GeoImage.d.ts} +6 -6
- package/dist/cjs/types/core/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +2 -11
- package/dist/{esm/types/cogbitmaplayer → cjs/types/layers}/CogBitmapLayer.d.ts +3 -5
- package/dist/cjs/types/{cogterrainlayer → layers}/CogTerrainLayer.d.ts +13 -8
- package/dist/cjs/types/layers/index.d.ts +2 -0
- package/dist/esm/index.js +628 -641
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +3 -3
- package/dist/esm/index.min.js.map +1 -1
- package/dist/{cjs/types/cogtiles/cogtiles.d.ts → esm/types/core/CogTiles.d.ts} +12 -9
- package/dist/esm/types/{geoimage/geoimage.d.ts → core/GeoImage.d.ts} +6 -6
- package/dist/esm/types/core/index.d.ts +2 -0
- package/dist/esm/types/index.d.ts +2 -11
- package/dist/{cjs/types/cogbitmaplayer → esm/types/layers}/CogBitmapLayer.d.ts +3 -5
- package/dist/esm/types/{cogterrainlayer → layers}/CogTerrainLayer.d.ts +13 -8
- package/dist/esm/types/layers/index.d.ts +2 -0
- package/package.json +40 -4
- package/.eslintignore +0 -2
- package/.eslintrc.cjs +0 -3
- package/CHANGELOG.md +0 -166
- package/rollup.config.mjs +0 -77
- package/src/cogbitmaplayer/CogBitmapLayer.ts +0 -337
- package/src/cogbitmaplayer/README.md +0 -113
- package/src/cogterrainlayer/CogTerrainLayer.ts +0 -445
- package/src/cogterrainlayer/README.md +0 -118
- package/src/cogtiles/README.md +0 -72
- package/src/cogtiles/cogtiles.ts +0 -420
- package/src/cogtiles/lzw.js +0 -256
- package/src/geoimage/README.md +0 -129
- package/src/geoimage/delatin/index.ts +0 -495
- package/src/geoimage/geoimage.ts +0 -599
- package/src/geoimage/helpers/skirt.ts +0 -171
- package/src/index.ts +0 -11
- package/src/utilities/tileurls.ts +0 -21
- package/tsconfig.json +0 -6
- /package/dist/cjs/types/{geoimage → core}/delatin/index.d.ts +0 -0
- /package/dist/cjs/types/{geoimage → core}/helpers/skirt.d.ts +0 -0
- /package/dist/cjs/types/{utilities → utils}/tileurls.d.ts +0 -0
- /package/dist/esm/types/{geoimage → core}/delatin/index.d.ts +0 -0
- /package/dist/esm/types/{geoimage → core}/helpers/skirt.d.ts +0 -0
- /package/dist/esm/types/{utilities → utils}/tileurls.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GeoTIFF, GeoTIFFImage } from 'geotiff';
|
|
2
|
-
import GeoImage, { GeoImageOptions } from '
|
|
2
|
+
import GeoImage, { GeoImageOptions } from './GeoImage';
|
|
3
3
|
export type Bounds = [minX: number, minY: number, maxX: number, maxY: number];
|
|
4
4
|
declare class CogTiles {
|
|
5
5
|
cog: GeoTIFF;
|
|
@@ -9,7 +9,6 @@ declare class CogTiles {
|
|
|
9
9
|
zoomRange: number[];
|
|
10
10
|
tileSize: number;
|
|
11
11
|
bounds: Bounds;
|
|
12
|
-
loaded: boolean;
|
|
13
12
|
geo: GeoImage;
|
|
14
13
|
options: GeoImageOptions;
|
|
15
14
|
constructor(options: GeoImageOptions);
|
|
@@ -48,7 +47,11 @@ declare class CogTiles {
|
|
|
48
47
|
* @returns {number} The index of the image in the COG that best matches the specified zoom level.
|
|
49
48
|
*/
|
|
50
49
|
getImageIndexForZoomLevel(zoom: any): number;
|
|
51
|
-
getTileFromImage(tileX: any, tileY: any, zoom: any): Promise<any[][] | import("geotiff").ReadRasterResult[]>;
|
|
50
|
+
getTileFromImage(tileX: any, tileY: any, zoom: any): Promise<any[][] | Float32Array<ArrayBuffer>[] | import("geotiff").ReadRasterResult[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Creates a blank tile buffer filled with the "No Data" value.
|
|
53
|
+
*/
|
|
54
|
+
createEmptyTile(): Float32Array<ArrayBuffer>;
|
|
52
55
|
getTile(x: number, y: number, z: number, bounds: Bounds, meshMaxError: number): Promise<string | {
|
|
53
56
|
loaderData: {
|
|
54
57
|
header: {};
|
|
@@ -59,16 +62,16 @@ declare class CogTiles {
|
|
|
59
62
|
};
|
|
60
63
|
mode: number;
|
|
61
64
|
indices: {
|
|
62
|
-
value: Uint32Array
|
|
65
|
+
value: Uint32Array<ArrayBuffer>;
|
|
63
66
|
size: number;
|
|
64
67
|
};
|
|
65
68
|
attributes: {
|
|
66
69
|
POSITION: {
|
|
67
|
-
value: Float32Array
|
|
70
|
+
value: Float32Array<ArrayBuffer>;
|
|
68
71
|
size: number;
|
|
69
72
|
};
|
|
70
73
|
TEXCOORD_0: {
|
|
71
|
-
value: Float32Array
|
|
74
|
+
value: Float32Array<ArrayBuffer>;
|
|
72
75
|
size: number;
|
|
73
76
|
};
|
|
74
77
|
};
|
|
@@ -83,10 +86,10 @@ declare class CogTiles {
|
|
|
83
86
|
getDataTypeFromTags(image: any): string;
|
|
84
87
|
/**
|
|
85
88
|
* Extracts the noData value from a GeoTIFF.js image.
|
|
86
|
-
* Returns the noData value as a number if available, otherwise undefined.
|
|
89
|
+
* Returns the noData value as a number (including NaN) if available, otherwise undefined.
|
|
87
90
|
*
|
|
88
91
|
* @param {GeoTIFFImage} image - The GeoTIFF.js image.
|
|
89
|
-
* @returns {number|undefined} The noData value
|
|
92
|
+
* @returns {number|undefined} The noData value, possibly NaN, or undefined if not set or invalid.
|
|
90
93
|
*/
|
|
91
94
|
getNoDataValue(image: any): number;
|
|
92
95
|
/**
|
|
@@ -110,6 +113,6 @@ declare class CogTiles {
|
|
|
110
113
|
* @param {number} tileSize - The width/height of the square tile.
|
|
111
114
|
* @returns {TypedArray} A typed array buffer of length tileSize * tileSize.
|
|
112
115
|
*/
|
|
113
|
-
createTileBuffer(dataType: any, tileSize: any): Uint32Array | Float32Array |
|
|
116
|
+
createTileBuffer(dataType: any, tileSize: any): Uint32Array<ArrayBuffer> | Float32Array<ArrayBuffer> | Int8Array<ArrayBuffer> | Uint8Array<ArrayBuffer> | Int16Array<ArrayBuffer> | Uint16Array<ArrayBuffer> | Int32Array<ArrayBuffer> | Float64Array<ArrayBuffer>;
|
|
114
117
|
}
|
|
115
118
|
export default CogTiles;
|
|
@@ -56,16 +56,16 @@ export default class GeoImage {
|
|
|
56
56
|
};
|
|
57
57
|
mode: number;
|
|
58
58
|
indices: {
|
|
59
|
-
value: Uint32Array
|
|
59
|
+
value: Uint32Array<ArrayBuffer>;
|
|
60
60
|
size: number;
|
|
61
61
|
};
|
|
62
62
|
attributes: {
|
|
63
63
|
POSITION: {
|
|
64
|
-
value: Float32Array
|
|
64
|
+
value: Float32Array<ArrayBuffer>;
|
|
65
65
|
size: number;
|
|
66
66
|
};
|
|
67
67
|
TEXCOORD_0: {
|
|
68
|
-
value: Float32Array
|
|
68
|
+
value: Float32Array<ArrayBuffer>;
|
|
69
69
|
size: number;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
@@ -85,16 +85,16 @@ export default class GeoImage {
|
|
|
85
85
|
};
|
|
86
86
|
mode: number;
|
|
87
87
|
indices: {
|
|
88
|
-
value: Uint32Array
|
|
88
|
+
value: Uint32Array<ArrayBuffer>;
|
|
89
89
|
size: number;
|
|
90
90
|
};
|
|
91
91
|
attributes: {
|
|
92
92
|
POSITION: {
|
|
93
|
-
value: Float32Array
|
|
93
|
+
value: Float32Array<ArrayBuffer>;
|
|
94
94
|
size: number;
|
|
95
95
|
};
|
|
96
96
|
TEXCOORD_0: {
|
|
97
|
-
value: Float32Array
|
|
97
|
+
value: Float32Array<ArrayBuffer>;
|
|
98
98
|
size: number;
|
|
99
99
|
};
|
|
100
100
|
};
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import cogtiles from './cogtiles/cogtiles.ts';
|
|
4
|
-
import GeoImage from './geoimage/geoimage.ts';
|
|
5
|
-
declare const _default: {
|
|
6
|
-
CogBitmapLayer: typeof CogBitmapLayer;
|
|
7
|
-
CogTerrainLayer: typeof CogTerrainLayer;
|
|
8
|
-
cogtiles: typeof cogtiles;
|
|
9
|
-
GeoImage: typeof GeoImage;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
1
|
+
export { CogBitmapLayer, CogTerrainLayer } from './layers/index';
|
|
2
|
+
export { CogTiles, GeoImage } from './core/index';
|
|
@@ -2,7 +2,7 @@ import { CompositeLayer, CompositeLayerProps, DefaultProps, TextureSource, Updat
|
|
|
2
2
|
import { _Tile2DHeader as Tile2DHeader, _TileLoadProps as TileLoadProps, GeoBoundingBox, NonGeoBoundingBox, TileLayer, TileLayerProps } from '@deck.gl/geo-layers';
|
|
3
3
|
import { BitmapLayer } from '@deck.gl/layers';
|
|
4
4
|
import type { MeshAttributes } from '@loaders.gl/schema';
|
|
5
|
-
import { GeoImageOptions } from '../
|
|
5
|
+
import { GeoImageOptions } from '../core/GeoImage';
|
|
6
6
|
export type TileBoundingBox = NonGeoBoundingBox | GeoBoundingBox;
|
|
7
7
|
export type ZRange = [minZ: number, maxZ: number];
|
|
8
8
|
export type Bounds = [minX: number, minY: number, maxX: number, maxY: number];
|
|
@@ -23,8 +23,6 @@ type _CogBitmapLayerProps = {
|
|
|
23
23
|
rasterData: URLTemplate;
|
|
24
24
|
/** Bounding box of the bitmap image, [minX, minY, maxX, maxY] in world coordinates. * */
|
|
25
25
|
bounds: Bounds | null;
|
|
26
|
-
/** Weather visualise the entire image with specified opacity (0-1) * */
|
|
27
|
-
opacity?: number;
|
|
28
26
|
/** Whether the rendered texture should be clamped to terrain * */
|
|
29
27
|
clampToTerrain?: ClampToTerrainOptions | boolean;
|
|
30
28
|
/**
|
|
@@ -40,7 +38,7 @@ type _CogBitmapLayerProps = {
|
|
|
40
38
|
/** All properties supported by CogBitmapLayer */
|
|
41
39
|
export type CogBitmapLayerProps = _CogBitmapLayerProps & TileLayerProps<MeshAndTexture> & CompositeLayerProps;
|
|
42
40
|
/** Render bitmap texture from cog raster images. */
|
|
43
|
-
export default class CogBitmapLayer<ExtraPropsT extends
|
|
41
|
+
export default class CogBitmapLayer<ExtraPropsT extends object = object> extends CompositeLayer<ExtraPropsT & Required<_CogBitmapLayerProps & Required<TileLayerProps<MeshAndTexture>>>> {
|
|
44
42
|
static defaultProps: DefaultProps<CogBitmapLayerProps>;
|
|
45
43
|
static layerName: string;
|
|
46
44
|
state: {
|
|
@@ -77,7 +75,7 @@ export default class CogBitmapLayer<ExtraPropsT extends {} = {}> extends Composi
|
|
|
77
75
|
onTileError: (err: any, tile?: any) => void;
|
|
78
76
|
maxCacheSize: number;
|
|
79
77
|
maxCacheByteSize: number;
|
|
80
|
-
refinementStrategy: import("
|
|
78
|
+
refinementStrategy: import("@deck.gl/geo-layers/dist/tileset-2d").RefinementStrategy;
|
|
81
79
|
}>;
|
|
82
80
|
}
|
|
83
81
|
export {};
|
|
@@ -2,6 +2,8 @@ import { Color, CompositeLayer, CompositeLayerProps, DefaultProps, Layer, Layers
|
|
|
2
2
|
import { SimpleMeshLayer } from '@deck.gl/mesh-layers';
|
|
3
3
|
import type { MeshAttributes } from '@loaders.gl/schema';
|
|
4
4
|
import { TileLayerProps, GeoBoundingBox, _TileLoadProps as TileLoadProps, _Tile2DHeader as Tile2DHeader, NonGeoBoundingBox } from '@deck.gl/geo-layers';
|
|
5
|
+
import CogTiles from '../core/CogTiles';
|
|
6
|
+
import { GeoImageOptions } from '../core/GeoImage';
|
|
5
7
|
export type Bounds = [minX: number, minY: number, maxX: number, maxY: number];
|
|
6
8
|
export type TileBoundingBox = NonGeoBoundingBox | GeoBoundingBox;
|
|
7
9
|
export type ZRange = [minZ: number, maxZ: number];
|
|
@@ -26,12 +28,13 @@ type TerrainLoadProps = {
|
|
|
26
28
|
signal?: AbortSignal;
|
|
27
29
|
};
|
|
28
30
|
type MeshAndTexture = [MeshAttributes | null, TextureSource | null];
|
|
29
|
-
/** All properties supported by
|
|
30
|
-
export type
|
|
31
|
-
/** Props added by the
|
|
32
|
-
type
|
|
31
|
+
/** All properties supported by CogTerrainLayer */
|
|
32
|
+
export type CogTerrainLayerProps = _CogTerrainLayerProps & TileLayerProps<MeshAndTexture> & CompositeLayerProps;
|
|
33
|
+
/** Props added by the CogTerrainLayer */
|
|
34
|
+
type _CogTerrainLayerProps = {
|
|
33
35
|
/** Image url that encodes height data. * */
|
|
34
36
|
elevationData: URLTemplate;
|
|
37
|
+
isTiled?: boolean;
|
|
35
38
|
/** Image url to use as texture. * */
|
|
36
39
|
texture?: URLTemplate;
|
|
37
40
|
/** Martini error tolerance in meters, smaller number -> more detailed mesh. * */
|
|
@@ -49,15 +52,15 @@ type _TerrainLayerProps = {
|
|
|
49
52
|
/**
|
|
50
53
|
* TODO
|
|
51
54
|
*/
|
|
52
|
-
terrainOptions:
|
|
55
|
+
terrainOptions: GeoImageOptions;
|
|
53
56
|
/**
|
|
54
57
|
* @deprecated Use `loadOptions.terrain.workerUrl` instead
|
|
55
58
|
*/
|
|
56
59
|
workerUrl?: string;
|
|
57
60
|
};
|
|
58
61
|
/** Render mesh surfaces from height map images. */
|
|
59
|
-
export default class
|
|
60
|
-
static defaultProps: DefaultProps<
|
|
62
|
+
export default class CogTerrainLayer<ExtraPropsT extends object = object> extends CompositeLayer<ExtraPropsT & Required<_CogTerrainLayerProps & Required<TileLayerProps<MeshAndTexture>>>> {
|
|
63
|
+
static defaultProps: DefaultProps<_CogTerrainLayerProps>;
|
|
61
64
|
static layerName: string;
|
|
62
65
|
terrainUrl: string;
|
|
63
66
|
state: {
|
|
@@ -66,9 +69,11 @@ export default class TerrainLayer<ExtraPropsT extends {} = {}> extends Composite
|
|
|
66
69
|
zRange?: ZRange | null;
|
|
67
70
|
minZoom: number;
|
|
68
71
|
maxZoom: number;
|
|
72
|
+
terrainCogTiles: CogTiles;
|
|
73
|
+
initialized: boolean;
|
|
69
74
|
};
|
|
70
75
|
initializeState(context: any): Promise<void>;
|
|
71
|
-
init(
|
|
76
|
+
init(): Promise<void>;
|
|
72
77
|
updateState({ props, oldProps }: UpdateParameters<this>): void;
|
|
73
78
|
loadTerrain({ elevationData, bounds, elevationDecoder, meshMaxError, signal, }: TerrainLoadProps): Promise<MeshAttributes> | null;
|
|
74
79
|
getTiledTerrainData(tile: TileLoadProps): Promise<MeshAndTexture>;
|
package/package.json
CHANGED
|
@@ -1,17 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gisatcz/deckgl-geolib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v2.0.0",
|
|
4
|
+
"description": "Deck.gl extension for rendering Cloud-Optimized GeoTIFF (COG) data",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"deck.gl",
|
|
7
|
+
"geotiff",
|
|
8
|
+
"webgl",
|
|
9
|
+
"gis",
|
|
10
|
+
"visualization",
|
|
11
|
+
"cog"
|
|
12
|
+
],
|
|
4
13
|
"private": false,
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "Gisat",
|
|
16
|
+
"homepage": "https://github.com/gisat/deck.gl-geotiff/tree/master/geoimage#readme",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/Gisat/deck.gl-geotiff.git",
|
|
20
|
+
"directory": "geoimage"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/Gisat/deck.gl-geotiff/issues"
|
|
24
|
+
},
|
|
5
25
|
"main": "dist/cjs/index.js",
|
|
6
26
|
"module": "dist/esm/index.js",
|
|
7
27
|
"type": "module",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
28
|
+
"types": "dist/esm/types/index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/esm/types/index.d.ts",
|
|
32
|
+
"import": "./dist/esm/index.js",
|
|
33
|
+
"require": "./dist/cjs/index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
9
36
|
"sideEffects": false,
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=16.0.0"
|
|
45
|
+
},
|
|
10
46
|
"scripts": {
|
|
11
47
|
"rollup": "rollup -c",
|
|
12
48
|
"start": "yarn && yarn rollup",
|
|
13
|
-
"lint": "eslint 'src/**/*.{js,
|
|
14
|
-
"lintFix": "eslint 'src/**/*.{js,
|
|
49
|
+
"lint": "eslint 'src/**/*.{js,ts,tsx}' -c ./.eslintrc.cjs",
|
|
50
|
+
"lintFix": "eslint 'src/**/*.{js,ts,tsx}' -c ./.eslintrc.cjs --fix"
|
|
15
51
|
},
|
|
16
52
|
"devDependencies": {
|
|
17
53
|
"@rollup/plugin-commonjs": "^25.0.1",
|
package/.eslintignore
DELETED
package/.eslintrc.cjs
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
# v1.9.2 (Wed Mar 06 2024)
|
|
2
|
-
|
|
3
|
-
#### 🐾 Patch
|
|
4
|
-
|
|
5
|
-
- Feature/fix terrain [#41](https://github.com/gisat-panther/deck.gl-geotiff/pull/41) ([@vdubr](https://github.com/vdubr))
|
|
6
|
-
|
|
7
|
-
#### Authors: 1
|
|
8
|
-
|
|
9
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# v1.9.1 (Wed Jan 31 2024)
|
|
14
|
-
|
|
15
|
-
#### 🐾 Patch
|
|
16
|
-
|
|
17
|
-
- Feature/terrain options update [#40](https://github.com/gisat-panther/deck.gl-geotiff/pull/40) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
18
|
-
|
|
19
|
-
#### Authors: 2
|
|
20
|
-
|
|
21
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
22
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
# v1.9.0 (Tue Dec 05 2023)
|
|
27
|
-
|
|
28
|
-
#### 🚀 Enhancement
|
|
29
|
-
|
|
30
|
-
- Color Classes Visualization [#39](https://github.com/gisat-panther/deck.gl-geotiff/pull/39) ([@vdubr](https://github.com/vdubr) mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
31
|
-
|
|
32
|
-
#### 🐾 Patch
|
|
33
|
-
|
|
34
|
-
- Bump package versions [#37](https://github.com/gisat-panther/deck.gl-geotiff/pull/37) ([@vdubr](https://github.com/vdubr))
|
|
35
|
-
|
|
36
|
-
#### Authors: 3
|
|
37
|
-
|
|
38
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
39
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
40
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
# v1.8.1 (Thu Sep 21 2023)
|
|
45
|
-
|
|
46
|
-
#### 🐾 Patch
|
|
47
|
-
|
|
48
|
-
- added option to not use blurred textures [#36](https://github.com/gisat-panther/deck.gl-geotiff/pull/36) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
49
|
-
|
|
50
|
-
#### Authors: 2
|
|
51
|
-
|
|
52
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
53
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
# v1.8.0 (Fri Aug 04 2023)
|
|
58
|
-
|
|
59
|
-
#### 🚀 Enhancement
|
|
60
|
-
|
|
61
|
-
- Feature/alpha visualization [#35](https://github.com/gisat-panther/deck.gl-geotiff/pull/35) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
62
|
-
|
|
63
|
-
#### 🐾 Patch
|
|
64
|
-
|
|
65
|
-
- Documentation [#34](https://github.com/gisat-panther/deck.gl-geotiff/pull/34) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
66
|
-
|
|
67
|
-
#### Authors: 2
|
|
68
|
-
|
|
69
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
70
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
# v1.7.0 (Wed Jul 26 2023)
|
|
75
|
-
|
|
76
|
-
#### 🚀 Enhancement
|
|
77
|
-
|
|
78
|
-
- height images calculation updated [#33](https://github.com/gisat-panther/deck.gl-geotiff/pull/33) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
79
|
-
|
|
80
|
-
#### 📝 Documentation
|
|
81
|
-
|
|
82
|
-
- Documentation [#29](https://github.com/gisat-panther/deck.gl-geotiff/pull/29) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
83
|
-
|
|
84
|
-
#### Authors: 2
|
|
85
|
-
|
|
86
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
87
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
# v1.6.0 (Mon Jun 26 2023)
|
|
92
|
-
|
|
93
|
-
#### 🚀 Enhancement
|
|
94
|
-
|
|
95
|
-
- Feature/terrain layer [#27](https://github.com/gisat-panther/deck.gl-geotiff/pull/27) ([@vdubr](https://github.com/vdubr) ci@example.com)
|
|
96
|
-
|
|
97
|
-
#### Authors: 2
|
|
98
|
-
|
|
99
|
-
- ci (ci@example.com)
|
|
100
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
# v1.5.0 (Fri Jun 23 2023)
|
|
105
|
-
|
|
106
|
-
#### 🚀 Enhancement
|
|
107
|
-
|
|
108
|
-
- Feature/terrain layer [#24](https://github.com/gisat-panther/deck.gl-geotiff/pull/24) ([@vdubr](https://github.com/vdubr))
|
|
109
|
-
|
|
110
|
-
#### 🐾 Patch
|
|
111
|
-
|
|
112
|
-
- calculation of single channel rgb values updated [#23](https://github.com/gisat-panther/deck.gl-geotiff/pull/23) (mariana.kecova@gisat.cz [@MariDani](https://github.com/MariDani))
|
|
113
|
-
|
|
114
|
-
#### Authors: 3
|
|
115
|
-
|
|
116
|
-
- Mariana Kecová ([@MariDani](https://github.com/MariDani))
|
|
117
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
118
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
# v1.4.2 (Wed Jun 21 2023)
|
|
123
|
-
|
|
124
|
-
#### 🐾 Patch
|
|
125
|
-
|
|
126
|
-
- remove unused line [#22](https://github.com/gisat-panther/deck.gl-geotiff/pull/22) ([@vdubr](https://github.com/vdubr))
|
|
127
|
-
|
|
128
|
-
#### Authors: 1
|
|
129
|
-
|
|
130
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
# v1.4.1 (Tue Jun 20 2023)
|
|
135
|
-
|
|
136
|
-
#### ⚠️ Pushed to `master`
|
|
137
|
-
|
|
138
|
-
- Add lock changes ([@vdubr](https://github.com/vdubr))
|
|
139
|
-
- Fix eslint ([@vdubr](https://github.com/vdubr))
|
|
140
|
-
|
|
141
|
-
#### Authors: 1
|
|
142
|
-
|
|
143
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
# v1.4.0 (Tue Jun 20 2023)
|
|
148
|
-
|
|
149
|
-
#### 🚀 Enhancement
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
#### Authors: 1
|
|
153
|
-
|
|
154
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
|
155
|
-
|
|
156
|
-
---
|
|
157
|
-
|
|
158
|
-
# v1.2.0 (Mon Jun 19 2023)
|
|
159
|
-
|
|
160
|
-
#### 🚀 Enhancement
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
#### Authors: 2
|
|
164
|
-
|
|
165
|
-
- Mariana Kecova (mariana.kecova@gisat.cz)
|
|
166
|
-
- Vojtěch Dubrovský ([@vdubr](https://github.com/vdubr))
|
package/rollup.config.mjs
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import resolve from '@rollup/plugin-node-resolve';
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
-
import typescript from '@rollup/plugin-typescript';
|
|
4
|
-
// import dts from 'rollup-plugin-dts';
|
|
5
|
-
import { terser } from 'rollup-plugin-terser';
|
|
6
|
-
import json from '@rollup/plugin-json';
|
|
7
|
-
import filesize from 'rollup-plugin-filesize';
|
|
8
|
-
import path from 'path';
|
|
9
|
-
|
|
10
|
-
const packageJson = {
|
|
11
|
-
main: './dist/cjs/',
|
|
12
|
-
module: './dist/esm/',
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export default [
|
|
16
|
-
{
|
|
17
|
-
external: [
|
|
18
|
-
'isomorphic-fetch',
|
|
19
|
-
'chroma-js',
|
|
20
|
-
'react',
|
|
21
|
-
'react-dom',
|
|
22
|
-
'@deck.gl/core',
|
|
23
|
-
'@deck.gl/extensions',
|
|
24
|
-
'@deck.gl/geo-layers',
|
|
25
|
-
'@deck.gl/layers',
|
|
26
|
-
'@deck.gl/mesh-layers',
|
|
27
|
-
'@luma.gl/constants',
|
|
28
|
-
'@loaders.gl/schema',
|
|
29
|
-
'@loaders.gl/loader-utils',
|
|
30
|
-
],
|
|
31
|
-
input: './src/index.ts',
|
|
32
|
-
output: [
|
|
33
|
-
{
|
|
34
|
-
file: path.join(packageJson.main, 'index.js'),
|
|
35
|
-
format: 'cjs',
|
|
36
|
-
sourcemap: true,
|
|
37
|
-
inlineDynamicImports: true,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
file: path.join(packageJson.main, 'index.min.js'),
|
|
41
|
-
format: 'cjs',
|
|
42
|
-
sourcemap: true,
|
|
43
|
-
plugins: [terser()],
|
|
44
|
-
inlineDynamicImports: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
file: path.join(packageJson.module, 'index.js'),
|
|
48
|
-
format: 'esm',
|
|
49
|
-
sourcemap: true,
|
|
50
|
-
inlineDynamicImports: true,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
file: path.join(packageJson.module, 'index.min.js'),
|
|
54
|
-
format: 'esm',
|
|
55
|
-
sourcemap: true,
|
|
56
|
-
plugins: [terser()],
|
|
57
|
-
inlineDynamicImports: true,
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
plugins: [
|
|
61
|
-
json(),
|
|
62
|
-
resolve({
|
|
63
|
-
preferBuiltins: true,
|
|
64
|
-
browser: true,
|
|
65
|
-
}),
|
|
66
|
-
commonjs(),
|
|
67
|
-
typescript({ tsconfig: './tsconfig.json', exclude: ['**.js'] }),
|
|
68
|
-
filesize(),
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
// {
|
|
72
|
-
// input: 'dist/esm/types/index.d.ts',
|
|
73
|
-
// output: [{ file: 'dist/index.d.ts', format: 'esm' }],
|
|
74
|
-
// plugins: [dts()],
|
|
75
|
-
// external: ['react', 'react-dom'],
|
|
76
|
-
// },
|
|
77
|
-
];
|