@turf/flatten 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 +2 -6
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Flattens any [GeoJSON][1] to a [FeatureCollection][2] inspired by [geojson-flatt
|
|
|
8
8
|
|
|
9
9
|
### Parameters
|
|
10
10
|
|
|
11
|
-
* `geojson` **[GeoJSON][
|
|
11
|
+
* `geojson` **[GeoJSON][1]** any valid GeoJSON Object
|
|
12
12
|
|
|
13
13
|
### Examples
|
|
14
14
|
|
|
@@ -25,7 +25,7 @@ var flatten = turf.flatten(multiGeometry);
|
|
|
25
25
|
var addToMap = [flatten]
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Returns **[FeatureCollection][
|
|
28
|
+
Returns **[FeatureCollection][2]\<any>** all Multi-Geometries are flattened into single Features
|
|
29
29
|
|
|
30
30
|
[1]: https://tools.ietf.org/html/rfc7946#section-3
|
|
31
31
|
|
|
@@ -33,10 +33,6 @@ Returns **[FeatureCollection][5]\<any>** all Multi-Geometries are flattened into
|
|
|
33
33
|
|
|
34
34
|
[3]: https://github.com/tmcw/geojson-flatten
|
|
35
35
|
|
|
36
|
-
[4]: https://tools.ietf.org/html/rfc7946#section-3
|
|
37
|
-
|
|
38
|
-
[5]: https://tools.ietf.org/html/rfc7946#section-3.3
|
|
39
|
-
|
|
40
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. -->
|
|
41
37
|
|
|
42
38
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/flatten",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "turf flatten module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"contributors": [
|
|
@@ -69,9 +69,10 @@
|
|
|
69
69
|
"write-json-file": "^5.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@turf/helpers": "^7.1.0
|
|
73
|
-
"@turf/meta": "^7.1.0
|
|
72
|
+
"@turf/helpers": "^7.1.0",
|
|
73
|
+
"@turf/meta": "^7.1.0",
|
|
74
|
+
"@types/geojson": "^7946.0.10",
|
|
74
75
|
"tslib": "^2.6.2"
|
|
75
76
|
},
|
|
76
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
|
|
77
78
|
}
|