Comparing version 6.5.0 to 7.0.0-alpha.0
@@ -1,2 +0,2 @@ | ||
import { Point, FeatureCollection, Polygon, MultiPolygon } from "@turf/helpers"; | ||
import { Point, FeatureCollection, Polygon, MultiPolygon } from "geojson"; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@turf/tag", | ||
"version": "6.5.0", | ||
"version": "7.0.0-alpha.0", | ||
"description": "turf tag module", | ||
@@ -59,8 +59,8 @@ "author": "Turf Authors", | ||
"dependencies": { | ||
"@turf/boolean-point-in-polygon": "^6.5.0", | ||
"@turf/clone": "^6.5.0", | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/meta": "^6.5.0" | ||
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.0", | ||
"@turf/clone": "^7.0.0-alpha.0", | ||
"@turf/helpers": "^7.0.0-alpha.0", | ||
"@turf/meta": "^7.0.0-alpha.0" | ||
}, | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189" | ||
} |
@@ -7,12 +7,12 @@ # @turf/tag | ||
Takes a set of [points](https://tools.ietf.org/html/rfc7946#section-3.1.2) and a set of [polygons](https://tools.ietf.org/html/rfc7946#section-3.1.6) and/or [multipolygons](https://tools.ietf.org/html/rfc7946#section-3.1.7) and performs a spatial join. | ||
Takes a set of [points][1] and a set of [polygons][2] and/or [multipolygons][3] and performs a spatial join. | ||
**Parameters** | ||
### Parameters | ||
- `points` **[FeatureCollection](https://tools.ietf.org/html/rfc7946#section-3.3)<[Point](https://tools.ietf.org/html/rfc7946#section-3.1.2)>** input points | ||
- `polygons` **[FeatureCollection](https://tools.ietf.org/html/rfc7946#section-3.3)<([Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6) \| [MultiPolygon](https://tools.ietf.org/html/rfc7946#section-3.1.7))>** input (multi)polygons | ||
- `field` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** property in `polygons` to add to joined {<Point>} features | ||
- `outField` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** property in `points` in which to store joined property from `polygons` | ||
* `points` **[FeatureCollection][4]<[Point][5]>** input points | ||
* `polygons` **[FeatureCollection][4]<([Polygon][6] | [MultiPolygon][7])>** input (multi)polygons | ||
* `field` **[string][8]** property in `polygons` to add to joined {<Point>} features | ||
* `outField` **[string][8]** property in `points` in which to store joined property from `polygons` | ||
**Examples** | ||
### Examples | ||
@@ -46,4 +46,20 @@ ```javascript | ||
Returns **[FeatureCollection](https://tools.ietf.org/html/rfc7946#section-3.3)<[Point](https://tools.ietf.org/html/rfc7946#section-3.1.2)>** points with `containingPolyId` property containing values from `polyId` | ||
Returns **[FeatureCollection][4]<[Point][5]>** points with `containingPolyId` property containing values from `polyId` | ||
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[2]: https://tools.ietf.org/html/rfc7946#section-3.1.6 | ||
[3]: https://tools.ietf.org/html/rfc7946#section-3.1.7 | ||
[4]: https://tools.ietf.org/html/rfc7946#section-3.3 | ||
[5]: https://tools.ietf.org/html/rfc7946#section-3.1.2 | ||
[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 | ||
[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 | ||
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
@@ -50,0 +66,0 @@ if you find an error, edit the source file (likely index.js), and re-run |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
87
9323
1
+ Added@turf/boolean-point-in-polygon@7.2.0(transitive)
+ Added@turf/clone@7.2.0(transitive)
+ Added@turf/helpers@7.2.0(transitive)
+ Added@turf/invariant@7.2.0(transitive)
+ Added@turf/meta@7.2.0(transitive)
+ Added@types/geojson@7946.0.16(transitive)
+ Addedpoint-in-polygon-hao@1.2.4(transitive)
+ Addedrobust-predicates@3.0.2(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@turf/boolean-point-in-polygon@6.5.0(transitive)
- Removed@turf/clone@6.5.0(transitive)
- Removed@turf/helpers@6.5.0(transitive)
- Removed@turf/invariant@6.5.0(transitive)
- Removed@turf/meta@6.5.0(transitive)
Updated@turf/clone@^7.0.0-alpha.0
Updated@turf/helpers@^7.0.0-alpha.0
Updated@turf/meta@^7.0.0-alpha.0