@turf/isolines 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.
Files changed (2) hide show
  1. package/README.md +12 -18
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -9,13 +9,13 @@ value breaks and generates [isolines][3].
9
9
 
10
10
  ### Parameters
11
11
 
12
- * `pointGrid` **[FeatureCollection][4]<[Point][5]>** input points
13
- * `breaks` **[Array][6]<[number][7]>** values of `zProperty` where to draw isolines
14
- * `options` **[Object][8]** Optional parameters (optional, default `{}`)
12
+ * `pointGrid` **[FeatureCollection][1]<[Point][2]>** input points
13
+ * `breaks` **[Array][4]<[number][5]>** values of `zProperty` where to draw isolines
14
+ * `options` **[Object][6]** Optional parameters (optional, default `{}`)
15
15
 
16
- * `options.zProperty` **[string][9]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`)
17
- * `options.commonProperties` **[Object][8]** GeoJSON properties passed to ALL isolines (optional, default `{}`)
18
- * `options.breaksProperties` **[Array][6]<[Object][8]>** GeoJSON properties passed, in order, to the correspondent isoline;
16
+ * `options.zProperty` **[string][7]** the property name in `points` from which z-values will be pulled (optional, default `'elevation'`)
17
+ * `options.commonProperties` **[Object][6]** GeoJSON properties passed to ALL isolines (optional, default `{}`)
18
+ * `options.breaksProperties` **[Array][4]<[Object][6]>** GeoJSON properties passed, in order, to the correspondent isoline;
19
19
  the breaks array will define the order in which the isolines are created (optional, default `[]`)
20
20
 
21
21
  ### Examples
@@ -37,7 +37,7 @@ var lines = turf.isolines(pointGrid, breaks, {zProperty: 'temperature'});
37
37
  var addToMap = [lines];
38
38
  ```
39
39
 
40
- Returns **[FeatureCollection][4]<[MultiLineString][10]>** a FeatureCollection of [MultiLineString][11] features representing isolines
40
+ Returns **[FeatureCollection][1]<[MultiLineString][8]>** a FeatureCollection of [MultiLineString][8] features representing isolines
41
41
 
42
42
  [1]: https://tools.ietf.org/html/rfc7946#section-3.3
43
43
 
@@ -45,21 +45,15 @@ Returns **[FeatureCollection][4]<[MultiLineString][10]>** a FeatureCollection of
45
45
 
46
46
  [3]: https://en.wikipedia.org/wiki/Contour_line
47
47
 
48
- [4]: https://tools.ietf.org/html/rfc7946#section-3.3
48
+ [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
49
49
 
50
- [5]: https://tools.ietf.org/html/rfc7946#section-3.1.2
50
+ [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
51
51
 
52
- [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
52
+ [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
53
53
 
54
- [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
54
+ [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
55
55
 
56
- [8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
57
-
58
- [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
59
-
60
- [10]: https://tools.ietf.org/html/rfc7946#section-3.1.5
61
-
62
- [11]: https://tools.ietf.org/html/rfc7946#section-3.1.5
56
+ [8]: https://tools.ietf.org/html/rfc7946#section-3.1.5
63
57
 
64
58
  <!-- 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. -->
65
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/isolines",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0",
4
4
  "description": "turf isolines module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -57,16 +57,15 @@
57
57
  "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
58
58
  },
59
59
  "devDependencies": {
60
- "@turf/envelope": "^7.1.0-alpha.7+0ce6ecca0",
61
- "@turf/point-grid": "^7.1.0-alpha.7+0ce6ecca0",
62
- "@turf/random": "^7.1.0-alpha.7+0ce6ecca0",
63
- "@turf/rhumb-destination": "^7.1.0-alpha.7+0ce6ecca0",
64
- "@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
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,12 +74,13 @@
75
74
  "write-json-file": "^5.0.0"
76
75
  },
77
76
  "dependencies": {
78
- "@turf/bbox": "^7.1.0-alpha.7+0ce6ecca0",
79
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
80
- "@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0",
81
- "@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
77
+ "@turf/bbox": "^7.1.0",
78
+ "@turf/helpers": "^7.1.0",
79
+ "@turf/invariant": "^7.1.0",
80
+ "@turf/meta": "^7.1.0",
81
+ "@types/geojson": "^7946.0.10",
82
82
  "marchingsquares": "^1.3.3",
83
83
  "tslib": "^2.6.2"
84
84
  },
85
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
85
+ "gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
86
86
  }