@turf/polygonize 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 +5 -9
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -18,13 +18,13 @@ The implementation correctly handles:
|
|
|
18
18
|
|
|
19
19
|
### Parameters
|
|
20
20
|
|
|
21
|
-
* `geoJson` **([FeatureCollection][3] | [Geometry][4] | [Feature][5]<([LineString][
|
|
21
|
+
* `geoJson` **([FeatureCollection][3] | [Geometry][4] | [Feature][5]<([LineString][1] | [MultiLineString][6])>)** Lines in order to polygonize
|
|
22
22
|
|
|
23
23
|
<!---->
|
|
24
24
|
|
|
25
|
-
* Throws **[Error][
|
|
25
|
+
* Throws **[Error][7]** if geoJson is invalid.
|
|
26
26
|
|
|
27
|
-
Returns **[FeatureCollection][3]<[Polygon][
|
|
27
|
+
Returns **[FeatureCollection][3]<[Polygon][2]>** Polygons created
|
|
28
28
|
|
|
29
29
|
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.4
|
|
30
30
|
|
|
@@ -36,13 +36,9 @@ Returns **[FeatureCollection][3]<[Polygon][9]>** Polygons created
|
|
|
36
36
|
|
|
37
37
|
[5]: https://tools.ietf.org/html/rfc7946#section-3.2
|
|
38
38
|
|
|
39
|
-
[6]: https://tools.ietf.org/html/rfc7946#section-3.1.
|
|
39
|
+
[6]: https://tools.ietf.org/html/rfc7946#section-3.1.5
|
|
40
40
|
|
|
41
|
-
[7]: https://
|
|
42
|
-
|
|
43
|
-
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
|
|
44
|
-
|
|
45
|
-
[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6
|
|
41
|
+
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
|
|
46
42
|
|
|
47
43
|
<!-- 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. -->
|
|
48
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/polygonize",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "turf polygonize module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"contributors": [
|
|
@@ -68,12 +68,13 @@
|
|
|
68
68
|
"write-json-file": "^5.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@turf/boolean-point-in-polygon": "^7.1.0
|
|
72
|
-
"@turf/envelope": "^7.1.0
|
|
73
|
-
"@turf/helpers": "^7.1.0
|
|
74
|
-
"@turf/invariant": "^7.1.0
|
|
75
|
-
"@turf/meta": "^7.1.0
|
|
71
|
+
"@turf/boolean-point-in-polygon": "^7.1.0",
|
|
72
|
+
"@turf/envelope": "^7.1.0",
|
|
73
|
+
"@turf/helpers": "^7.1.0",
|
|
74
|
+
"@turf/invariant": "^7.1.0",
|
|
75
|
+
"@turf/meta": "^7.1.0",
|
|
76
|
+
"@types/geojson": "^7946.0.10",
|
|
76
77
|
"tslib": "^2.6.2"
|
|
77
78
|
},
|
|
78
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
|
|
79
80
|
}
|