@turf/polygon-smooth 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 +7 -11
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -9,10 +9,10 @@ Warning: may create degenerate polygons.
9
9
 
10
10
  ### Parameters
11
11
 
12
- * `inputPolys` **([FeatureCollection][4]<([Polygon][5] | [MultiPolygon][6])> | [Feature][7]<([Polygon][5] | [MultiPolygon][6])> | [Polygon][5] | [MultiPolygon][6])** (Multi)Polygon(s) to smooth
13
- * `options` **[Object][8]** Optional parameters (optional, default `{}`)
12
+ * `inputPolys` **([FeatureCollection][4]<([Polygon][1] | [MultiPolygon][2])> | [Feature][5]<([Polygon][1] | [MultiPolygon][2])> | [Polygon][1] | [MultiPolygon][2])** (Multi)Polygon(s) to smooth
13
+ * `options` **[Object][6]** Optional parameters (optional, default `{}`)
14
14
 
15
- * `options.iterations` **[string][9]** The number of times to smooth the polygon. A higher value means a smoother polygon. (optional, default `1`)
15
+ * `options.iterations` **[string][7]** The number of times to smooth the polygon. A higher value means a smoother polygon. (optional, default `1`)
16
16
 
17
17
  ### Examples
18
18
 
@@ -25,7 +25,7 @@ var smoothed = turf.polygonSmooth(polygon, {iterations: 3})
25
25
  var addToMap = [smoothed, polygon];
26
26
  ```
27
27
 
28
- Returns **[FeatureCollection][4]<([Polygon][5] | [MultiPolygon][6])>** FeatureCollection containing the smoothed polygon/multipoylgons
28
+ Returns **[FeatureCollection][4]<([Polygon][1] | [MultiPolygon][2])>** FeatureCollection containing the smoothed polygon/multipoylgons
29
29
 
30
30
  [1]: https://tools.ietf.org/html/rfc7946#section-3.1.6
31
31
 
@@ -35,15 +35,11 @@ Returns **[FeatureCollection][4]<([Polygon][5] | [MultiPolygon][6])>** FeatureCo
35
35
 
36
36
  [4]: https://tools.ietf.org/html/rfc7946#section-3.3
37
37
 
38
- [5]: https://tools.ietf.org/html/rfc7946#section-3.1.6
38
+ [5]: https://tools.ietf.org/html/rfc7946#section-3.2
39
39
 
40
- [6]: https://tools.ietf.org/html/rfc7946#section-3.1.7
40
+ [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
41
41
 
42
- [7]: https://tools.ietf.org/html/rfc7946#section-3.2
43
-
44
- [8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
45
-
46
- [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
42
+ [7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
47
43
 
48
44
  <!-- 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. -->
49
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/polygon-smooth",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0",
4
4
  "description": "turf polygon smooth module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -67,9 +67,10 @@
67
67
  "write-json-file": "^5.0.0"
68
68
  },
69
69
  "dependencies": {
70
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
71
- "@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
70
+ "@turf/helpers": "^7.1.0",
71
+ "@turf/meta": "^7.1.0",
72
+ "@types/geojson": "^7946.0.10",
72
73
  "tslib": "^2.6.2"
73
74
  },
74
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
75
+ "gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
75
76
  }