w-gis 1.0.69 → 1.0.71
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/.github/workflows/ci-test.yml +1 -1
- package/LICENSE +4 -0
- package/README.md +11 -1
- package/babel.config.js +4 -3
- package/dist/interp2.wk.umd.js +1 -1
- package/dist/w-gis.umd.js +4 -4
- package/dist/w-gis.umd.js.map +1 -1
- package/docs/-_class.mjs.html +1 -1
- package/docs/bufferMultiPolygon.mjs.html +1 -1
- package/docs/buildFindPointInGeojson.mjs.html +1 -1
- package/docs/buildFindPointInKpBoxPolygons.mjs.html +1 -1
- package/docs/buildFindPointInKpPolygons.mjs.html +1 -1
- package/docs/buildFindPointInTiff.mjs.html +1 -1
- package/docs/calcContours.mjs.html +1 -1
- package/docs/calcDelaunay.mjs.html +1 -1
- package/docs/calcVoronoi.mjs.html +1 -1
- package/docs/convertCoordinate.mjs.html +1 -1
- package/docs/examples/ex-convertCoordinate.html +1 -1
- package/docs/examples/ex-getCenterOfMassMultiPolygon.html +1 -1
- package/docs/examples/ex-getCentroidMultiPolygon.html +1 -1
- package/docs/findPointInKpBoxPolygons.mjs.html +1 -1
- package/docs/findPointInKpFeature.mjs.html +1 -1
- package/docs/findPointInKpPolygons.mjs.html +1 -1
- package/docs/fixCloseMultiPolygon.mjs.html +1 -1
- package/docs/fixNoCloseMultiPolygon.mjs.html +1 -1
- package/docs/getAreaMultiPolygon.mjs.html +1 -1
- package/docs/getAreaMultiPolygonSm.mjs.html +1 -1
- package/docs/getAreaPolygon.mjs.html +1 -1
- package/docs/getAreaRingString.mjs.html +1 -1
- package/docs/getBox.mjs.html +1 -1
- package/docs/getBoxFromGeojson.mjs.html +1 -1
- package/docs/getBoxPolygon.mjs.html +1 -1
- package/docs/getCenterOfMassMultiPolygon.mjs.html +1 -1
- package/docs/getCentroidMultiPolygon.mjs.html +1 -1
- package/docs/getKpFeatureFromGeojson.mjs.html +14 -5
- package/docs/importTurf.mjs.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interp1.mjs.html +1 -1
- package/docs/interp2.mjs.html +1 -1
- package/docs/interp2Kriging.mjs.html +3 -4
- package/docs/interp2NaturalNeighbor.mjs.html +1 -1
- package/docs/interp3.mjs.html +1 -1
- package/docs/isPointInPolygons.mjs.html +1 -1
- package/docs/normalizeArray.mjs.html +1 -1
- package/docs/ptXYtoObj.mjs.html +1 -1
- package/docs/ptsXYZVtoArr.mjs.html +1 -1
- package/docs/ptsXYZtoArr.mjs.html +1 -1
- package/docs/ptsXYtoArr.mjs.html +1 -1
- package/docs/ptsXtoArr.mjs.html +1 -1
- package/docs/toMultiPoint.mjs.html +1 -1
- package/docs/toMultiPolygon.mjs.html +1 -1
- package/docs/toPolygon.mjs.html +1 -1
- package/docs/w-gis.html +4 -3
- package/g.mjs +1 -1
- package/g_calcContours.mjs +1 -1
- package/g_calcDelaunay.mjs +1 -1
- package/g_calcVoronoi.mjs +1 -1
- package/g_convertCoordinate.mjs +1 -1
- package/g_interp1.mjs +1 -1
- package/g_interp2.mjs +1 -1
- package/g_interp2Kriging.mjs +1 -1
- package/g_interp2NaturalNeighbor.mjs +1 -1
- package/g_interp3.mjs +1 -1
- package/package.json +3 -3
- package/script.txt +6 -6
- package/src/_convertTurfCode.mjs +1 -1
- package/src/getKpFeatureFromGeojson.mjs +13 -4
- package/src/interp2Kriging.mjs +2 -3
package/LICENSE
CHANGED
|
@@ -12,6 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
+
This project also incorporates code from the following upstream open-source project, licensed under the MIT License:
|
|
16
|
+
|
|
17
|
+
- [kriging.js](https://github.com/oeo4b/kriging.js) by oeo4b
|
|
18
|
+
|
|
15
19
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
20
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
21
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
package/README.md
CHANGED
|
@@ -8,6 +8,16 @@ A tool for geotech analysis.
|
|
|
8
8
|
[](https://npmjs.org/package/w-gis)
|
|
9
9
|
[](https://www.jsdelivr.com/package/npm/w-gis)
|
|
10
10
|
|
|
11
|
+
## Statement
|
|
12
|
+
|
|
13
|
+
This project is forked and adapted from the following open-source project:
|
|
14
|
+
|
|
15
|
+
- Forked from [kriging.js](https://github.com/oeo4b/kriging.js) by oeo4b
|
|
16
|
+
|
|
17
|
+
The original project is licensed under the MIT License, and this project is also distributed under the MIT License.
|
|
18
|
+
|
|
19
|
+
Special thanks to the original author for their valuable contribution, which made this project possible. 🙏
|
|
20
|
+
|
|
11
21
|
## Documentation
|
|
12
22
|
To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-gis/w-gis.html).
|
|
13
23
|
|
|
@@ -30,6 +40,6 @@ npm i w-gis
|
|
|
30
40
|
|
|
31
41
|
Add script for w-gis.
|
|
32
42
|
```alias
|
|
33
|
-
<script src="https://cdn.jsdelivr.net/npm/w-gis@1.0.
|
|
43
|
+
<script src="https://cdn.jsdelivr.net/npm/w-gis@1.0.71/dist/w-gis.umd.js"></script>
|
|
34
44
|
|
|
35
45
|
```
|
package/babel.config.js
CHANGED
|
@@ -7,9 +7,10 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
'plugins': [
|
|
9
9
|
'@babel/plugin-transform-runtime',
|
|
10
|
-
'@babel/plugin-syntax-import-assertions',
|
|
11
10
|
'@babel/plugin-proposal-export-default-from',
|
|
12
|
-
'@babel/plugin-
|
|
13
|
-
'@babel/plugin-proposal-
|
|
11
|
+
// '@babel/plugin-syntax-import-assertions', //已被棄用
|
|
12
|
+
// '@babel/plugin-proposal-nullish-coalescing-operator', //browser與nodejs已支援
|
|
13
|
+
// '@babel/plugin-proposal-object-rest-spread', //browser與nodejs已支援
|
|
14
|
+
// '@babel/plugin-proposal-optional-chaining', //browser與nodejs已支援
|
|
14
15
|
]
|
|
15
16
|
}
|