@turf/simplify 7.1.0-alpha.7 → 7.1.0-alpha.70

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 +9 -11
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -9,12 +9,12 @@ Takes a [GeoJSON][1] object and returns a simplified version. Internally uses th
9
9
 
10
10
  ### Parameters
11
11
 
12
- * `geojson` **[GeoJSON][3]** object to be simplified
13
- * `options` **[Object][4]** Optional parameters (optional, default `{}`)
12
+ * `geojson` **[GeoJSON][1]** object to be simplified
13
+ * `options` **[Object][3]** Optional parameters (optional, default `{}`)
14
14
 
15
- * `options.tolerance` **[number][5]** simplification tolerance (optional, default `1`)
16
- * `options.highQuality` **[boolean][6]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`)
17
- * `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)
15
+ * `options.tolerance` **[number][4]** simplification tolerance (optional, default `1`)
16
+ * `options.highQuality` **[boolean][5]** whether or not to spend more time to create a higher-quality simplification with a different algorithm (optional, default `false`)
17
+ * `options.mutate` **[boolean][5]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)
18
18
 
19
19
  ### Examples
20
20
 
@@ -48,19 +48,17 @@ var simplified = turf.simplify(geojson, options);
48
48
  var addToMap = [geojson, simplified]
49
49
  ```
50
50
 
51
- Returns **[GeoJSON][3]** a simplified GeoJSON
51
+ Returns **[GeoJSON][1]** a simplified GeoJSON
52
52
 
53
53
  [1]: https://tools.ietf.org/html/rfc7946#section-3
54
54
 
55
55
  [2]: http://mourner.github.io/simplify-js/
56
56
 
57
- [3]: https://tools.ietf.org/html/rfc7946#section-3
57
+ [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
58
58
 
59
- [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
59
+ [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
60
60
 
61
- [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
62
-
63
- [6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
61
+ [5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
64
62
 
65
63
  <!-- 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. -->
66
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/simplify",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0-alpha.70+948cdafaf",
4
4
  "description": "turf simplify module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -58,7 +58,7 @@
58
58
  "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
59
59
  },
60
60
  "devDependencies": {
61
- "@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
61
+ "@turf/truncate": "^7.1.0-alpha.70+948cdafaf",
62
62
  "@types/benchmark": "^2.1.5",
63
63
  "@types/tape": "^4.2.32",
64
64
  "benchmark": "^2.1.4",
@@ -71,11 +71,12 @@
71
71
  "write-json-file": "^5.0.0"
72
72
  },
73
73
  "dependencies": {
74
- "@turf/clean-coords": "^7.1.0-alpha.7+0ce6ecca0",
75
- "@turf/clone": "^7.1.0-alpha.7+0ce6ecca0",
76
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
77
- "@turf/meta": "^7.1.0-alpha.7+0ce6ecca0",
74
+ "@turf/clean-coords": "^7.1.0-alpha.70+948cdafaf",
75
+ "@turf/clone": "^7.1.0-alpha.70+948cdafaf",
76
+ "@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
77
+ "@turf/meta": "^7.1.0-alpha.70+948cdafaf",
78
+ "@types/geojson": "^7946.0.10",
78
79
  "tslib": "^2.6.2"
79
80
  },
80
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
81
+ "gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
81
82
  }