@turf/points-within-polygon 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 -11
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ Finds [Points][1] or [MultiPoint][2] coordinate positions that fall within [(Mul
|
|
|
8
8
|
|
|
9
9
|
### Parameters
|
|
10
10
|
|
|
11
|
-
* `points` **([Feature][4] | [FeatureCollection][5]<([Point][
|
|
12
|
-
* `polygons` **([FeatureCollection][5] | [Geometry][
|
|
11
|
+
* `points` **([Feature][4] | [FeatureCollection][5]<([Point][1] | [MultiPoint][2])>)** Point(s) or MultiPoint(s) as input search
|
|
12
|
+
* `polygons` **([FeatureCollection][5] | [Geometry][6] | [Feature][4]<([Polygon][3] | [MultiPolygon][7])>)** (Multi)Polygon(s) to check if points are within
|
|
13
13
|
|
|
14
14
|
### Examples
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@ turf.featureEach(ptsWithin, function (currentFeature) {
|
|
|
42
42
|
});
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Returns **[FeatureCollection][5]<([Point][
|
|
45
|
+
Returns **[FeatureCollection][5]<([Point][1] | [MultiPoint][2])>** Point(s) or MultiPoint(s) with positions that land within at least one polygon. The geometry type will match what was passsed in
|
|
46
46
|
|
|
47
47
|
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
48
48
|
|
|
@@ -54,15 +54,9 @@ Returns **[FeatureCollection][5]<([Point][6] | [MultiPoint][7])>** Point(s) or M
|
|
|
54
54
|
|
|
55
55
|
[5]: https://tools.ietf.org/html/rfc7946#section-3.3
|
|
56
56
|
|
|
57
|
-
[6]: https://tools.ietf.org/html/rfc7946#section-3.1
|
|
57
|
+
[6]: https://tools.ietf.org/html/rfc7946#section-3.1
|
|
58
58
|
|
|
59
|
-
[7]: https://tools.ietf.org/html/rfc7946#section-3.1.
|
|
60
|
-
|
|
61
|
-
[8]: https://tools.ietf.org/html/rfc7946#section-3.1
|
|
62
|
-
|
|
63
|
-
[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6
|
|
64
|
-
|
|
65
|
-
[10]: https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
59
|
+
[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
66
60
|
|
|
67
61
|
<!-- 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. -->
|
|
68
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/points-within-polygon",
|
|
3
|
-
"version": "7.1.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "turf points-within-polygon module",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,10 +63,11 @@
|
|
|
63
63
|
"typescript": "^5.2.2"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@turf/boolean-point-in-polygon": "^7.1.0
|
|
67
|
-
"@turf/helpers": "^7.1.0
|
|
68
|
-
"@turf/meta": "^7.1.0
|
|
66
|
+
"@turf/boolean-point-in-polygon": "^7.1.0",
|
|
67
|
+
"@turf/helpers": "^7.1.0",
|
|
68
|
+
"@turf/meta": "^7.1.0",
|
|
69
|
+
"@types/geojson": "^7946.0.10",
|
|
69
70
|
"tslib": "^2.6.2"
|
|
70
71
|
},
|
|
71
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
|
|
72
73
|
}
|