@turf/isobands 7.1.0-alpha.7 → 7.1.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 +12 -18
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -9,35 +9,29 @@ value breaks and generates filled contour isobands.
|
|
|
9
9
|
|
|
10
10
|
### Parameters
|
|
11
11
|
|
|
12
|
-
* `pointGrid` **[FeatureCollection][
|
|
13
|
-
* `breaks` **[Array][
|
|
14
|
-
* `options` **[Object][
|
|
12
|
+
* `pointGrid` **[FeatureCollection][1]<[Point][2]>** input points - must be square or rectangular
|
|
13
|
+
* `breaks` **[Array][3]<[number][4]>** where to draw contours
|
|
14
|
+
* `options` **[Object][5]** options on output (optional, default `{}`)
|
|
15
15
|
|
|
16
|
-
* `options.zProperty` **[string][
|
|
17
|
-
* `options.commonProperties` **[Object][
|
|
18
|
-
* `options.breaksProperties` **[Array][
|
|
16
|
+
* `options.zProperty` **[string][6]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`)
|
|
17
|
+
* `options.commonProperties` **[Object][5]** GeoJSON properties passed to ALL isobands (optional, default `{}`)
|
|
18
|
+
* `options.breaksProperties` **[Array][3]<[Object][5]>** GeoJSON properties passed, in order, to the correspondent isoband (order defined by breaks) (optional, default `[]`)
|
|
19
19
|
|
|
20
|
-
Returns **[FeatureCollection][
|
|
20
|
+
Returns **[FeatureCollection][1]<[MultiPolygon][7]>** a FeatureCollection of [MultiPolygon][7] features representing isobands
|
|
21
21
|
|
|
22
22
|
[1]: https://tools.ietf.org/html/rfc7946#section-3.3
|
|
23
23
|
|
|
24
24
|
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
25
25
|
|
|
26
|
-
[3]: https://
|
|
26
|
+
[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
|
|
27
27
|
|
|
28
|
-
[4]: https://
|
|
28
|
+
[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
|
|
29
29
|
|
|
30
|
-
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/
|
|
30
|
+
[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
|
|
31
31
|
|
|
32
|
-
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/
|
|
32
|
+
[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
|
|
33
33
|
|
|
34
|
-
[7]: https://
|
|
35
|
-
|
|
36
|
-
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
|
|
37
|
-
|
|
38
|
-
[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
39
|
-
|
|
40
|
-
[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
34
|
+
[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
41
35
|
|
|
42
36
|
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
|
|
43
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/isobands",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "turf isobands module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"contributors": [
|
|
@@ -57,16 +57,15 @@
|
|
|
57
57
|
"test:tape": "tsx test.ts"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@turf/envelope": "^7.1.0
|
|
61
|
-
"@turf/point-grid": "^7.1.0
|
|
62
|
-
"@turf/random": "^7.1.0
|
|
63
|
-
"@turf/rhumb-destination": "^7.1.0
|
|
64
|
-
"@turf/truncate": "^7.1.0
|
|
60
|
+
"@turf/envelope": "^7.1.0",
|
|
61
|
+
"@turf/point-grid": "^7.1.0",
|
|
62
|
+
"@turf/random": "^7.1.0",
|
|
63
|
+
"@turf/rhumb-destination": "^7.1.0",
|
|
64
|
+
"@turf/truncate": "^7.1.0",
|
|
65
65
|
"@types/benchmark": "^2.1.5",
|
|
66
66
|
"@types/tape": "^4.2.32",
|
|
67
67
|
"benchmark": "^2.1.4",
|
|
68
68
|
"load-json-file": "^7.0.1",
|
|
69
|
-
"matrix-to-grid": "^4.0.0",
|
|
70
69
|
"npm-run-all": "^4.1.5",
|
|
71
70
|
"tape": "^5.7.2",
|
|
72
71
|
"tsup": "^8.0.1",
|
|
@@ -75,15 +74,16 @@
|
|
|
75
74
|
"write-json-file": "^5.0.0"
|
|
76
75
|
},
|
|
77
76
|
"dependencies": {
|
|
78
|
-
"@turf/area": "^7.1.0
|
|
79
|
-
"@turf/bbox": "^7.1.0
|
|
80
|
-
"@turf/boolean-point-in-polygon": "^7.1.0
|
|
81
|
-
"@turf/explode": "^7.1.0
|
|
82
|
-
"@turf/helpers": "^7.1.0
|
|
83
|
-
"@turf/invariant": "^7.1.0
|
|
84
|
-
"@turf/meta": "^7.1.0
|
|
77
|
+
"@turf/area": "^7.1.0",
|
|
78
|
+
"@turf/bbox": "^7.1.0",
|
|
79
|
+
"@turf/boolean-point-in-polygon": "^7.1.0",
|
|
80
|
+
"@turf/explode": "^7.1.0",
|
|
81
|
+
"@turf/helpers": "^7.1.0",
|
|
82
|
+
"@turf/invariant": "^7.1.0",
|
|
83
|
+
"@turf/meta": "^7.1.0",
|
|
84
|
+
"@types/geojson": "^7946.0.10",
|
|
85
85
|
"marchingsquares": "^1.3.3",
|
|
86
86
|
"tslib": "^2.6.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
|
|
89
89
|
}
|