@mapcatch/util 2.0.4 → 2.0.5-b
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 +44 -0
- package/dist/catchUtil.min.esm.js +56 -102
- package/dist/catchUtil.min.js +2 -2
- package/package.json +26 -2
- package/src/constants/crs.js +42098 -42098
- package/src/constants/default_layers.js +42 -94
- package/src/gl-operations/constants.js +9 -9
- package/src/gl-operations/default_options.js +97 -97
- package/src/gl-operations/index.js +532 -532
- package/src/gl-operations/reglCommands/contours.js +27 -27
- package/src/gl-operations/reglCommands/default.js +45 -45
- package/src/gl-operations/reglCommands/hillshading.js +340 -340
- package/src/gl-operations/reglCommands/index.js +6 -6
- package/src/gl-operations/reglCommands/multiLayers.js +303 -303
- package/src/gl-operations/reglCommands/transitions.js +111 -111
- package/src/gl-operations/reglCommands/util.js +71 -71
- package/src/gl-operations/renderer.js +209 -209
- package/src/gl-operations/shaders/fragment/convertDem.js +25 -25
- package/src/gl-operations/shaders/fragment/convolutionSmooth.js +54 -54
- package/src/gl-operations/shaders/fragment/diffCalc.js +33 -33
- package/src/gl-operations/shaders/fragment/drawResult.js +46 -46
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvAmbientShadows.js +78 -78
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvDirect.js +59 -59
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvFinalBaselayer.js +30 -30
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvFinalColorscale.js +60 -60
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvMergeAndScaleTiles.js +26 -26
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvNormals.js +25 -25
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvSmooth.js +53 -53
- package/src/gl-operations/shaders/fragment/hillshading/hsAdvSoftShadows.js +80 -80
- package/src/gl-operations/shaders/fragment/hillshading/hsPregen.js +54 -54
- package/src/gl-operations/shaders/fragment/interpolateColor.js +65 -65
- package/src/gl-operations/shaders/fragment/interpolateColorOnly.js +49 -49
- package/src/gl-operations/shaders/fragment/interpolateValue.js +136 -136
- package/src/gl-operations/shaders/fragment/multiAnalyze1Calc.js +35 -35
- package/src/gl-operations/shaders/fragment/multiAnalyze2Calc.js +45 -45
- package/src/gl-operations/shaders/fragment/multiAnalyze3Calc.js +53 -53
- package/src/gl-operations/shaders/fragment/multiAnalyze4Calc.js +61 -61
- package/src/gl-operations/shaders/fragment/multiAnalyze5Calc.js +69 -69
- package/src/gl-operations/shaders/fragment/multiAnalyze6Calc.js +77 -77
- package/src/gl-operations/shaders/fragment/single.js +93 -93
- package/src/gl-operations/shaders/transform.js +21 -21
- package/src/gl-operations/shaders/util/computeColor.glsl +85 -85
- package/src/gl-operations/shaders/util/getTexelValue.glsl +10 -10
- package/src/gl-operations/shaders/util/isCloseEnough.glsl +9 -9
- package/src/gl-operations/shaders/util/rgbaToFloat.glsl +17 -17
- package/src/gl-operations/shaders/vertex/double.js +16 -16
- package/src/gl-operations/shaders/vertex/multi3.js +19 -19
- package/src/gl-operations/shaders/vertex/multi4.js +22 -22
- package/src/gl-operations/shaders/vertex/multi5.js +25 -25
- package/src/gl-operations/shaders/vertex/multi6.js +28 -28
- package/src/gl-operations/shaders/vertex/single.js +13 -13
- package/src/gl-operations/shaders/vertex/singleNotTransformed.js +11 -11
- package/src/gl-operations/texture_manager.js +141 -141
- package/src/gl-operations/util.js +336 -336
- package/src/util.js +14 -6
- package/CHANGELOG.md +0 -72
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapcatch/util",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5-b",
|
|
4
4
|
"main": "./dist/catchUtil.min.esm.js",
|
|
5
5
|
"repository": "",
|
|
6
6
|
"author": "wanyanyan",
|
|
@@ -17,6 +17,26 @@
|
|
|
17
17
|
"src/**/*.js": "yarn lint"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
+
"@turf/turf": "^7.1.0",
|
|
21
|
+
"@xmldom/xmldom": "^0.9.2",
|
|
22
|
+
"cdt2d": "^1.0.0",
|
|
23
|
+
"eslint": "8.22.0",
|
|
24
|
+
"gl-matrix": "^3.4.3",
|
|
25
|
+
"glsl-float-to-rgba": "^1.0.0",
|
|
26
|
+
"glsl-rgba-to-float": "^1.0.0",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"mapbox-gl": "^3.6.0",
|
|
29
|
+
"mathjs": "12.3.0",
|
|
30
|
+
"moment": "^2.29.4",
|
|
31
|
+
"pbf": "3.2.1",
|
|
32
|
+
"proj4": "^2.12.1",
|
|
33
|
+
"protocol-buffers-schema": "^3.6.0",
|
|
34
|
+
"regl": "^2.1.0",
|
|
35
|
+
"satellite-geo-calc": "^0.0.7",
|
|
36
|
+
"spark-md5": "^3.0.2",
|
|
37
|
+
"svg-path-commander": "2.0.9",
|
|
38
|
+
"upng-js": "^2.1.0",
|
|
39
|
+
"uuid": "^9.0.0"
|
|
20
40
|
},
|
|
21
41
|
"devDependencies": {
|
|
22
42
|
"@babel/core": "^7.25.2",
|
|
@@ -25,5 +45,9 @@
|
|
|
25
45
|
"lint-staged": "^15.2.10",
|
|
26
46
|
"vite": "^3.0.9",
|
|
27
47
|
"vite-plugin-glslify": "^2.0.2"
|
|
28
|
-
}
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist",
|
|
51
|
+
"src"
|
|
52
|
+
]
|
|
29
53
|
}
|