@developmentseed/deck.gl-raster 0.6.0-beta.1 → 0.6.1
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/dist/gpu-modules/color/black-is-zero.d.ts +3 -2
- package/dist/gpu-modules/color/black-is-zero.d.ts.map +1 -1
- package/dist/gpu-modules/color/black-is-zero.js +3 -2
- package/dist/gpu-modules/color/black-is-zero.js.map +1 -1
- package/dist/gpu-modules/color/cielab.d.ts +3 -2
- package/dist/gpu-modules/color/cielab.d.ts.map +1 -1
- package/dist/gpu-modules/color/cielab.js +3 -2
- package/dist/gpu-modules/color/cielab.js.map +1 -1
- package/dist/gpu-modules/color/cmyk.d.ts +3 -2
- package/dist/gpu-modules/color/cmyk.d.ts.map +1 -1
- package/dist/gpu-modules/color/cmyk.js +3 -2
- package/dist/gpu-modules/color/cmyk.js.map +1 -1
- package/dist/gpu-modules/color/white-is-zero.d.ts +3 -2
- package/dist/gpu-modules/color/white-is-zero.d.ts.map +1 -1
- package/dist/gpu-modules/color/white-is-zero.js +3 -2
- package/dist/gpu-modules/color/white-is-zero.js.map +1 -1
- package/dist/gpu-modules/color/ycbcr.d.ts +4 -2
- package/dist/gpu-modules/color/ycbcr.d.ts.map +1 -1
- package/dist/gpu-modules/color/ycbcr.js +4 -2
- package/dist/gpu-modules/color/ycbcr.js.map +1 -1
- package/dist/gpu-modules/create-texture.d.ts +5 -2
- package/dist/gpu-modules/create-texture.d.ts.map +1 -1
- package/dist/gpu-modules/create-texture.js +3 -2
- package/dist/gpu-modules/create-texture.js.map +1 -1
- package/dist/gpu-modules/cutline-bbox.d.ts +2 -1
- package/dist/gpu-modules/cutline-bbox.d.ts.map +1 -1
- package/dist/gpu-modules/cutline-bbox.js.map +1 -1
- package/dist/gpu-modules/filter-nodata.d.ts +6 -0
- package/dist/gpu-modules/filter-nodata.d.ts.map +1 -1
- package/dist/gpu-modules/filter-nodata.js.map +1 -1
- package/dist/gpu-modules/mask-texture.d.ts +8 -2
- package/dist/gpu-modules/mask-texture.d.ts.map +1 -1
- package/dist/gpu-modules/mask-texture.js +6 -5
- package/dist/gpu-modules/mask-texture.js.map +1 -1
- package/dist/raster-tile-layer/raster-tile-layer.d.ts +5 -2
- package/dist/raster-tile-layer/raster-tile-layer.d.ts.map +1 -1
- package/dist/raster-tile-layer/raster-tile-layer.js +5 -1
- package/dist/raster-tile-layer/raster-tile-layer.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
*
|
|
2
|
+
* A shader module that converts single-band grayscale data to RGB by
|
|
3
|
+
* broadcasting the input value (0 = black, 1 = white) into all three
|
|
4
|
+
* channels. Matches TIFF `PhotometricInterpretation = 1` (BlackIsZero).
|
|
4
5
|
*/
|
|
5
6
|
export declare const BlackIsZero: {
|
|
6
7
|
readonly name: "black-is-zero";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"black-is-zero.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/black-is-zero.ts"],"names":[],"mappings":"AAQA
|
|
1
|
+
{"version":3,"file":"black-is-zero.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/black-is-zero.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;CAQS,CAAC"}
|
|
@@ -4,8 +4,9 @@ const shader = /* glsl */ `
|
|
|
4
4
|
}
|
|
5
5
|
`;
|
|
6
6
|
/**
|
|
7
|
-
* A shader module that
|
|
8
|
-
*
|
|
7
|
+
* A shader module that converts single-band grayscale data to RGB by
|
|
8
|
+
* broadcasting the input value (0 = black, 1 = white) into all three
|
|
9
|
+
* channels. Matches TIFF `PhotometricInterpretation = 1` (BlackIsZero).
|
|
9
10
|
*/
|
|
10
11
|
export const BlackIsZero = {
|
|
11
12
|
name: "black-is-zero",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"black-is-zero.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/black-is-zero.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;CAIzB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"black-is-zero.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/black-is-zero.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;CAIzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM;QAClB,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;CAC8B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
*
|
|
2
|
+
* A shader module that converts CIE L\*a\*b\* input (RGB channels read as L,
|
|
3
|
+
* a, b on a D65 white point) to sRGB. For TIFFs with
|
|
4
|
+
* `PhotometricInterpretation = 8` (CIELab).
|
|
4
5
|
*/
|
|
5
6
|
export declare const cieLabToRGB: {
|
|
6
7
|
readonly name: "cielab-to-rgb";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cielab.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/cielab.ts"],"names":[],"mappings":"AA8CA
|
|
1
|
+
{"version":3,"file":"cielab.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/cielab.ts"],"names":[],"mappings":"AA8CA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;CAQS,CAAC"}
|
|
@@ -42,8 +42,9 @@ const shader = /* glsl */ `
|
|
|
42
42
|
}
|
|
43
43
|
`;
|
|
44
44
|
/**
|
|
45
|
-
* A shader module that
|
|
46
|
-
*
|
|
45
|
+
* A shader module that converts CIE L\*a\*b\* input (RGB channels read as L,
|
|
46
|
+
* a, b on a D65 white point) to sRGB. For TIFFs with
|
|
47
|
+
* `PhotometricInterpretation = 8` (CIELab).
|
|
47
48
|
*/
|
|
48
49
|
export const cieLabToRGB = {
|
|
49
50
|
name: "cielab-to-rgb",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cielab.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/cielab.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CzB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"cielab.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/cielab.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM;QAClB,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;CAC8B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
* to
|
|
2
|
+
* A shader module that converts CMYK input (RGBA channels read as C, M, Y,
|
|
3
|
+
* K) to RGB. For TIFFs with `PhotometricInterpretation = 5` (Separated /
|
|
4
|
+
* CMYK).
|
|
4
5
|
*/
|
|
5
6
|
export declare const CMYKToRGB: {
|
|
6
7
|
readonly name: "cmyk-to-rgb";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmyk.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/cmyk.ts"],"names":[],"mappings":"AAeA
|
|
1
|
+
{"version":3,"file":"cmyk.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/cmyk.ts"],"names":[],"mappings":"AAeA;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;CAQW,CAAC"}
|
|
@@ -11,8 +11,9 @@ const shader = /* glsl */ `
|
|
|
11
11
|
}
|
|
12
12
|
`;
|
|
13
13
|
/**
|
|
14
|
-
* A shader module that
|
|
15
|
-
* to
|
|
14
|
+
* A shader module that converts CMYK input (RGBA channels read as C, M, Y,
|
|
15
|
+
* K) to RGB. For TIFFs with `PhotometricInterpretation = 5` (Separated /
|
|
16
|
+
* CMYK).
|
|
16
17
|
*/
|
|
17
18
|
export const CMYKToRGB = {
|
|
18
19
|
name: "cmyk-to-rgb",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmyk.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/cmyk.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;CAWzB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"cmyk.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/cmyk.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;CAWzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM;QAClB,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;CAC8B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
*
|
|
2
|
+
* A shader module that converts single-band grayscale data to RGB by
|
|
3
|
+
* broadcasting the inverted input value (0 = white, 1 = black) into all
|
|
4
|
+
* three channels. Matches TIFF `PhotometricInterpretation = 0` (WhiteIsZero).
|
|
4
5
|
*/
|
|
5
6
|
export declare const WhiteIsZero: {
|
|
6
7
|
readonly name: "white-is-zero";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"white-is-zero.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/white-is-zero.ts"],"names":[],"mappings":"AAQA
|
|
1
|
+
{"version":3,"file":"white-is-zero.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/white-is-zero.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;CAQS,CAAC"}
|
|
@@ -4,8 +4,9 @@ const shader = /* glsl */ `
|
|
|
4
4
|
}
|
|
5
5
|
`;
|
|
6
6
|
/**
|
|
7
|
-
* A shader module that
|
|
8
|
-
*
|
|
7
|
+
* A shader module that converts single-band grayscale data to RGB by
|
|
8
|
+
* broadcasting the inverted input value (0 = white, 1 = black) into all
|
|
9
|
+
* three channels. Matches TIFF `PhotometricInterpretation = 0` (WhiteIsZero).
|
|
9
10
|
*/
|
|
10
11
|
export const WhiteIsZero = {
|
|
11
12
|
name: "white-is-zero",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"white-is-zero.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/white-is-zero.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;CAIzB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"white-is-zero.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/white-is-zero.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;CAIzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM;QAClB,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;CAC8B,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
* to
|
|
2
|
+
* A shader module that converts YCbCr input (RGB channels read as Y, Cb,
|
|
3
|
+
* Cr) to RGB using the JFIF / JPEG conversion. For TIFFs with
|
|
4
|
+
* `PhotometricInterpretation = 6` (YCbCr) where the decoder has not
|
|
5
|
+
* already converted to RGB.
|
|
4
6
|
*/
|
|
5
7
|
export declare const YCbCrToRGB: {
|
|
6
8
|
readonly name: "ycbcr-to-rgb";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ycbcr.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/ycbcr.ts"],"names":[],"mappings":"AAiBA
|
|
1
|
+
{"version":3,"file":"ycbcr.d.ts","sourceRoot":"","sources":["../../../src/gpu-modules/color/ycbcr.ts"],"names":[],"mappings":"AAiBA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;CAQU,CAAC"}
|
|
@@ -13,8 +13,10 @@ const shader = /* glsl */ `
|
|
|
13
13
|
}
|
|
14
14
|
`;
|
|
15
15
|
/**
|
|
16
|
-
* A shader module that
|
|
17
|
-
* to
|
|
16
|
+
* A shader module that converts YCbCr input (RGB channels read as Y, Cb,
|
|
17
|
+
* Cr) to RGB using the JFIF / JPEG conversion. For TIFFs with
|
|
18
|
+
* `PhotometricInterpretation = 6` (YCbCr) where the decoder has not
|
|
19
|
+
* already converted to RGB.
|
|
18
20
|
*/
|
|
19
21
|
export const YCbCrToRGB = {
|
|
20
22
|
name: "ycbcr-to-rgb",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ycbcr.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/ycbcr.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;;;CAazB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"ycbcr.js","sourceRoot":"","sources":["../../../src/gpu-modules/color/ycbcr.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,UAAU,CAAC;;;;;;;;;;;;;CAazB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM;QAClB,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;CAC8B,CAAC"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { Texture } from "@luma.gl/core";
|
|
2
|
+
/** Props for the {@link CreateTexture} shader module. */
|
|
2
3
|
export type CreateTextureProps = {
|
|
4
|
+
/** The input image texture to sample. */
|
|
3
5
|
textureName: Texture;
|
|
4
6
|
};
|
|
5
7
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
+
* The base shader module for a render pipeline: samples a single input
|
|
9
|
+
* texture into `color` so subsequent modules can transform it. Use this
|
|
10
|
+
* when no decoding step (e.g. {@link CompositeBands}) is needed.
|
|
8
11
|
*/
|
|
9
12
|
export declare const CreateTexture: {
|
|
10
13
|
readonly name: "create-texture-unorm";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-texture.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/create-texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"create-texture.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/create-texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,yDAAyD;AACzD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,yCAAyC;IACzC,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;kCAQH,OAAO,CAAC,kBAAkB,CAAC;;;CAKG,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* The base shader module for a render pipeline: samples a single input
|
|
3
|
+
* texture into `color` so subsequent modules can transform it. Use this
|
|
4
|
+
* when no decoding step (e.g. {@link CompositeBands}) is needed.
|
|
4
5
|
*/
|
|
5
6
|
export const CreateTexture = {
|
|
6
7
|
name: "create-texture-unorm",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-texture.js","sourceRoot":"","sources":["../../src/gpu-modules/create-texture.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-texture.js","sourceRoot":"","sources":["../../src/gpu-modules/create-texture.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,UAAU,EAAE,gCAAgC;QAC5C,wBAAwB,EAAE,UAAU,CAAC;;KAEpC;KACF;IACD,WAAW,EAAE,CAAC,KAAkC,EAAE,EAAE;QAClD,OAAO;YACL,WAAW,EAAE,KAAK,CAAC,WAAW;SAC/B,CAAC;IACJ,CAAC;CACkD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** Props for the {@link CutlineBbox} shader module. */
|
|
1
2
|
export type CutlineBboxProps = {
|
|
2
3
|
/**
|
|
3
4
|
* Axis-aligned bbox in **EPSG:3857 meters**, packed as
|
|
@@ -5,7 +6,7 @@ export type CutlineBboxProps = {
|
|
|
5
6
|
* as the layer's mesh `positions` attribute — for `COGLayer` /
|
|
6
7
|
* `RasterLayer`'s Web Mercator rendering path, that is raw 3857 meters.
|
|
7
8
|
*
|
|
8
|
-
* Use {@link
|
|
9
|
+
* Use {@link lngLatToMercator} to project a WGS84 lng/lat bbox once
|
|
9
10
|
* at bbox definition time.
|
|
10
11
|
*/
|
|
11
12
|
bbox: [number, number, number, number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cutline-bbox.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/cutline-bbox.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;;;;OAQG;IACH,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAUF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;kCAyCD,OAAO,CAAC,gBAAgB,CAAC;;;;;CAEG,CAAC;AAEpD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAU3E"}
|
|
1
|
+
{"version":3,"file":"cutline-bbox.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/cutline-bbox.ts"],"names":[],"mappings":"AAQA,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;;;;OAQG;IACH,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAUF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;kCAyCD,OAAO,CAAC,gBAAgB,CAAC;;;;;CAEG,CAAC;AAEpD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAU3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cutline-bbox.js","sourceRoot":"","sources":["../../src/gpu-modules/cutline-bbox.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,MAAM,YAAY,GAAG,SAAS,CAAC;AAE/B,8CAA8C;AAC9C,MAAM,kBAAkB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"cutline-bbox.js","sourceRoot":"","sources":["../../src/gpu-modules/cutline-bbox.ts"],"names":[],"mappings":"AAEA,wEAAwE;AACxE,MAAM,YAAY,GAAG,SAAS,CAAC;AAE/B,8CAA8C;AAC9C,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAgBrC,MAAM,WAAW,GAAG,aAAa,CA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AAY,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;IACzE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAChB,CAAC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
/** Props for the {@link FilterNoDataVal} shader module. */
|
|
1
2
|
export type FilterNoDataValProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The sentinel nodata value, in the same units as `color.r` after any
|
|
5
|
+
* earlier pipeline modules. Pixels whose red channel exactly equals
|
|
6
|
+
* this value are discarded.
|
|
7
|
+
*/
|
|
2
8
|
value: number;
|
|
3
9
|
};
|
|
4
10
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-nodata.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/filter-nodata.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;kCAaL,OAAO,CAAC,oBAAoB,CAAC;;;CAKG,CAAC"}
|
|
1
|
+
{"version":3,"file":"filter-nodata.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/filter-nodata.ts"],"names":[],"mappings":"AAEA,2DAA2D;AAC3D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAWF;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;kCAaL,OAAO,CAAC,oBAAoB,CAAC;;;CAKG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-nodata.js","sourceRoot":"","sources":["../../src/gpu-modules/filter-nodata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"filter-nodata.js","sourceRoot":"","sources":["../../src/gpu-modules/filter-nodata.ts"],"names":[],"mappings":"AAYA,0CAA0C;AAC1C,MAAM,WAAW,GAAG,QAAQ,CAAC;AAE7B,MAAM,YAAY,GAAG;UACX,WAAW;;IAEjB,WAAW;CACd,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,WAAW;IACjB,EAAE,EAAE,YAAY;IAChB,MAAM,EAAE;QACN,wBAAwB,EAAE,UAAU,CAAC;;;;KAIpC;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,KAAK;KACb;IACD,WAAW,EAAE,CAAC,KAAoC,EAAE,EAAE;QACpD,OAAO;YACL,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAC;IACJ,CAAC;CACoD,CAAC"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import type { Texture } from "@luma.gl/core";
|
|
2
|
+
/** Props for the {@link MaskTexture} shader module. */
|
|
2
3
|
export type MaskTextureProps = {
|
|
4
|
+
/** Single-channel mask texture; pixels with value 0 are discarded. */
|
|
3
5
|
maskTexture: Texture;
|
|
4
6
|
};
|
|
5
7
|
/**
|
|
6
|
-
* A shader module that
|
|
7
|
-
*
|
|
8
|
+
* A shader module that discards fragments where a separate single-channel
|
|
9
|
+
* mask texture reads zero. Useful for COG / GeoTIFF transparency masks
|
|
10
|
+
* stored as a sibling IFD.
|
|
11
|
+
*
|
|
12
|
+
* Compares directly against 0.0; assumes the mask is sampled with nearest-
|
|
13
|
+
* neighbor filtering so there are no interpolated intermediate values.
|
|
8
14
|
*/
|
|
9
15
|
export declare const MaskTexture: {
|
|
10
16
|
readonly name: "mask-texture";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask-texture.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/mask-texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"mask-texture.d.ts","sourceRoot":"","sources":["../../src/gpu-modules/mask-texture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG7C,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,sEAAsE;IACtE,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;;;;kCAWD,OAAO,CAAC,gBAAgB,CAAC;;;CAKG,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A shader module that
|
|
3
|
-
*
|
|
2
|
+
* A shader module that discards fragments where a separate single-channel
|
|
3
|
+
* mask texture reads zero. Useful for COG / GeoTIFF transparency masks
|
|
4
|
+
* stored as a sibling IFD.
|
|
5
|
+
*
|
|
6
|
+
* Compares directly against 0.0; assumes the mask is sampled with nearest-
|
|
7
|
+
* neighbor filtering so there are no interpolated intermediate values.
|
|
4
8
|
*/
|
|
5
|
-
// Note, we compare directly against 0.0 because we use nearest neighbor
|
|
6
|
-
// sampling for the mask texture. So there will never be any interpolated values
|
|
7
|
-
// between 0 and 1.
|
|
8
9
|
export const MaskTexture = {
|
|
9
10
|
name: "mask-texture",
|
|
10
11
|
inject: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask-texture.js","sourceRoot":"","sources":["../../src/gpu-modules/mask-texture.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mask-texture.js","sourceRoot":"","sources":["../../src/gpu-modules/mask-texture.ts"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,cAAc;IACpB,MAAM,EAAE;QACN,UAAU,EAAE,gCAAgC;QAC5C,wBAAwB,EAAE,UAAU,CAAC;;;;;KAKpC;KACF;IACD,WAAW,EAAE,CAAC,KAAgC,EAAE,EAAE;QAChD,OAAO;YACL,WAAW,EAAE,KAAK,CAAC,WAAW;SAC/B,CAAC;IACJ,CAAC;CACgD,CAAC"}
|
|
@@ -6,8 +6,11 @@ import type { RenderTileResult } from "../raster-layer.js";
|
|
|
6
6
|
import type { TilesetDescriptor } from "../raster-tileset/index.js";
|
|
7
7
|
/**
|
|
8
8
|
* Minimum interface returned by `getTileData`.
|
|
9
|
+
*
|
|
10
|
+
* `null` is permitted to describe failed tile loads that do not produce any
|
|
11
|
+
* data, which then do not render any layer.
|
|
9
12
|
*/
|
|
10
|
-
export type MinimalTileData = {
|
|
13
|
+
export type MinimalTileData = null | {
|
|
11
14
|
/** Tile height in pixels. */
|
|
12
15
|
height: number;
|
|
13
16
|
/** Tile width in pixels. */
|
|
@@ -62,7 +65,7 @@ export type RasterTileLayerProps<DataT extends MinimalTileData = MinimalTileData
|
|
|
62
65
|
*
|
|
63
66
|
* Subclasses may supply this via state by overriding `_renderTileCallback()`.
|
|
64
67
|
*/
|
|
65
|
-
renderTile?: (data: DataT) => RenderTileResult;
|
|
68
|
+
renderTile?: (data: DataT) => RenderTileResult | null;
|
|
66
69
|
/**
|
|
67
70
|
* Maximum reprojection error in pixels for mesh refinement.
|
|
68
71
|
* Lower values create denser meshes.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-tile-layer.d.ts","sourceRoot":"","sources":["../../src/raster-tile-layer/raster-tile-layer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACZ,KAAK,EAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAEV,cAAc,EACd,cAAc,IAAI,aAAa,EAEhC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE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AC,KAAK,CAAC,CAAC,YAAY,CAAC;IAIjE,YAAY,IAAI,KAAK,GAAG,IAAI;IAYrC,OAAO,CAAC,gBAAgB;YAwDV,gBAAgB;IAiB9B,OAAO,CAAC,gBAAgB;CAuFzB"}
|
|
@@ -126,7 +126,11 @@ export class RasterTileLayer extends CompositeLayer {
|
|
|
126
126
|
return layers;
|
|
127
127
|
}
|
|
128
128
|
const { forwardTransform, inverseTransform } = level.tileTransform(x, y);
|
|
129
|
-
const
|
|
129
|
+
const tileResult = renderTile(props.data);
|
|
130
|
+
if (!tileResult) {
|
|
131
|
+
return layers;
|
|
132
|
+
}
|
|
133
|
+
const { image, renderPipeline } = tileResult;
|
|
130
134
|
const { width, height } = props.data;
|
|
131
135
|
const isGlobe = this.context.viewport.resolution !== undefined;
|
|
132
136
|
const reprojectionFns = isGlobe
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raster-tile-layer.js","sourceRoot":"","sources":["../../src/raster-tile-layer/raster-tile-layer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAO/C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"raster-tile-layer.js","sourceRoot":"","sources":["../../src/raster-tile-layer/raster-tile-layer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAO/C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EA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
"name": "@developmentseed/deck.gl-raster",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Georeferenced image data visualization in deck.gl",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -52,15 +52,15 @@
|
|
|
52
52
|
"@deck.gl/mesh-layers": "^9.3.0",
|
|
53
53
|
"@luma.gl/core": "^9.3.2",
|
|
54
54
|
"@luma.gl/shadertools": "^9.3.2",
|
|
55
|
-
"@developmentseed/morecantile": "^0.6.
|
|
55
|
+
"@developmentseed/morecantile": "^0.6.1"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@math.gl/core": "^4.1.0",
|
|
59
59
|
"@math.gl/culling": "^4.1.0",
|
|
60
60
|
"@math.gl/web-mercator": "^4.1.0",
|
|
61
|
-
"@developmentseed/affine": "^0.6.
|
|
62
|
-
"@developmentseed/proj": "^0.6.
|
|
63
|
-
"@developmentseed/raster-reproject": "^0.6.
|
|
61
|
+
"@developmentseed/affine": "^0.6.1",
|
|
62
|
+
"@developmentseed/proj": "^0.6.1",
|
|
63
|
+
"@developmentseed/raster-reproject": "^0.6.1"
|
|
64
64
|
},
|
|
65
65
|
"volta": {
|
|
66
66
|
"extends": "../../package.json"
|