kepler.gl 3.1.9 → 3.2.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 +21 -21
- package/dist/src/components/src/common/link-renderer.d.ts +6 -2
- package/dist/src/components/src/index.d.ts +1 -0
- package/dist/src/components/src/map-container.d.ts +1 -0
- package/dist/src/components/src/plot-container.d.ts +1 -0
- package/dist/src/components/src/side-panel/layer-manager.d.ts +1 -0
- package/dist/src/duckdb/src/index.d.ts +1 -0
- package/dist/src/duckdb/src/processors/data-processor.d.ts +8 -0
- package/dist/src/utils/src/data-utils.d.ts +1 -0
- package/package.json +2 -2
- package/src/actions/package.json +8 -8
- package/src/ai-assistant/package.json +7 -7
- package/src/cloud-providers/package.json +2 -2
- package/src/common-utils/package.json +3 -3
- package/src/components/dist/common/link-renderer.d.ts +6 -2
- package/src/components/dist/common/link-renderer.js +1 -1
- package/src/components/dist/index.d.ts +1 -0
- package/src/components/dist/index.js +44 -1
- package/src/components/dist/map-container.d.ts +1 -0
- package/src/components/dist/map-container.js +2 -1
- package/src/components/dist/modal-container.js +3 -3
- package/src/components/dist/modals/tilesets-modals/tileset-raster-form.js +38 -9
- package/src/components/dist/plot-container.d.ts +1 -0
- package/src/components/dist/plot-container.js +7 -4
- package/src/components/dist/side-panel/layer-manager.d.ts +1 -0
- package/src/components/dist/side-panel/layer-manager.js +5 -3
- package/src/components/dist/side-panel/layer-panel/color-scale-selector.js +16 -9
- package/src/components/dist/side-panel/layer-panel/raster-tile-layer-configurator.js +3 -3
- package/src/components/package.json +16 -16
- package/src/components/src/common/link-renderer.tsx +7 -2
- package/src/components/src/index.ts +8 -0
- package/src/components/src/map-container.tsx +4 -0
- package/src/components/src/modal-container.tsx +6 -2
- package/src/components/src/modals/tilesets-modals/tileset-raster-form.tsx +60 -4
- package/src/components/src/plot-container.tsx +9 -3
- package/src/components/src/side-panel/layer-manager.tsx +4 -2
- package/src/components/src/side-panel/layer-panel/color-scale-selector.tsx +22 -9
- package/src/components/src/side-panel/layer-panel/raster-tile-layer-configurator.tsx +2 -1
- package/src/constants/dist/default-settings.js +1 -1
- package/src/constants/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/56/48/71c2c5381c01c063c164e15fa04b4b1f3faae02e6727f2f2daf483e15205feca68334bad721af0c6f31abb20b56d60504623838127764aab6883912e7f71 +1 -0
- package/src/constants/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/e4/a7/04d0f645deb094cab21e70c2457f3b87750bee1dfea9b3ad1d4f746ae10ff013d960af8a46b1f87a10409989d6a352c21e29a8784a161a84f83a310955e2 +1 -0
- package/src/constants/node_modules/.cache/terser-webpack-plugin/index-v5/b2/5f/6daa692cacd1234803d6a5abefef0c49aae2d1403e4d8e53140088950a04 +2 -0
- package/src/constants/node_modules/.cache/terser-webpack-plugin/index-v5/bf/88/ea60c7619185516464a4ae21f51394966047bfdf190a5463de651c61931c +2 -0
- package/src/constants/package.json +2 -2
- package/src/constants/umd/keplergl.min.js +1 -1
- package/src/deckgl-arrow-layers/package.json +2 -2
- package/src/deckgl-layers/package.json +4 -4
- package/src/duckdb/dist/index.d.ts +1 -0
- package/src/duckdb/dist/index.js +24 -2
- package/src/duckdb/dist/processors/data-processor.d.ts +8 -0
- package/src/duckdb/dist/processors/data-processor.js +23 -1
- package/src/duckdb/package.json +6 -6
- package/src/duckdb/src/index.ts +5 -0
- package/src/duckdb/src/processors/data-processor.ts +25 -1
- package/src/effects/package.json +5 -5
- package/src/layers/dist/raster-tile/gpu-utils.d.ts +11 -10
- package/src/layers/dist/raster-tile/gpu-utils.js +7 -6
- package/src/layers/dist/raster-tile/image.d.ts +4 -0
- package/src/layers/dist/raster-tile/image.js +30 -16
- package/src/layers/dist/raster-tile/raster-tile-layer.d.ts +4 -0
- package/src/layers/dist/raster-tile/raster-tile-layer.js +18 -6
- package/src/layers/dist/raster-tile/request-throttle.d.ts +1 -1
- package/src/layers/dist/raster-tile/request-throttle.js +17 -16
- package/src/layers/dist/raster-tile/types.d.ts +16 -0
- package/src/layers/dist/raster-tile/types.js +1 -1
- package/src/layers/dist/raster-tile/url.d.ts +1 -1
- package/src/layers/dist/raster-tile/url.js +5 -4
- package/src/layers/package.json +9 -9
- package/src/layers/src/raster-tile/gpu-utils.ts +96 -78
- package/src/layers/src/raster-tile/image.ts +35 -9
- package/src/layers/src/raster-tile/raster-tile-layer.ts +23 -5
- package/src/layers/src/raster-tile/request-throttle.ts +10 -5
- package/src/layers/src/raster-tile/types.ts +19 -1
- package/src/layers/src/raster-tile/url.ts +10 -3
- package/src/localization/package.json +1 -1
- package/src/processors/package.json +7 -7
- package/src/reducers/package.json +16 -16
- package/src/schemas/package.json +7 -7
- package/src/styles/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/21/4a/50f77069dbf70c6792dd82d4e149375a888e25ddddd3209e2db013be62091f79082291fa06eb518cccb111b09a778e2946c1fb7a27bb6e32f72da0ccf250 +1 -0
- package/src/styles/node_modules/.cache/terser-webpack-plugin/content-v2/sha512/41/e3/d873c0efff87c4438d34d09be942ff6877947926c2309949e1eea8a58722c9ebf1e9451b44f62996d3590f398318e2fd17f19613445810226c8354b7d746 +1 -0
- package/src/styles/node_modules/.cache/terser-webpack-plugin/index-v5/9d/95/efc8c9f0bdd09b105646cf5e34b067e621726ceeb296771ff7da9e2e03b4 +2 -0
- package/src/styles/node_modules/.cache/terser-webpack-plugin/index-v5/c5/b6/9c4bdb089acc30ac8a16a6b9b93898757537f7017b2f725ddb832b4614d6 +2 -0
- package/src/styles/package.json +2 -2
- package/src/styles/umd/keplergl.min.js +1 -1
- package/src/table/dist/tileset/vector-tile-utils.js +9 -5
- package/src/table/package.json +5 -5
- package/src/table/src/tileset/vector-tile-utils.ts +9 -6
- package/src/tasks/package.json +2 -2
- package/src/types/package.json +1 -1
- package/src/utils/dist/application-config.js +5 -5
- package/src/utils/dist/data-scale-utils.js +35 -16
- package/src/utils/dist/data-utils.d.ts +1 -0
- package/src/utils/dist/data-utils.js +2 -1
- package/src/utils/package.json +4 -4
- package/src/utils/src/application-config.ts +4 -6
- package/src/utils/src/data-scale-utils.ts +34 -21
- package/src/utils/src/data-utils.ts +1 -0
- package/umd/keplergl.min.js +1240 -1220
|
@@ -109,9 +109,10 @@ export function getStacApiUrlParams(options: {
|
|
|
109
109
|
|
|
110
110
|
export function bandIndexesToURLParams(
|
|
111
111
|
urlParams: URLSearchParams,
|
|
112
|
-
bandIndexes: BandIndexes
|
|
112
|
+
bandIndexes: BandIndexes,
|
|
113
|
+
useNewFormat: boolean
|
|
113
114
|
): URLSearchParams {
|
|
114
|
-
if (
|
|
115
|
+
if (useNewFormat) {
|
|
115
116
|
// for newer titiler versions
|
|
116
117
|
bandIndexes.forEach(bandIndex => {
|
|
117
118
|
urlParams.append('bidx', String(bandIndex + 1));
|
|
@@ -143,7 +144,13 @@ export function getSingleCOGUrlParams(options: {
|
|
|
143
144
|
return_mask: String(mask),
|
|
144
145
|
url
|
|
145
146
|
});
|
|
146
|
-
return bandIndexesToURLParams(
|
|
147
|
+
return bandIndexesToURLParams(
|
|
148
|
+
urlParams,
|
|
149
|
+
loadBandIndexes,
|
|
150
|
+
Boolean(
|
|
151
|
+
stac.rasterServerUseLatestTitiler ?? getApplicationConfig().rasterServerUseLatestTitiler
|
|
152
|
+
)
|
|
153
|
+
);
|
|
147
154
|
}
|
|
148
155
|
|
|
149
156
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kepler.gl/processors",
|
|
3
3
|
"author": "Shan He <shan@uber.com>",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@danmarshall/deckgl-typings": "4.9.22",
|
|
34
|
-
"@kepler.gl/common-utils": "3.
|
|
35
|
-
"@kepler.gl/constants": "3.
|
|
36
|
-
"@kepler.gl/schemas": "3.
|
|
37
|
-
"@kepler.gl/table": "3.
|
|
38
|
-
"@kepler.gl/types": "3.
|
|
39
|
-
"@kepler.gl/utils": "3.
|
|
34
|
+
"@kepler.gl/common-utils": "3.2.0",
|
|
35
|
+
"@kepler.gl/constants": "3.2.0",
|
|
36
|
+
"@kepler.gl/schemas": "3.2.0",
|
|
37
|
+
"@kepler.gl/table": "3.2.0",
|
|
38
|
+
"@kepler.gl/types": "3.2.0",
|
|
39
|
+
"@kepler.gl/utils": "3.2.0",
|
|
40
40
|
"@loaders.gl/arrow": "^4.3.2",
|
|
41
41
|
"@loaders.gl/core": "^4.3.2",
|
|
42
42
|
"@loaders.gl/csv": "^4.3.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kepler.gl/reducers",
|
|
3
3
|
"author": "Shan He <shan@uber.com>",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "kepler.gl constants used by kepler.gl components, actions and reducers",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -30,21 +30,21 @@
|
|
|
30
30
|
"umd"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@kepler.gl/actions": "3.
|
|
34
|
-
"@kepler.gl/cloud-providers": "3.
|
|
35
|
-
"@kepler.gl/common-utils": "3.
|
|
36
|
-
"@kepler.gl/constants": "3.
|
|
37
|
-
"@kepler.gl/deckgl-arrow-layers": "3.
|
|
38
|
-
"@kepler.gl/deckgl-layers": "3.
|
|
39
|
-
"@kepler.gl/effects": "3.
|
|
40
|
-
"@kepler.gl/layers": "3.
|
|
41
|
-
"@kepler.gl/localization": "3.
|
|
42
|
-
"@kepler.gl/processors": "3.
|
|
43
|
-
"@kepler.gl/schemas": "3.
|
|
44
|
-
"@kepler.gl/table": "3.
|
|
45
|
-
"@kepler.gl/tasks": "3.
|
|
46
|
-
"@kepler.gl/types": "3.
|
|
47
|
-
"@kepler.gl/utils": "3.
|
|
33
|
+
"@kepler.gl/actions": "3.2.0",
|
|
34
|
+
"@kepler.gl/cloud-providers": "3.2.0",
|
|
35
|
+
"@kepler.gl/common-utils": "3.2.0",
|
|
36
|
+
"@kepler.gl/constants": "3.2.0",
|
|
37
|
+
"@kepler.gl/deckgl-arrow-layers": "3.2.0",
|
|
38
|
+
"@kepler.gl/deckgl-layers": "3.2.0",
|
|
39
|
+
"@kepler.gl/effects": "3.2.0",
|
|
40
|
+
"@kepler.gl/layers": "3.2.0",
|
|
41
|
+
"@kepler.gl/localization": "3.2.0",
|
|
42
|
+
"@kepler.gl/processors": "3.2.0",
|
|
43
|
+
"@kepler.gl/schemas": "3.2.0",
|
|
44
|
+
"@kepler.gl/table": "3.2.0",
|
|
45
|
+
"@kepler.gl/tasks": "3.2.0",
|
|
46
|
+
"@kepler.gl/types": "3.2.0",
|
|
47
|
+
"@kepler.gl/utils": "3.2.0",
|
|
48
48
|
"@loaders.gl/loader-utils": "^4.3.2",
|
|
49
49
|
"@mapbox/geo-viewport": "^0.4.1",
|
|
50
50
|
"@math.gl/web-mercator": "^3.6.2",
|
package/src/schemas/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kepler.gl/schemas",
|
|
3
3
|
"author": "Shan He <shan@uber.com>",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"description": "kepler.gl schemas used by kepler.gl components, actions and reducers",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"umd"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@kepler.gl/common-utils": "3.
|
|
34
|
-
"@kepler.gl/constants": "3.
|
|
35
|
-
"@kepler.gl/layers": "3.
|
|
36
|
-
"@kepler.gl/table": "3.
|
|
37
|
-
"@kepler.gl/types": "3.
|
|
38
|
-
"@kepler.gl/utils": "3.
|
|
33
|
+
"@kepler.gl/common-utils": "3.2.0",
|
|
34
|
+
"@kepler.gl/constants": "3.2.0",
|
|
35
|
+
"@kepler.gl/layers": "3.2.0",
|
|
36
|
+
"@kepler.gl/table": "3.2.0",
|
|
37
|
+
"@kepler.gl/types": "3.2.0",
|
|
38
|
+
"@kepler.gl/utils": "3.2.0",
|
|
39
39
|
"@loaders.gl/loader-utils": "^4.3.2",
|
|
40
40
|
"@types/keymirror": "^0.1.1",
|
|
41
41
|
"@types/lodash": "4.17.5",
|