From c470ea445de038984bb1708ba7447c6e6cb23019 Mon Sep 17 00:00:00 2001 From: mfedderly <24275386+mfedderly@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:40:58 -0400 Subject: [PATCH 1/7] Add test.example.js to the prettier ignore list because it is a generated file (#2689) --- .prettierignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierignore b/.prettierignore index 4d2c43a35..60e9f20f9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,7 @@ node_modules # is actually output packages/turf/turf.min.js +packages/turf/test.example.js pnpm-lock.yaml From df7e42f5fa2ff06aece83c21c8b6a45b158eaba5 Mon Sep 17 00:00:00 2001 From: mfedderly <24275386+mfedderly@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:41:26 -0400 Subject: [PATCH 2/7] Fix @turf/mask benchmarks to exclude test fixtures that are not usable (#2692) --- packages/turf-mask/bench.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/turf-mask/bench.ts b/packages/turf-mask/bench.ts index f131561b3..845303008 100644 --- a/packages/turf-mask/bench.ts +++ b/packages/turf-mask/bench.ts @@ -14,7 +14,10 @@ const isPolygonFeature = ( const __dirname = path.dirname(fileURLToPath(import.meta.url)); -const SKIP = []; +// these test fixtures are not used for benchmarking because they contain a +// FeatureCollection with a single MultiPolygon, instead of a FeatureCollection +// with two Polygons, where the first one is the polygon and the second is the mask. +const SKIP = ["multi-polygon.geojson", "overlapping.geojson"]; const suite = new Benchmark.Suite("turf-mask"); From 36cdb9f08f9c203c9bc7c7cff9d00d0872cebffc Mon Sep 17 00:00:00 2001 From: mfedderly <24275386+mfedderly@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:41:51 -0400 Subject: [PATCH 3/7] Revert @turf/kinks to 6.5.0 version (#2693) --- packages/turf-kinks/index.ts | 132 ++++++++++-- packages/turf-kinks/package.json | 1 - .../turf-kinks/test/in/issue-2627.geojson | 195 ++++++++++++++++++ .../turf-kinks/test/out/issue-2627.geojson | 29 +++ .../test/out/switzerlandKinked.geojson | 4 +- packages/turf-kinks/test/out/triple.geojson | 4 +- pnpm-lock.yaml | 3 - 7 files changed, 348 insertions(+), 20 deletions(-) create mode 100644 packages/turf-kinks/test/in/issue-2627.geojson create mode 100644 packages/turf-kinks/test/out/issue-2627.geojson diff --git a/packages/turf-kinks/index.ts b/packages/turf-kinks/index.ts index f8dcfb6c3..331068832 100644 --- a/packages/turf-kinks/index.ts +++ b/packages/turf-kinks/index.ts @@ -8,7 +8,6 @@ import { Polygon, } from "geojson"; import { point } from "@turf/helpers"; -import { sweeplineIntersections as findIntersections } from "./lib/sweepline-intersections-export.js"; /** * Takes a {@link LineString|linestring}, {@link MultiLineString|multi-linestring}, @@ -33,29 +32,138 @@ import { sweeplineIntersections as findIntersections } from "./lib/sweepline-int * var addToMap = [poly, kinks] */ function kinks( - featureIn: Feature + featureIn: Feature | T ): FeatureCollection { + let coordinates: any; + let feature: any; const results: FeatureCollection = { type: "FeatureCollection", features: [], }; - if ( - featureIn.type === "Feature" && - ((featureIn as Feature).geometry.type === "Point" || - (featureIn as Feature).geometry.type === "MultiPoint") - ) { + if (featureIn.type === "Feature") { + feature = featureIn.geometry; + } else { + feature = featureIn; + } + if (feature.type === "LineString") { + coordinates = [feature.coordinates]; + } else if (feature.type === "MultiLineString") { + coordinates = feature.coordinates; + } else if (feature.type === "MultiPolygon") { + coordinates = [].concat(...feature.coordinates); + } else if (feature.type === "Polygon") { + coordinates = feature.coordinates; + } else { throw new Error( "Input must be a LineString, MultiLineString, " + "Polygon, or MultiPolygon Feature or Geometry" ); } - const intersections = findIntersections(featureIn, false); - for (let i = 0; i < intersections.length; ++i) { - const intersection = intersections[i]; - results.features.push(point([intersection[0], intersection[1]])); - } + coordinates.forEach((line1: any) => { + coordinates.forEach((line2: any) => { + for (let i = 0; i < line1.length - 1; i++) { + // start iteration at i, intersections for k < i have already + // been checked in previous outer loop iterations + for (let k = i; k < line2.length - 1; k++) { + if (line1 === line2) { + // segments are adjacent and always share a vertex, not a kink + if (Math.abs(i - k) === 1) { + continue; + } + // first and last segment in a closed lineString or ring always share a vertex, not a kink + if ( + // segments are first and last segment of lineString + i === 0 && + k === line1.length - 2 && + // lineString is closed + line1[i][0] === line1[line1.length - 1][0] && + line1[i][1] === line1[line1.length - 1][1] + ) { + continue; + } + } + + const intersection: any = lineIntersects( + line1[i][0], + line1[i][1], + line1[i + 1][0], + line1[i + 1][1], + line2[k][0], + line2[k][1], + line2[k + 1][0], + line2[k + 1][1] + ); + if (intersection) { + results.features.push(point([intersection[0], intersection[1]])); + } + } + } + }); + }); return results; } +// modified from http://jsfiddle.net/justin_c_rounds/Gd2S2/light/ +function lineIntersects( + line1StartX: any, + line1StartY: any, + line1EndX: any, + line1EndY: any, + line2StartX: any, + line2StartY: any, + line2EndX: any, + line2EndY: any +) { + // if the lines intersect, the result contains the x and y of the + // intersection (treating the lines as infinite) and booleans for whether + // line segment 1 or line segment 2 contain the point + let denominator; + let a; + let b; + let numerator1; + let numerator2; + const result = { + x: null, + y: null, + onLine1: false, + onLine2: false, + }; + denominator = + (line2EndY - line2StartY) * (line1EndX - line1StartX) - + (line2EndX - line2StartX) * (line1EndY - line1StartY); + if (denominator === 0) { + if (result.x !== null && result.y !== null) { + return result; + } else { + return false; + } + } + a = line1StartY - line2StartY; + b = line1StartX - line2StartX; + numerator1 = (line2EndX - line2StartX) * a - (line2EndY - line2StartY) * b; + numerator2 = (line1EndX - line1StartX) * a - (line1EndY - line1StartY) * b; + a = numerator1 / denominator; + b = numerator2 / denominator; + + // if we cast these lines infinitely in both directions, they intersect here: + result.x = line1StartX + a * (line1EndX - line1StartX); + result.y = line1StartY + a * (line1EndY - line1StartY); + + // if line1 is a segment and line2 is infinite, they intersect if: + if (a >= 0 && a <= 1) { + result.onLine1 = true; + } + // if line2 is a segment and line1 is infinite, they intersect if: + if (b >= 0 && b <= 1) { + result.onLine2 = true; + } + // if line1 and line2 are segments, they intersect if both of the above are true + if (result.onLine1 && result.onLine2) { + return [result.x, result.y]; + } else { + return false; + } +} + export { kinks }; export default kinks; diff --git a/packages/turf-kinks/package.json b/packages/turf-kinks/package.json index 1f4e00458..33c573846 100644 --- a/packages/turf-kinks/package.json +++ b/packages/turf-kinks/package.json @@ -66,7 +66,6 @@ "dependencies": { "@turf/helpers": "workspace:^", "@types/geojson": "^7946.0.10", - "sweepline-intersections": "^1.5.0", "tslib": "^2.6.2" } } diff --git a/packages/turf-kinks/test/in/issue-2627.geojson b/packages/turf-kinks/test/in/issue-2627.geojson new file mode 100644 index 000000000..c27ee8dbd --- /dev/null +++ b/packages/turf-kinks/test/in/issue-2627.geojson @@ -0,0 +1,195 @@ +{ + "type": "Polygon", + "coordinates": [ + [ + [11.032103, 53.905391], + [11.032478, 53.90552], + [11.032784, 53.905631], + [11.033154, 53.905675], + [11.03376, 53.905665], + [11.034415, 53.90571], + [11.034833, 53.905631], + [11.035396, 53.905492], + [11.036094, 53.905583], + [11.03662, 53.90565], + [11.036958, 53.905574], + [11.037118, 53.905526], + [11.037194, 53.905991], + [11.037741, 53.90898], + [11.038202, 53.911439], + [11.038519, 53.913243], + [11.038932, 53.915534], + [11.039125, 53.91658], + [11.039436, 53.918137], + [11.038175, 53.91785], + [11.038368, 53.917654], + [11.037183, 53.917379], + [11.036979, 53.91743], + [11.036662, 53.917695], + [11.036341, 53.918071], + [11.035691, 53.917913], + [11.035332, 53.917869], + [11.032505, 53.917787], + [11.032022, 53.917749], + [11.032135, 53.918662], + [11.031582, 53.918731], + [11.031067, 53.918848], + [11.030268, 53.91912], + [11.028396, 53.919793], + [11.02639, 53.920548], + [11.02573, 53.920772], + [11.025456, 53.920823], + [11.023611, 53.909521], + [11.024276, 53.909518], + [11.025022, 53.909521], + [11.025783, 53.909511], + [11.028165, 53.909508], + [11.028664, 53.909527], + [11.028868, 53.909464], + [11.02904, 53.908601], + [11.029201, 53.907208], + [11.02934, 53.90625], + [11.029839, 53.906275], + [11.030123, 53.90625], + [11.030461, 53.906149], + [11.031008, 53.905963], + [11.031298, 53.905852], + [11.03162, 53.905523], + [11.031824, 53.9054], + [11.032103, 53.905391] + ], + [ + [11.03228, 53.90643], + [11.032054, 53.906446], + [11.031904, 53.906478], + [11.031711, 53.906655], + [11.031588, 53.906762], + [11.031765, 53.906775], + [11.031985, 53.906699], + [11.032124, 53.906645], + [11.032301, 53.906629], + [11.032435, 53.906509], + [11.03228, 53.90643] + ], + [ + [11.031631, 53.908491], + [11.031411, 53.908497], + [11.03126, 53.908671], + [11.031368, 53.908845], + [11.0317, 53.908901], + [11.031931, 53.908816], + [11.032012, 53.908699], + [11.031926, 53.908544], + [11.031631, 53.908491] + ], + [ + [11.033261, 53.909436], + [11.033288, 53.909543], + [11.033422, 53.909502], + [11.033369, 53.909439], + [11.033261, 53.909436] + ], + [ + [11.031277, 53.911227], + [11.031159, 53.911265], + [11.031089, 53.911325], + [11.031153, 53.911455], + [11.031368, 53.911439], + [11.031421, 53.91129], + [11.031277, 53.911227] + ], + [ + [11.029549, 53.911297], + [11.029567, 53.911309], + [11.02956, 53.911306], + [11.029458, 53.911433], + [11.029608, 53.911493], + [11.02971, 53.911404], + [11.029567, 53.911309], + [11.029576, 53.911313], + [11.029549, 53.911297] + ], + [ + [11.02764, 53.911442], + [11.027521, 53.911534], + [11.027709, 53.911597], + [11.027849, 53.911496], + [11.02764, 53.911442] + ], + [ + [11.034109, 53.912001], + [11.033986, 53.912039], + [11.034066, 53.912166], + [11.034168, 53.912197], + [11.034281, 53.912159], + [11.034302, 53.912077], + [11.034109, 53.912001] + ], + [ + [11.029367, 53.913382], + [11.029276, 53.913404], + [11.029147, 53.91355], + [11.029142, 53.91367], + [11.02927, 53.913746], + [11.029453, 53.913746], + [11.029501, 53.91348], + [11.029378, 53.913388], + [11.029383, 53.913407], + [11.029367, 53.913382] + ], + [ + [11.035895, 53.913486], + [11.035783, 53.913496], + [11.03581, 53.913584], + [11.036029, 53.913641], + [11.036137, 53.913572], + [11.035895, 53.913486] + ], + [ + [11.032178, 53.913496], + [11.03199, 53.913534], + [11.031813, 53.913692], + [11.031491, 53.913869], + [11.031083, 53.913957], + [11.03066, 53.914071], + [11.030349, 53.914169], + [11.029941, 53.914358], + [11.029807, 53.914498], + [11.029801, 53.914769], + [11.029925, 53.914959], + [11.030257, 53.915038], + [11.030654, 53.915013], + [11.031024, 53.91494], + [11.031464, 53.914791], + [11.031738, 53.914592], + [11.032199, 53.914093], + [11.032344, 53.913657], + [11.032178, 53.913496] + ], + [ + [11.034232, 53.91621], + [11.034109, 53.916333], + [11.034189, 53.916463], + [11.034324, 53.916418], + [11.034318, 53.916292], + [11.034232, 53.91621] + ], + [ + [11.028745, 53.916801], + [11.028584, 53.916918], + [11.028707, 53.917022], + [11.028863, 53.917117], + [11.0289, 53.917009], + [11.028954, 53.916873], + [11.028745, 53.916801] + ], + [ + [11.035874, 53.917521], + [11.035761, 53.917578], + [11.036094, 53.917704], + [11.036185, 53.917625], + [11.035879, 53.917527], + [11.035874, 53.917521] + ] + ] +} diff --git a/packages/turf-kinks/test/out/issue-2627.geojson b/packages/turf-kinks/test/out/issue-2627.geojson new file mode 100644 index 000000000..d89e9a375 --- /dev/null +++ b/packages/turf-kinks/test/out/issue-2627.geojson @@ -0,0 +1,29 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [11.029567, 53.911309] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [11.029567, 53.911309] + } + }, + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Point", + "coordinates": [11.029567, 53.911309] + } + } + ] +} diff --git a/packages/turf-kinks/test/out/switzerlandKinked.geojson b/packages/turf-kinks/test/out/switzerlandKinked.geojson index 0bbf6429c..732c7bb10 100644 --- a/packages/turf-kinks/test/out/switzerlandKinked.geojson +++ b/packages/turf-kinks/test/out/switzerlandKinked.geojson @@ -6,7 +6,7 @@ "properties": {}, "geometry": { "type": "Point", - "coordinates": [9.182061729855718, 47.67348418083509] + "coordinates": [9.219017027587402, 47.657889465138915] } }, { @@ -14,7 +14,7 @@ "properties": {}, "geometry": { "type": "Point", - "coordinates": [9.219017027587402, 47.657889465138915] + "coordinates": [9.182061729855718, 47.67348418083509] } }, { diff --git a/packages/turf-kinks/test/out/triple.geojson b/packages/turf-kinks/test/out/triple.geojson index 6c912ab4e..cf0bf19ad 100644 --- a/packages/turf-kinks/test/out/triple.geojson +++ b/packages/turf-kinks/test/out/triple.geojson @@ -6,7 +6,7 @@ "properties": {}, "geometry": { "type": "Point", - "coordinates": [-45, -7.5] + "coordinates": [-45, 2.5] } }, { @@ -22,7 +22,7 @@ "properties": {}, "geometry": { "type": "Point", - "coordinates": [-45, 2.5] + "coordinates": [-45, -7.5] } }, { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 06baabcf4..79e22f59c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3619,9 +3619,6 @@ importers: '@types/geojson': specifier: ^7946.0.10 version: 7946.0.14 - sweepline-intersections: - specifier: ^1.5.0 - version: 1.5.0 tslib: specifier: ^2.6.2 version: 2.6.2 From ad8012c144e6bb425cdd18315c78f177c3307151 Mon Sep 17 00:00:00 2001 From: Moritz Wenko Date: Fri, 9 Aug 2024 16:02:23 +0200 Subject: [PATCH 4/7] chore: update cluster-dbscan docs (#2624) Co-authored-by: Matt Fedderly --- packages/turf-clusters-dbscan/README.md | 2 +- packages/turf-clusters-dbscan/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/turf-clusters-dbscan/README.md b/packages/turf-clusters-dbscan/README.md index 974d6af7c..2b4c8d107 100644 --- a/packages/turf-clusters-dbscan/README.md +++ b/packages/turf-clusters-dbscan/README.md @@ -9,7 +9,7 @@ Takes a set of [points][1] and partition them into clusters according to [https: ### Parameters * `points` **[FeatureCollection][3]<[Point][1]>** to be clustered -* `maxDistance` **[number][4]** Maximum Distance between any point of the cluster to generate the clusters (kilometers only) +* `maxDistance` **[number][4]** Maximum Distance between any point of the cluster to generate the clusters (kilometers by default, see options) * `options` **[Object][5]** Optional parameters (optional, default `{}`) * `options.units` **[string][6]** in which `maxDistance` is expressed, can be degrees, radians, miles, or kilometers (optional, default `"kilometers"`) diff --git a/packages/turf-clusters-dbscan/index.ts b/packages/turf-clusters-dbscan/index.ts index 7ad890620..fa89f4e8b 100644 --- a/packages/turf-clusters-dbscan/index.ts +++ b/packages/turf-clusters-dbscan/index.ts @@ -24,7 +24,7 @@ type IndexedPoint = { * * @name clustersDbscan * @param {FeatureCollection} points to be clustered - * @param {number} maxDistance Maximum Distance between any point of the cluster to generate the clusters (kilometers only) + * @param {number} maxDistance Maximum Distance between any point of the cluster to generate the clusters (kilometers by default, see options) * @param {Object} [options={}] Optional parameters * @param {string} [options.units="kilometers"] in which `maxDistance` is expressed, can be degrees, radians, miles, or kilometers * @param {boolean} [options.mutate=false] Allows GeoJSON input to be mutated From 5f0d4050d495d48a00dd580f9ea0696ea99fe7a2 Mon Sep 17 00:00:00 2001 From: Tim Welch Date: Fri, 9 Aug 2024 10:03:47 -0700 Subject: [PATCH 5/7] Clarify behavior of some existing turf modules (#2683) * update turf-rectangle-grid and turf-square-grid docs * improve area docs * cleanup * update earthRadius, first crack at units link, other nits * improve docs * nit * add readme units file * update area readme manually * one more readme * update all readmes --- packages/turf-area/README.md | 14 +- packages/turf-area/index.ts | 4 +- packages/turf-helpers/README.md | 288 +++++++++++++------------ packages/turf-helpers/README_UNITS.md | 37 ++++ packages/turf-helpers/index.ts | 5 +- packages/turf-point-grid/README.md | 34 +-- packages/turf-point-grid/index.ts | 8 +- packages/turf-rectangle-grid/README.md | 38 ++-- packages/turf-rectangle-grid/index.ts | 14 +- packages/turf-square-grid/README.md | 18 +- packages/turf-square-grid/index.ts | 14 +- packages/turf-triangle-grid/README.md | 28 +-- packages/turf-triangle-grid/index.ts | 8 +- 13 files changed, 282 insertions(+), 228 deletions(-) create mode 100644 packages/turf-helpers/README_UNITS.md diff --git a/packages/turf-area/README.md b/packages/turf-area/README.md index aeba55da9..a9568d096 100644 --- a/packages/turf-area/README.md +++ b/packages/turf-area/README.md @@ -4,11 +4,11 @@ ## area -Takes one or more features and returns their area in square meters. +Calculates the geodesic area in square meters of one or more polygons. ### Parameters -* `geojson` **[GeoJSON][1]** input GeoJSON feature(s) +* `geojson` **[GeoJSON][1]** input polygon(s) as [Geometry][2], [Feature][3], or [FeatureCollection][4] ### Examples @@ -22,11 +22,17 @@ var addToMap = [polygon] polygon.properties.area = area ``` -Returns **[number][2]** area in square meters +Returns **[number][5]** area in square meters [1]: https://tools.ietf.org/html/rfc7946#section-3 -[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[2]: https://tools.ietf.org/html/rfc7946#section-3.1 + +[3]: https://tools.ietf.org/html/rfc7946#section-3.2 + +[4]: https://tools.ietf.org/html/rfc7946#section-3.3 + +[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number diff --git a/packages/turf-area/index.ts b/packages/turf-area/index.ts index 51887938f..3b0c7a1d5 100644 --- a/packages/turf-area/index.ts +++ b/packages/turf-area/index.ts @@ -3,10 +3,10 @@ import { earthRadius } from "@turf/helpers"; import { geomReduce } from "@turf/meta"; /** - * Takes one or more features and returns their area in square meters. + * Calculates the geodesic area in square meters of one or more polygons. * * @name area - * @param {GeoJSON} geojson input GeoJSON feature(s) + * @param {GeoJSON} geojson input polygon(s) as {@link Geometry}, {@link Feature}, or {@link FeatureCollection} * @returns {number} area in square meters * @example * var polygon = turf.polygon([[[125, -15], [113, -22], [154, -27], [144, -15], [125, -15]]]); diff --git a/packages/turf-helpers/README.md b/packages/turf-helpers/README.md index d7711029f..a232426ad 100644 --- a/packages/turf-helpers/README.md +++ b/packages/turf-helpers/README.md @@ -6,36 +6,36 @@ ### earthRadius -Earth Radius used with the Harvesine formula and approximates using a spherical (non-ellipsoid) Earth. +The Earth radius in kilometers. Used by Turf modules that model the Earth as a sphere. The [mean radius][1] was selected because it is [recommended ][2] by the Haversine formula (used by turf/distance) to reduce error. -Type: [number][1] +Type: [number][3] ### factors -Unit of measurement factors using a spherical (non-ellipsoid) earth radius. +Unit of measurement factors based on earthRadius. Keys are the name of the unit, values are the number of that unit in a single radian -Type: [Object][2] +Type: [Object][4] ### areaFactors Area of measurement factors based on 1 square meter. -Type: [Object][2] +Type: [Object][4] ## feature -Wraps a GeoJSON [Geometry][3] in a GeoJSON [Feature][4]. +Wraps a GeoJSON [Geometry][5] in a GeoJSON [Feature][6]. ### Parameters -* `geometry` **[Geometry][3]** input geometry -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `geometry` **[Geometry][5]** input geometry +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -50,18 +50,18 @@ var feature = turf.feature(geometry); //=feature ``` -Returns **[Feature][4]** a GeoJSON Feature +Returns **[Feature][6]** a GeoJSON Feature ## geometry -Creates a GeoJSON [Geometry][3] from a Geometry string type & coordinates. +Creates a GeoJSON [Geometry][5] from a Geometry string type & coordinates. For GeometryCollection type use `helpers.geometryCollection` ### Parameters -* `type` **[string][6]** Geometry Type -* `coordinates` **[Array][5]\** Coordinates -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `type` **[string][8]** Geometry Type +* `coordinates` **[Array][7]\** Coordinates +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) ### Examples @@ -72,20 +72,20 @@ var geometry = turf.geometry(type, coordinates); // => geometry ``` -Returns **[Geometry][3]** a GeoJSON Geometry +Returns **[Geometry][5]** a GeoJSON Geometry ## point -Creates a [Point][7] [Feature][4] from a Position. +Creates a [Point][9] [Feature][6] from a Position. ### Parameters -* `coordinates` **[Array][5]<[number][1]>** longitude, latitude position (each in decimal degrees) -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[number][3]>** longitude, latitude position (each in decimal degrees) +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -95,21 +95,21 @@ var point = turf.point([-75.343, 39.984]); //=point ``` -Returns **[Feature][4]<[Point][7]>** a Point feature +Returns **[Feature][6]<[Point][9]>** a Point feature ## points -Creates a [Point][7] [FeatureCollection][8] from an Array of Point coordinates. +Creates a [Point][9] [FeatureCollection][10] from an Array of Point coordinates. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Points -* `properties` **[Object][2]** Translate these properties to each Feature (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[number][3]>>** an array of Points +* `properties` **[Object][4]** Translate these properties to each Feature (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the FeatureCollection - * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection + * `options.id` **([string][8] | [number][3])?** Identifier associated with the FeatureCollection ### Examples @@ -123,20 +123,20 @@ var points = turf.points([ //=points ``` -Returns **[FeatureCollection][8]<[Point][7]>** Point Feature +Returns **[FeatureCollection][10]<[Point][9]>** Point Feature ## polygon -Creates a [Polygon][9] [Feature][4] from an Array of LinearRings. +Creates a [Polygon][11] [Feature][6] from an Array of LinearRings. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LinearRings -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[Array][7]<[number][3]>>>** an array of LinearRings +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -146,20 +146,20 @@ var polygon = turf.polygon([[[-5, 52], [-4, 56], [-2, 51], [-7, 54], [-5, 52]]], //=polygon ``` -Returns **[Feature][4]<[Polygon][9]>** Polygon Feature +Returns **[Feature][6]<[Polygon][11]>** Polygon Feature ## polygons -Creates a [Polygon][9] [FeatureCollection][8] from an Array of Polygon coordinates. +Creates a [Polygon][11] [FeatureCollection][10] from an Array of Polygon coordinates. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[Array][5]<[number][1]>>>>** an array of Polygon coordinates -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[Array][7]<[Array][7]<[number][3]>>>>** an array of Polygon coordinates +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the FeatureCollection ### Examples @@ -172,20 +172,20 @@ var polygons = turf.polygons([ //=polygons ``` -Returns **[FeatureCollection][8]<[Polygon][9]>** Polygon FeatureCollection +Returns **[FeatureCollection][10]<[Polygon][11]>** Polygon FeatureCollection ## lineString -Creates a [LineString][10] [Feature][4] from an Array of Positions. +Creates a [LineString][12] [Feature][6] from an Array of Positions. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Positions -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[number][3]>>** an array of Positions +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -197,21 +197,21 @@ var linestring2 = turf.lineString([[-14, 43], [-13, 40], [-15, 45], [-10, 49]], //=linestring2 ``` -Returns **[Feature][4]<[LineString][10]>** LineString Feature +Returns **[Feature][6]<[LineString][12]>** LineString Feature ## lineStrings -Creates a [LineString][10] [FeatureCollection][8] from an Array of LineString coordinates. +Creates a [LineString][12] [FeatureCollection][10] from an Array of LineString coordinates. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LinearRings -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[Array][7]<[number][3]>>>** an array of LinearRings +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the FeatureCollection - * `options.id` **([string][6] | [number][1])?** Identifier associated with the FeatureCollection + * `options.id` **([string][8] | [number][3])?** Identifier associated with the FeatureCollection ### Examples @@ -224,19 +224,19 @@ var linestrings = turf.lineStrings([ //=linestrings ``` -Returns **[FeatureCollection][8]<[LineString][10]>** LineString FeatureCollection +Returns **[FeatureCollection][10]<[LineString][12]>** LineString FeatureCollection ## featureCollection -Takes one or more [Features][4] and creates a [FeatureCollection][8]. +Takes one or more [Features][6] and creates a [FeatureCollection][10]. ### Parameters -* `features` **[Array][5]<[Feature][4]>** input features -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `features` **[Array][7]<[Feature][6]>** input features +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -254,21 +254,21 @@ var collection = turf.featureCollection([ //=collection ``` -Returns **[FeatureCollection][8]** FeatureCollection of Features +Returns **[FeatureCollection][10]** FeatureCollection of Features ## multiLineString -Creates a [Feature\][11] based on a +Creates a [Feature\][13] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[number][1]>>>** an array of LineStrings -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[Array][7]<[number][3]>>>** an array of LineStrings +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -278,23 +278,23 @@ var multiLine = turf.multiLineString([[[0,0],[10,10]]]); //=multiLine ``` -* Throws **[Error][12]** if no coordinates are passed +* Throws **[Error][14]** if no coordinates are passed -Returns **[Feature][4]<[MultiLineString][13]>** a MultiLineString feature +Returns **[Feature][6]<[MultiLineString][15]>** a MultiLineString feature ## multiPoint -Creates a [Feature\][14] based on a +Creates a [Feature\][16] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[number][1]>>** an array of Positions -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[number][3]>>** an array of Positions +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -304,23 +304,23 @@ var multiPt = turf.multiPoint([[0,0],[10,10]]); //=multiPt ``` -* Throws **[Error][12]** if no coordinates are passed +* Throws **[Error][14]** if no coordinates are passed -Returns **[Feature][4]<[MultiPoint][15]>** a MultiPoint feature +Returns **[Feature][6]<[MultiPoint][17]>** a MultiPoint feature ## multiPolygon -Creates a [Feature\][16] based on a +Creates a [Feature\][18] based on a coordinate array. Properties can be added optionally. ### Parameters -* `coordinates` **[Array][5]<[Array][5]<[Array][5]<[Array][5]<[number][1]>>>>** an array of Polygons -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `coordinates` **[Array][7]<[Array][7]<[Array][7]<[Array][7]<[number][3]>>>>** an array of Polygons +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -330,23 +330,23 @@ var multiPoly = turf.multiPolygon([[[[0,0],[0,10],[10,10],[10,0],[0,0]]]]); //=multiPoly ``` -* Throws **[Error][12]** if no coordinates are passed +* Throws **[Error][14]** if no coordinates are passed -Returns **[Feature][4]<[MultiPolygon][17]>** a multipolygon feature +Returns **[Feature][6]<[MultiPolygon][19]>** a multipolygon feature ## geometryCollection -Creates a [Feature\][18] based on a +Creates a [Feature\][20] based on a coordinate array. Properties can be added optionally. ### Parameters -* `geometries` **[Array][5]<[Geometry][3]>** an array of GeoJSON Geometries -* `properties` **[Object][2]** an Object of key-value pairs to add as properties (optional, default `{}`) -* `options` **[Object][2]** Optional Parameters (optional, default `{}`) +* `geometries` **[Array][7]<[Geometry][5]>** an array of GeoJSON Geometries +* `properties` **[Object][4]** an Object of key-value pairs to add as properties (optional, default `{}`) +* `options` **[Object][4]** Optional Parameters (optional, default `{}`) - * `options.bbox` **[Array][5]<[number][1]>?** Bounding Box Array \[west, south, east, north] associated with the Feature - * `options.id` **([string][6] | [number][1])?** Identifier associated with the Feature + * `options.bbox` **[Array][7]<[number][3]>?** Bounding Box Array \[west, south, east, north] associated with the Feature + * `options.id` **([string][8] | [number][3])?** Identifier associated with the Feature ### Examples @@ -358,7 +358,7 @@ var collection = turf.geometryCollection([pt, line]); // => collection ``` -Returns **[Feature][4]<[GeometryCollection][19]>** a GeoJSON GeometryCollection Feature +Returns **[Feature][6]<[GeometryCollection][21]>** a GeoJSON GeometryCollection Feature ## round @@ -366,8 +366,8 @@ Round number to precision ### Parameters -* `num` **[number][1]** Number -* `precision` **[number][1]** Precision (optional, default `0`) +* `num` **[number][3]** Number +* `precision` **[number][3]** Precision (optional, default `0`) ### Examples @@ -379,7 +379,7 @@ turf.round(120.4321, 2) //=120.43 ``` -Returns **[number][1]** rounded number +Returns **[number][3]** rounded number ## radiansToLength @@ -388,11 +388,11 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, ce ### Parameters -* `radians` **[number][1]** in radians across the sphere -* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, +* `radians` **[number][3]** in radians across the sphere +* `units` **[string][8]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) -Returns **[number][1]** distance +Returns **[number][3]** distance ## lengthToRadians @@ -401,11 +401,11 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, ce ### Parameters -* `distance` **[number][1]** in real units -* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, +* `distance` **[number][3]** in real units +* `units` **[string][8]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) -Returns **[number][1]** radians +Returns **[number][3]** radians ## lengthToDegrees @@ -414,11 +414,11 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, centimeters, k ### Parameters -* `distance` **[number][1]** in real units -* `units` **[string][6]** can be degrees, radians, miles, inches, yards, metres, +* `distance` **[number][3]** in real units +* `units` **[string][8]** can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers. (optional, default `"kilometers"`) -Returns **[number][1]** degrees +Returns **[number][3]** degrees ## bearingToAzimuth @@ -427,9 +427,9 @@ and returns an angle between 0-360 degrees (positive clockwise), 0 being the nor ### Parameters -* `bearing` **[number][1]** angle, between -180 and +180 degrees +* `bearing` **[number][3]** angle, between -180 and +180 degrees -Returns **[number][1]** angle between 0 and 360 degrees +Returns **[number][3]** angle between 0 and 360 degrees ## azimuthToBearing @@ -438,9 +438,9 @@ and returns an angle between -180 and +180 degrees (positive clockwise), 0 being ### Parameters -* `angle` **[number][1]** between 0 and 360 degrees +* `angle` **[number][3]** between 0 and 360 degrees -Returns **[number][1]** bearing between -180 and +180 degrees +Returns **[number][3]** bearing between -180 and +180 degrees ## radiansToDegrees @@ -448,9 +448,9 @@ Converts an angle in radians to degrees ### Parameters -* `radians` **[number][1]** angle in radians +* `radians` **[number][3]** angle in radians -Returns **[number][1]** degrees between 0 and 360 degrees +Returns **[number][3]** degrees between 0 and 360 degrees ## degreesToRadians @@ -458,9 +458,9 @@ Converts an angle in degrees to radians ### Parameters -* `degrees` **[number][1]** angle between 0 and 360 degrees +* `degrees` **[number][3]** angle between 0 and 360 degrees -Returns **[number][1]** angle in radians +Returns **[number][3]** angle in radians ## convertLength @@ -469,11 +469,11 @@ Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, ce ### Parameters -* `length` **[number][1]** to be converted +* `length` **[number][3]** to be converted * `originalUnit` **Units** of the length (optional, default `"kilometers"`) * `finalUnit` **Units** returned unit (optional, default `"kilometers"`) -Returns **[number][1]** the converted length +Returns **[number][3]** the converted length ## convertArea @@ -482,11 +482,11 @@ Valid units: kilometers, kilometres, meters, metres, centimetres, millimeters, a ### Parameters -* `area` **[number][1]** to be converted +* `area` **[number][3]** to be converted * `originalUnit` **Units** of the distance (optional, default `"meters"`) * `finalUnit` **Units** returned unit (optional, default `"kilometers"`) -Returns **[number][1]** the converted area +Returns **[number][3]** the converted area ## isNumber @@ -505,7 +505,7 @@ turf.isNumber('foo') //=false ``` -Returns **[boolean][20]** true/false +Returns **[boolean][22]** true/false ## isObject @@ -524,47 +524,51 @@ turf.isObject('foo') //=false ``` -Returns **[boolean][20]** true/false, including false for Arrays and Functions +Returns **[boolean][22]** true/false, including false for Arrays and Functions -[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[1]: https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius -[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[2]: https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended -[3]: https://tools.ietf.org/html/rfc7946#section-3.1 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[4]: https://tools.ietf.org/html/rfc7946#section-3.2 +[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[5]: https://tools.ietf.org/html/rfc7946#section-3.1 -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[6]: https://tools.ietf.org/html/rfc7946#section-3.2 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array -[8]: https://tools.ietf.org/html/rfc7946#section-3.3 +[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.2 -[10]: https://tools.ietf.org/html/rfc7946#section-3.1.4 +[10]: https://tools.ietf.org/html/rfc7946#section-3.3 -[11]: Feature +[11]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[12]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error +[12]: https://tools.ietf.org/html/rfc7946#section-3.1.4 -[13]: https://tools.ietf.org/html/rfc7946#section-3.1.5 +[13]: Feature -[14]: Feature +[14]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error -[15]: https://tools.ietf.org/html/rfc7946#section-3.1.3 +[15]: https://tools.ietf.org/html/rfc7946#section-3.1.5 -[16]: Feature +[16]: Feature -[17]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[17]: https://tools.ietf.org/html/rfc7946#section-3.1.3 -[18]: Feature +[18]: Feature -[19]: https://tools.ietf.org/html/rfc7946#section-3.1.8 +[19]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[20]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean +[20]: Feature + +[21]: https://tools.ietf.org/html/rfc7946#section-3.1.8 + +[22]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean diff --git a/packages/turf-helpers/README_UNITS.md b/packages/turf-helpers/README_UNITS.md new file mode 100644 index 000000000..6a4e500d7 --- /dev/null +++ b/packages/turf-helpers/README_UNITS.md @@ -0,0 +1,37 @@ +# @turf/helpers + +## Units + +* meters +* metres +* millimeters +* millimetres +* centimeters +* centimetres +* kilometers +* kilometres +* miles +* nauticalmiles +* inches +* yards +* feet +* radians +* degrees + +## AreaUnits + +* meters +* metres +* millimeters +* millimetres +* centimeters +* centimetres +* kilometers +* kilometres +* miles +* nauticalmiles +* inches +* yards +* feet +* acres +* hectares \ No newline at end of file diff --git a/packages/turf-helpers/index.ts b/packages/turf-helpers/index.ts index 6f22d110f..b53cc6bd6 100644 --- a/packages/turf-helpers/index.ts +++ b/packages/turf-helpers/index.ts @@ -57,15 +57,14 @@ export type AllGeoJSON = */ /** - * Earth Radius used with the Harvesine formula and approximates using a spherical (non-ellipsoid) Earth. - * + * The Earth radius in kilometers. Used by Turf modules that model the Earth as a sphere. The {@link https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius mean radius} was selected because it is {@link https://rosettacode.org/wiki/Haversine_formula#:~:text=This%20value%20is%20recommended recommended } by the Haversine formula (used by turf/distance) to reduce error. * @memberof helpers * @type {number} */ export const earthRadius = 6371008.8; /** - * Unit of measurement factors using a spherical (non-ellipsoid) earth radius. + * Unit of measurement factors based on earthRadius. * * Keys are the name of the unit, values are the number of that unit in a single radian * diff --git a/packages/turf-point-grid/README.md b/packages/turf-point-grid/README.md index 6c409b727..7ef41b043 100644 --- a/packages/turf-point-grid/README.md +++ b/packages/turf-point-grid/README.md @@ -4,17 +4,17 @@ ## pointGrid -Creates a [Point][1] grid from a bounding box, [FeatureCollection][2] or [Feature][3]. +Creates a grid of points ### Parameters -* `bbox` **[Array][4]<[number][5]>** extent in \[minX, minY, maxX, maxY] order -* `cellSide` **[number][5]** the distance between points, in units -* `options` **[Object][6]** Optional parameters (optional, default `{}`) +* `bbox` **[BBox][1]** extent of grid in \[minX, minY, maxX, maxY] order +* `cellSide` **[number][2]** the distance between points +* `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.units` **[string][7]** used in calculating cellSide, can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) - * `options.mask` **[Feature][3]<([Polygon][8] | [MultiPolygon][9])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it - * `options.properties` **[Object][6]** passed to each point of the grid (optional, default `{}`) + * `options.units` **Units** the units of the cellSide value. Supports all valid Turf [Units][4] (optional, default `'kilometers'`) + * `options.mask` **[Feature][5]<([Polygon][6] | [MultiPolygon][7])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it + * `options.properties` **[Object][3]** passed to each point of the grid (optional, default `{}`) ### Examples @@ -29,25 +29,25 @@ var grid = turf.pointGrid(extent, cellSide, options); var addToMap = [grid]; ``` -Returns **[FeatureCollection][2]<[Point][1]>** grid of points +Returns **[FeatureCollection][8]<[Point][9]>** grid of points -[1]: https://tools.ietf.org/html/rfc7946#section-3.1.2 +[1]: https://tools.ietf.org/html/rfc7946#section-5 -[2]: https://tools.ietf.org/html/rfc7946#section-3.3 +[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[3]: https://tools.ietf.org/html/rfc7946#section-3.2 +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[4]: https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[8]: https://tools.ietf.org/html/rfc7946#section-3.3 -[9]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[9]: https://tools.ietf.org/html/rfc7946#section-3.1.2 diff --git a/packages/turf-point-grid/index.ts b/packages/turf-point-grid/index.ts index 05e8d716e..408f47b64 100644 --- a/packages/turf-point-grid/index.ts +++ b/packages/turf-point-grid/index.ts @@ -12,13 +12,13 @@ import { distance } from "@turf/distance"; import { point, featureCollection, Units } from "@turf/helpers"; /** - * Creates a {@link Point} grid from a bounding box, {@link FeatureCollection} or {@link Feature}. + * Creates a grid of points * * @name pointGrid - * @param {Array} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSide the distance between points, in units + * @param {BBox} bbox extent of grid in [minX, minY, maxX, maxY] order + * @param {number} cellSide the distance between points * @param {Object} [options={}] Optional parameters - * @param {string} [options.units='kilometers'] used in calculating cellSide, can be degrees, radians, miles, or kilometers + * @param {Units} [options.units='kilometers'] the units of the cellSide value. Supports all valid Turf {@link https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md Units} * @param {Feature} [options.mask] if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * @param {Object} [options.properties={}] passed to each point of the grid * @returns {FeatureCollection} grid of points diff --git a/packages/turf-rectangle-grid/README.md b/packages/turf-rectangle-grid/README.md index 9ad5c99ff..95540ea26 100644 --- a/packages/turf-rectangle-grid/README.md +++ b/packages/turf-rectangle-grid/README.md @@ -4,20 +4,22 @@ ## rectangleGrid -Creates a grid of rectangles from a bounding box, [Feature][1] or [FeatureCollection][2]. +Creates a grid of rectangular polygons with width and height consistent in degrees ### Parameters -* `bbox` **[Array][3]<[number][4]>** extent in \[minX, minY, maxX, maxY] order -* `cellWidth` **[number][4]** of each cell, in units -* `cellHeight` **[number][4]** of each cell, in units -* `options` **[Object][5]** Optional parameters (optional, default `{}`) +* `bbox` **[BBox][1]** extent of grid in \[minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered. +* `cellWidth` **[number][2]** width of each cell, in units +* `cellHeight` **[number][2]** height of each cell, in units +* `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.units` **[string][6]** units ("degrees", "radians", "miles", "kilometers") that the given cellWidth - and cellHeight are expressed in. Converted at the southern border. (optional, default `'kilometers'`) - * `options.mask` **[Feature][1]<([Polygon][7] | [MultiPolygon][8])>?** if passed a Polygon or MultiPolygon, + * `options.units` **Units** the units of the cell width and height value. + Supports all valid Turf [Units][4]. + If you are looking for rectangles with equal width and height in linear units (e.g. kilometers) this is not the module for you. + The cellWidth and cellHeight is converted from units provided to degrees internally, so the width and height of resulting polygons will be consistent only in degrees. (optional, default `'kilometers'`) + * `options.mask` **[Feature][5]<([Polygon][6] | [MultiPolygon][7])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it - * `options.properties` **[Object][5]** passed to each point of the grid (optional, default `{}`) + * `options.properties` **[Object][3]** passed to each point of the grid (optional, default `{}`) ### Examples @@ -33,23 +35,23 @@ var rectangleGrid = turf.rectangleGrid(bbox, cellWidth, cellHeight, options); var addToMap = [rectangleGrid] ``` -Returns **[FeatureCollection][2]<[Polygon][7]>** a grid of polygons +Returns **[FeatureCollection][8]<[Polygon][6]>** a grid of polygons -[1]: https://tools.ietf.org/html/rfc7946#section-3.2 +[1]: https://tools.ietf.org/html/rfc7946#section-5 -[2]: https://tools.ietf.org/html/rfc7946#section-3.3 +[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[4]: https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 -[7]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[7]: https://tools.ietf.org/html/rfc7946#section-3.1.7 -[8]: https://tools.ietf.org/html/rfc7946#section-3.1.7 +[8]: https://tools.ietf.org/html/rfc7946#section-3.3 diff --git a/packages/turf-rectangle-grid/index.ts b/packages/turf-rectangle-grid/index.ts index 68492330a..f8034dc14 100644 --- a/packages/turf-rectangle-grid/index.ts +++ b/packages/turf-rectangle-grid/index.ts @@ -14,15 +14,17 @@ import { Units, } from "@turf/helpers"; /** - * Creates a grid of rectangles from a bounding box, {@link Feature} or {@link FeatureCollection}. + * Creates a grid of rectangular polygons with width and height consistent in degrees * * @name rectangleGrid - * @param {Array} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellWidth of each cell, in units - * @param {number} cellHeight of each cell, in units + * @param {BBox} bbox extent of grid in [minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered. + * @param {number} cellWidth width of each cell, in units + * @param {number} cellHeight height of each cell, in units * @param {Object} [options={}] Optional parameters - * @param {string} [options.units='kilometers'] units ("degrees", "radians", "miles", "kilometers") that the given cellWidth - * and cellHeight are expressed in. Converted at the southern border. + * @param {Units} [options.units='kilometers'] the units of the cell width and height value. + * Supports all valid Turf {@link https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md Units}. + * If you are looking for rectangles with equal width and height in linear units (e.g. kilometers) this is not the module for you. + * The cellWidth and cellHeight is converted from units provided to degrees internally, so the width and height of resulting polygons will be consistent only in degrees. * @param {Feature} [options.mask] if passed a Polygon or MultiPolygon, * the grid Points will be created only inside it * @param {Object} [options.properties={}] passed to each point of the grid diff --git a/packages/turf-square-grid/README.md b/packages/turf-square-grid/README.md index 0a04b3535..28d11fbd0 100644 --- a/packages/turf-square-grid/README.md +++ b/packages/turf-square-grid/README.md @@ -4,16 +4,18 @@ ## squareGrid -Creates a square grid from a bounding box. +Creates a grid of square polygons with cell length consistent in degrees ### Parameters -* `bbox` **[Array][1]<[number][2]>** extent in \[minX, minY, maxX, maxY] order -* `cellSide` **[number][2]** of each cell, in units +* `bbox` **[BBox][1]** extent of grid in \[minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered. +* `cellSide` **[number][2]** length of each cell side. * `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.units` **[string][4]** used in calculating cellSide, can be degrees, - radians, miles, or kilometers (optional, default `'kilometers'`) + * `options.units` **Units** the units of the cellSide value. + Supports all valid Turf [Units][4]. + If you are looking for squares with sides of equal lengths in linear units (e.g. kilometers) this is not the module for you. + The cellSide is converted from units provided to degrees internally, so the width and height of resulting polygons will be consistent only in degrees. (optional, default `'kilometers'`) * `options.mask` **[Feature][5]<([Polygon][6] | [MultiPolygon][7])>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * `options.properties` **[Object][3]** passed to each point of the grid (optional, default `{}`) @@ -31,15 +33,15 @@ var squareGrid = turf.squareGrid(bbox, cellSide, options); var addToMap = [squareGrid] ``` -Returns **[FeatureCollection][8]<[Polygon][6]>** grid a grid of polygons +Returns **[FeatureCollection][8]<[Polygon][6]>** a grid of polygons with equal width and height in degrees. -[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[1]: https://tools.ietf.org/html/rfc7946#section-5 [2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[4]: https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md [5]: https://tools.ietf.org/html/rfc7946#section-3.2 diff --git a/packages/turf-square-grid/index.ts b/packages/turf-square-grid/index.ts index e70a5e953..33a8a95e9 100644 --- a/packages/turf-square-grid/index.ts +++ b/packages/turf-square-grid/index.ts @@ -10,18 +10,20 @@ import { Units } from "@turf/helpers"; import { rectangleGrid } from "@turf/rectangle-grid"; /** - * Creates a square grid from a bounding box. + * Creates a grid of square polygons with cell length consistent in degrees * * @name squareGrid - * @param {Array} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSide of each cell, in units + * @param {BBox} bbox extent of grid in [minX, minY, maxX, maxY] order. If the grid does not fill the bbox perfectly, it is centered. + * @param {number} cellSide length of each cell side. * @param {Object} [options={}] Optional parameters - * @param {string} [options.units='kilometers'] used in calculating cellSide, can be degrees, - * radians, miles, or kilometers + * @param {Units} [options.units='kilometers'] the units of the cellSide value. + * Supports all valid Turf {@link https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md Units}. + * If you are looking for squares with sides of equal lengths in linear units (e.g. kilometers) this is not the module for you. + * The cellSide is converted from units provided to degrees internally, so the width and height of resulting polygons will be consistent only in degrees. * @param {Feature} [options.mask] if passed a Polygon or MultiPolygon, * the grid Points will be created only inside it * @param {Object} [options.properties={}] passed to each point of the grid - * @returns {FeatureCollection} grid a grid of polygons + * @returns {FeatureCollection} a grid of polygons with equal width and height in degrees. * @example * var bbox = [-95, 30 ,-85, 40]; * var cellSide = 50; diff --git a/packages/turf-triangle-grid/README.md b/packages/turf-triangle-grid/README.md index 10dcd092d..051777621 100644 --- a/packages/turf-triangle-grid/README.md +++ b/packages/turf-triangle-grid/README.md @@ -4,17 +4,17 @@ ## triangleGrid -Takes a bounding box and a cell depth and returns a set of triangular [polygons][1] in a grid. +Creates a grid of triangular polygons. ### Parameters -* `bbox` **[Array][2]<[number][3]>** extent in \[minX, minY, maxX, maxY] order -* `cellSide` **[number][3]** dimension of each cell -* `options` **[Object][4]** Optional parameters (optional, default `{}`) +* `bbox` **[BBox][1]** extent of grid in \[minX, minY, maxX, maxY] order +* `cellSide` **[number][2]** dimension of each grid cell. Two triangles are created in each cell. +* `options` **[Object][3]** Optional parameters (optional, default `{}`) - * `options.units` **[string][5]** used in calculating cellSide, can be degrees, radians, miles, or kilometers (optional, default `'kilometers'`) - * `options.mask` **[Feature][6]<[Polygon][1]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it - * `options.properties` **[Object][4]** passed to each point of the grid (optional, default `{}`) + * `options.units` **Units** used in calculating cellSide. Supports all valid Turf [Units][4] (optional, default `'kilometers'`) + * `options.mask` **[Feature][5]<[Polygon][6]>?** if passed a Polygon or MultiPolygon, the grid Points will be created only inside it + * `options.properties` **[Object][3]** passed to each point of the grid (optional, default `{}`) ### Examples @@ -29,19 +29,19 @@ var triangleGrid = turf.triangleGrid(bbox, cellSide, options); var addToMap = [triangleGrid]; ``` -Returns **[FeatureCollection][7]<[Polygon][1]>** grid of polygons +Returns **[FeatureCollection][7]<[Polygon][6]>** grid of polygons -[1]: https://tools.ietf.org/html/rfc7946#section-3.1.6 +[1]: https://tools.ietf.org/html/rfc7946#section-5 -[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array +[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number -[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number +[3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object -[4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object +[4]: https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md -[5]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String +[5]: https://tools.ietf.org/html/rfc7946#section-3.2 -[6]: https://tools.ietf.org/html/rfc7946#section-3.2 +[6]: https://tools.ietf.org/html/rfc7946#section-3.1.6 [7]: https://tools.ietf.org/html/rfc7946#section-3.3 diff --git a/packages/turf-triangle-grid/index.ts b/packages/turf-triangle-grid/index.ts index cb8337c56..fc0f7b3f2 100644 --- a/packages/turf-triangle-grid/index.ts +++ b/packages/turf-triangle-grid/index.ts @@ -10,13 +10,13 @@ import { intersect } from "@turf/intersect"; import { polygon, featureCollection, Units } from "@turf/helpers"; /** - * Takes a bounding box and a cell depth and returns a set of triangular {@link Polygon|polygons} in a grid. + * Creates a grid of triangular polygons. * * @name triangleGrid - * @param {Array} bbox extent in [minX, minY, maxX, maxY] order - * @param {number} cellSide dimension of each cell + * @param {BBox} bbox extent of grid in [minX, minY, maxX, maxY] order + * @param {number} cellSide dimension of each grid cell. Two triangles are created in each cell. * @param {Object} [options={}] Optional parameters - * @param {string} [options.units='kilometers'] used in calculating cellSide, can be degrees, radians, miles, or kilometers + * @param {Units} [options.units='kilometers'] used in calculating cellSide. Supports all valid Turf {@link https://github.com/Turfjs/turf/blob/master/packages/turf-helpers/README_UNITS.md Units} * @param {Feature} [options.mask] if passed a Polygon or MultiPolygon, the grid Points will be created only inside it * @param {Object} [options.properties={}] passed to each point of the grid * @returns {FeatureCollection} grid of polygons From 948cdafaf70606d2e27fcc79973fa48ee1182067 Mon Sep 17 00:00:00 2001 From: mfedderly <24275386+mfedderly@users.noreply.github.com> Date: Fri, 9 Aug 2024 13:52:25 -0400 Subject: [PATCH 6/7] Upgrade pnpm/action-setup in github actions (#2696) --- .github/workflows/prerelease.yml | 5 +++-- .github/workflows/release.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 20a37f26b..ddc7da4eb 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -21,9 +21,10 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v2.4.0 + - name: Install pnpm + uses: pnpm/action-setup@v4 with: - version: 8 + run_install: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb0245fa1..ffcf3c62e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,9 +25,10 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v2.4.0 + - name: Install pnpm + uses: pnpm/action-setup@v4 with: - version: 8 + run_install: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 From 991415d1fc3bfafb31688a4826d48f965da3abfe Mon Sep 17 00:00:00 2001 From: Tim Welch Date: Fri, 9 Aug 2024 11:41:38 -0700 Subject: [PATCH 7/7] v7.1.0 (#2697) --- lerna.json | 2 +- packages/turf-along/package.json | 2 +- packages/turf-angle/package.json | 2 +- packages/turf-area/package.json | 2 +- packages/turf-bbox-clip/package.json | 2 +- packages/turf-bbox-polygon/package.json | 2 +- packages/turf-bbox/package.json | 2 +- packages/turf-bearing/package.json | 2 +- packages/turf-bezier-spline/package.json | 2 +- packages/turf-boolean-clockwise/package.json | 2 +- packages/turf-boolean-concave/package.json | 2 +- packages/turf-boolean-contains/package.json | 2 +- packages/turf-boolean-crosses/package.json | 2 +- packages/turf-boolean-disjoint/package.json | 2 +- packages/turf-boolean-equal/package.json | 2 +- packages/turf-boolean-intersects/package.json | 2 +- packages/turf-boolean-overlap/package.json | 2 +- packages/turf-boolean-parallel/package.json | 2 +- packages/turf-boolean-point-in-polygon/package.json | 2 +- packages/turf-boolean-point-on-line/package.json | 2 +- packages/turf-boolean-touches/package.json | 2 +- packages/turf-boolean-valid/package.json | 2 +- packages/turf-boolean-within/package.json | 2 +- packages/turf-buffer/package.json | 2 +- packages/turf-center-mean/package.json | 2 +- packages/turf-center-median/package.json | 2 +- packages/turf-center-of-mass/package.json | 2 +- packages/turf-center/package.json | 2 +- packages/turf-centroid/package.json | 2 +- packages/turf-circle/package.json | 2 +- packages/turf-clean-coords/package.json | 2 +- packages/turf-clone/package.json | 2 +- packages/turf-clusters-dbscan/package.json | 2 +- packages/turf-clusters-kmeans/package.json | 2 +- packages/turf-clusters/package.json | 2 +- packages/turf-collect/package.json | 2 +- packages/turf-combine/package.json | 2 +- packages/turf-concave/package.json | 2 +- packages/turf-convex/package.json | 2 +- packages/turf-destination/package.json | 2 +- packages/turf-difference/package.json | 2 +- packages/turf-directional-mean/package.json | 2 +- packages/turf-dissolve/package.json | 2 +- packages/turf-distance-weight/package.json | 2 +- packages/turf-distance/package.json | 2 +- packages/turf-ellipse/package.json | 2 +- packages/turf-envelope/package.json | 2 +- packages/turf-explode/package.json | 2 +- packages/turf-flatten/package.json | 2 +- packages/turf-flip/package.json | 2 +- packages/turf-geojson-rbush/package.json | 2 +- packages/turf-great-circle/package.json | 2 +- packages/turf-helpers/package.json | 2 +- packages/turf-hex-grid/package.json | 2 +- packages/turf-interpolate/package.json | 2 +- packages/turf-intersect/package.json | 2 +- packages/turf-invariant/package.json | 2 +- packages/turf-isobands/package.json | 2 +- packages/turf-isolines/package.json | 2 +- packages/turf-kinks/package.json | 2 +- packages/turf-length/package.json | 2 +- packages/turf-line-arc/package.json | 2 +- packages/turf-line-chunk/package.json | 2 +- packages/turf-line-intersect/package.json | 2 +- packages/turf-line-offset/package.json | 2 +- packages/turf-line-overlap/package.json | 2 +- packages/turf-line-segment/package.json | 2 +- packages/turf-line-slice-along/package.json | 2 +- packages/turf-line-slice/package.json | 2 +- packages/turf-line-split/package.json | 2 +- packages/turf-line-to-polygon/package.json | 2 +- packages/turf-mask/package.json | 2 +- packages/turf-meta/package.json | 2 +- packages/turf-midpoint/package.json | 2 +- packages/turf-moran-index/package.json | 2 +- packages/turf-nearest-neighbor-analysis/package.json | 2 +- packages/turf-nearest-point-on-line/package.json | 2 +- packages/turf-nearest-point-to-line/package.json | 2 +- packages/turf-nearest-point/package.json | 2 +- packages/turf-planepoint/package.json | 2 +- packages/turf-point-grid/package.json | 2 +- packages/turf-point-on-feature/package.json | 2 +- packages/turf-point-to-line-distance/package.json | 2 +- packages/turf-points-within-polygon/package.json | 2 +- packages/turf-polygon-smooth/package.json | 2 +- packages/turf-polygon-tangents/package.json | 2 +- packages/turf-polygon-to-line/package.json | 2 +- packages/turf-polygonize/package.json | 2 +- packages/turf-projection/package.json | 2 +- packages/turf-quadrat-analysis/package.json | 2 +- packages/turf-random/package.json | 2 +- packages/turf-rectangle-grid/package.json | 2 +- packages/turf-rewind/package.json | 2 +- packages/turf-rhumb-bearing/package.json | 2 +- packages/turf-rhumb-destination/package.json | 2 +- packages/turf-rhumb-distance/package.json | 2 +- packages/turf-sample/package.json | 2 +- packages/turf-sector/package.json | 2 +- packages/turf-shortest-path/package.json | 2 +- packages/turf-simplify/package.json | 2 +- packages/turf-square-grid/package.json | 2 +- packages/turf-square/package.json | 2 +- packages/turf-standard-deviational-ellipse/package.json | 2 +- packages/turf-tag/package.json | 2 +- packages/turf-tesselate/package.json | 2 +- packages/turf-tin/package.json | 2 +- packages/turf-transform-rotate/package.json | 2 +- packages/turf-transform-scale/package.json | 2 +- packages/turf-transform-translate/package.json | 2 +- packages/turf-triangle-grid/package.json | 2 +- packages/turf-truncate/package.json | 2 +- packages/turf-union/package.json | 2 +- packages/turf-unkink-polygon/package.json | 2 +- packages/turf-voronoi/package.json | 2 +- packages/turf/package.json | 2 +- 115 files changed, 115 insertions(+), 115 deletions(-) diff --git a/lerna.json b/lerna.json index 28286581b..76d9a67ca 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", "npmClient": "pnpm", - "version": "7.0.0", + "version": "7.1.0", "command": { "publish": { "registry": "https://registry.npmjs.org" diff --git a/packages/turf-along/package.json b/packages/turf-along/package.json index 8278e2604..ba94b8805 100644 --- a/packages/turf-along/package.json +++ b/packages/turf-along/package.json @@ -1,6 +1,6 @@ { "name": "@turf/along", - "version": "7.0.0", + "version": "7.1.0", "description": "turf along module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-angle/package.json b/packages/turf-angle/package.json index 44092bac8..17eb03108 100644 --- a/packages/turf-angle/package.json +++ b/packages/turf-angle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/angle", - "version": "7.0.0", + "version": "7.1.0", "description": "turf angle module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-area/package.json b/packages/turf-area/package.json index db8651529..eaa59340c 100644 --- a/packages/turf-area/package.json +++ b/packages/turf-area/package.json @@ -1,6 +1,6 @@ { "name": "@turf/area", - "version": "7.0.0", + "version": "7.1.0", "description": "turf area module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-bbox-clip/package.json b/packages/turf-bbox-clip/package.json index 582203ce2..a6b7be635 100644 --- a/packages/turf-bbox-clip/package.json +++ b/packages/turf-bbox-clip/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox-clip", - "version": "7.0.0", + "version": "7.1.0", "description": "turf bbox-clip module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-bbox-polygon/package.json b/packages/turf-bbox-polygon/package.json index bbd33fd3c..b3e5ea242 100644 --- a/packages/turf-bbox-polygon/package.json +++ b/packages/turf-bbox-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox-polygon", - "version": "7.0.0", + "version": "7.1.0", "description": "turf bbox-polygon module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-bbox/package.json b/packages/turf-bbox/package.json index b09d66c03..3488b08c6 100644 --- a/packages/turf-bbox/package.json +++ b/packages/turf-bbox/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bbox", - "version": "7.0.0", + "version": "7.1.0", "description": "turf bbox module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-bearing/package.json b/packages/turf-bearing/package.json index a928651e4..aa28f719a 100644 --- a/packages/turf-bearing/package.json +++ b/packages/turf-bearing/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bearing", - "version": "7.0.0", + "version": "7.1.0", "description": "turf bearing module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-bezier-spline/package.json b/packages/turf-bezier-spline/package.json index a26c7cb75..8799a962c 100644 --- a/packages/turf-bezier-spline/package.json +++ b/packages/turf-bezier-spline/package.json @@ -1,6 +1,6 @@ { "name": "@turf/bezier-spline", - "version": "7.0.0", + "version": "7.1.0", "description": "turf bezier-spline module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-boolean-clockwise/package.json b/packages/turf-boolean-clockwise/package.json index 497b1006a..dd270de77 100755 --- a/packages/turf-boolean-clockwise/package.json +++ b/packages/turf-boolean-clockwise/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-clockwise", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-clockwise module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-concave/package.json b/packages/turf-boolean-concave/package.json index a8c6e7765..255ce5ab2 100644 --- a/packages/turf-boolean-concave/package.json +++ b/packages/turf-boolean-concave/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-concave", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-concave module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-contains/package.json b/packages/turf-boolean-contains/package.json index bb92c46b6..2cc7f26bd 100644 --- a/packages/turf-boolean-contains/package.json +++ b/packages/turf-boolean-contains/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-contains", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-contains module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-crosses/package.json b/packages/turf-boolean-crosses/package.json index 13a2391d1..9a8812cb2 100644 --- a/packages/turf-boolean-crosses/package.json +++ b/packages/turf-boolean-crosses/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-crosses", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-crosses module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-disjoint/package.json b/packages/turf-boolean-disjoint/package.json index ae063fd86..6661359ce 100644 --- a/packages/turf-boolean-disjoint/package.json +++ b/packages/turf-boolean-disjoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-disjoint", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-disjoint module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-equal/package.json b/packages/turf-boolean-equal/package.json index e27c58fb2..5d56b8132 100644 --- a/packages/turf-boolean-equal/package.json +++ b/packages/turf-boolean-equal/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-equal", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-equal module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-intersects/package.json b/packages/turf-boolean-intersects/package.json index 2d51e6179..09864f80c 100644 --- a/packages/turf-boolean-intersects/package.json +++ b/packages/turf-boolean-intersects/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-intersects", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-intersects module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-overlap/package.json b/packages/turf-boolean-overlap/package.json index 84c477d9c..4550057c2 100755 --- a/packages/turf-boolean-overlap/package.json +++ b/packages/turf-boolean-overlap/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-overlap", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-overlap module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-parallel/package.json b/packages/turf-boolean-parallel/package.json index a156fcf6d..ae8e53267 100644 --- a/packages/turf-boolean-parallel/package.json +++ b/packages/turf-boolean-parallel/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-parallel", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-parallel module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-point-in-polygon/package.json b/packages/turf-boolean-point-in-polygon/package.json index 4e96f614d..5893e1c5f 100644 --- a/packages/turf-boolean-point-in-polygon/package.json +++ b/packages/turf-boolean-point-in-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-point-in-polygon", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-point-in-polygon module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-boolean-point-on-line/package.json b/packages/turf-boolean-point-on-line/package.json index 0343a0ea9..35eda8de9 100644 --- a/packages/turf-boolean-point-on-line/package.json +++ b/packages/turf-boolean-point-on-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-point-on-line", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-point-on-line module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-touches/package.json b/packages/turf-boolean-touches/package.json index 366395fb6..ef21b3f41 100644 --- a/packages/turf-boolean-touches/package.json +++ b/packages/turf-boolean-touches/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-touches", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-touches module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-valid/package.json b/packages/turf-boolean-valid/package.json index 8a185c91a..091d8e5b8 100644 --- a/packages/turf-boolean-valid/package.json +++ b/packages/turf-boolean-valid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-valid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-valid module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-boolean-within/package.json b/packages/turf-boolean-within/package.json index fd1333093..207370364 100644 --- a/packages/turf-boolean-within/package.json +++ b/packages/turf-boolean-within/package.json @@ -1,6 +1,6 @@ { "name": "@turf/boolean-within", - "version": "7.0.0", + "version": "7.1.0", "description": "turf boolean-within module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-buffer/package.json b/packages/turf-buffer/package.json index f862b018c..f2b0c0a80 100644 --- a/packages/turf-buffer/package.json +++ b/packages/turf-buffer/package.json @@ -1,6 +1,6 @@ { "name": "@turf/buffer", - "version": "7.0.0", + "version": "7.1.0", "description": "turf buffer module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-center-mean/package.json b/packages/turf-center-mean/package.json index 41a3c90df..a71bd5c4d 100644 --- a/packages/turf-center-mean/package.json +++ b/packages/turf-center-mean/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-mean", - "version": "7.0.0", + "version": "7.1.0", "description": "turf center-mean module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-center-median/package.json b/packages/turf-center-median/package.json index 003050698..99951dd12 100644 --- a/packages/turf-center-median/package.json +++ b/packages/turf-center-median/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-median", - "version": "7.0.0", + "version": "7.1.0", "description": "turf center-median module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-center-of-mass/package.json b/packages/turf-center-of-mass/package.json index 97a0ab2f8..f3829312e 100644 --- a/packages/turf-center-of-mass/package.json +++ b/packages/turf-center-of-mass/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center-of-mass", - "version": "7.0.0", + "version": "7.1.0", "description": "turf center-of-mass module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-center/package.json b/packages/turf-center/package.json index b6a90d7d0..092f820d0 100644 --- a/packages/turf-center/package.json +++ b/packages/turf-center/package.json @@ -1,6 +1,6 @@ { "name": "@turf/center", - "version": "7.0.0", + "version": "7.1.0", "description": "turf center module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-centroid/package.json b/packages/turf-centroid/package.json index f214e38b5..c3b536ad2 100644 --- a/packages/turf-centroid/package.json +++ b/packages/turf-centroid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/centroid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf centroid module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-circle/package.json b/packages/turf-circle/package.json index 7ab568c60..9fd9d02e9 100644 --- a/packages/turf-circle/package.json +++ b/packages/turf-circle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/circle", - "version": "7.0.0", + "version": "7.1.0", "description": "turf circle module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-clean-coords/package.json b/packages/turf-clean-coords/package.json index 999bc68d9..cf14f6aaa 100644 --- a/packages/turf-clean-coords/package.json +++ b/packages/turf-clean-coords/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clean-coords", - "version": "7.0.0", + "version": "7.1.0", "description": "turf clean-coords module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-clone/package.json b/packages/turf-clone/package.json index 534675975..d91252e44 100644 --- a/packages/turf-clone/package.json +++ b/packages/turf-clone/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clone", - "version": "7.0.0", + "version": "7.1.0", "description": "turf clone module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-clusters-dbscan/package.json b/packages/turf-clusters-dbscan/package.json index 91d956189..ce71ddfb5 100644 --- a/packages/turf-clusters-dbscan/package.json +++ b/packages/turf-clusters-dbscan/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters-dbscan", - "version": "7.0.0", + "version": "7.1.0", "description": "turf clusters-dbscan module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-clusters-kmeans/package.json b/packages/turf-clusters-kmeans/package.json index f9bdcbc82..54f09a298 100644 --- a/packages/turf-clusters-kmeans/package.json +++ b/packages/turf-clusters-kmeans/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters-kmeans", - "version": "7.0.0", + "version": "7.1.0", "description": "turf clusters-kmeans module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-clusters/package.json b/packages/turf-clusters/package.json index 42327c96d..b405531a2 100644 --- a/packages/turf-clusters/package.json +++ b/packages/turf-clusters/package.json @@ -1,6 +1,6 @@ { "name": "@turf/clusters", - "version": "7.0.0", + "version": "7.1.0", "description": "turf clusters module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-collect/package.json b/packages/turf-collect/package.json index 4960b76c1..c9e0c8dbb 100644 --- a/packages/turf-collect/package.json +++ b/packages/turf-collect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/collect", - "version": "7.0.0", + "version": "7.1.0", "description": "turf collect module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-combine/package.json b/packages/turf-combine/package.json index 4a179baea..f9e941b17 100644 --- a/packages/turf-combine/package.json +++ b/packages/turf-combine/package.json @@ -1,6 +1,6 @@ { "name": "@turf/combine", - "version": "7.0.0", + "version": "7.1.0", "description": "turf combine module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-concave/package.json b/packages/turf-concave/package.json index cf8b5fd5b..1226e4898 100644 --- a/packages/turf-concave/package.json +++ b/packages/turf-concave/package.json @@ -1,6 +1,6 @@ { "name": "@turf/concave", - "version": "7.0.0", + "version": "7.1.0", "description": "turf concave module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-convex/package.json b/packages/turf-convex/package.json index 1dae22443..e323b5d60 100644 --- a/packages/turf-convex/package.json +++ b/packages/turf-convex/package.json @@ -1,6 +1,6 @@ { "name": "@turf/convex", - "version": "7.0.0", + "version": "7.1.0", "description": "turf convex module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-destination/package.json b/packages/turf-destination/package.json index df8f3ea1a..2545efa64 100644 --- a/packages/turf-destination/package.json +++ b/packages/turf-destination/package.json @@ -1,6 +1,6 @@ { "name": "@turf/destination", - "version": "7.0.0", + "version": "7.1.0", "description": "turf destination module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-difference/package.json b/packages/turf-difference/package.json index e1625a8ee..af27e4a90 100644 --- a/packages/turf-difference/package.json +++ b/packages/turf-difference/package.json @@ -1,6 +1,6 @@ { "name": "@turf/difference", - "version": "7.0.0", + "version": "7.1.0", "description": "turf difference module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-directional-mean/package.json b/packages/turf-directional-mean/package.json index 5d8ae150d..ab887f838 100644 --- a/packages/turf-directional-mean/package.json +++ b/packages/turf-directional-mean/package.json @@ -1,6 +1,6 @@ { "name": "@turf/directional-mean", - "version": "7.0.0", + "version": "7.1.0", "description": "turf directional-mean module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-dissolve/package.json b/packages/turf-dissolve/package.json index dee35fed2..6f66ca5af 100644 --- a/packages/turf-dissolve/package.json +++ b/packages/turf-dissolve/package.json @@ -1,6 +1,6 @@ { "name": "@turf/dissolve", - "version": "7.0.0", + "version": "7.1.0", "description": "turf dissolve module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-distance-weight/package.json b/packages/turf-distance-weight/package.json index 0aa0e1d81..06a852f45 100644 --- a/packages/turf-distance-weight/package.json +++ b/packages/turf-distance-weight/package.json @@ -1,6 +1,6 @@ { "name": "@turf/distance-weight", - "version": "7.0.0", + "version": "7.1.0", "description": "turf distance-weight module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-distance/package.json b/packages/turf-distance/package.json index 9f19ac50a..609d05d3c 100644 --- a/packages/turf-distance/package.json +++ b/packages/turf-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/distance", - "version": "7.0.0", + "version": "7.1.0", "description": "turf distance module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-ellipse/package.json b/packages/turf-ellipse/package.json index ea2b1e369..6874f5df6 100644 --- a/packages/turf-ellipse/package.json +++ b/packages/turf-ellipse/package.json @@ -1,6 +1,6 @@ { "name": "@turf/ellipse", - "version": "7.0.0", + "version": "7.1.0", "description": "turf ellipse module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-envelope/package.json b/packages/turf-envelope/package.json index 80d78aedd..c1ff81524 100644 --- a/packages/turf-envelope/package.json +++ b/packages/turf-envelope/package.json @@ -1,6 +1,6 @@ { "name": "@turf/envelope", - "version": "7.0.0", + "version": "7.1.0", "description": "turf envelope module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-explode/package.json b/packages/turf-explode/package.json index cdf412625..f3df86775 100644 --- a/packages/turf-explode/package.json +++ b/packages/turf-explode/package.json @@ -1,6 +1,6 @@ { "name": "@turf/explode", - "version": "7.0.0", + "version": "7.1.0", "description": "turf explode module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-flatten/package.json b/packages/turf-flatten/package.json index 2f67d865b..20114380b 100644 --- a/packages/turf-flatten/package.json +++ b/packages/turf-flatten/package.json @@ -1,6 +1,6 @@ { "name": "@turf/flatten", - "version": "7.0.0", + "version": "7.1.0", "description": "turf flatten module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-flip/package.json b/packages/turf-flip/package.json index abb93b2ad..fa6a82b94 100644 --- a/packages/turf-flip/package.json +++ b/packages/turf-flip/package.json @@ -1,6 +1,6 @@ { "name": "@turf/flip", - "version": "7.0.0", + "version": "7.1.0", "description": "turf flip module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-geojson-rbush/package.json b/packages/turf-geojson-rbush/package.json index 0f26b3616..5d19ba7cd 100644 --- a/packages/turf-geojson-rbush/package.json +++ b/packages/turf-geojson-rbush/package.json @@ -1,6 +1,6 @@ { "name": "@turf/geojson-rbush", - "version": "7.0.0", + "version": "7.1.0", "description": "GeoJSON implementation of RBush", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-great-circle/package.json b/packages/turf-great-circle/package.json index 917e6e54c..d55d5e64a 100644 --- a/packages/turf-great-circle/package.json +++ b/packages/turf-great-circle/package.json @@ -1,6 +1,6 @@ { "name": "@turf/great-circle", - "version": "7.0.0", + "version": "7.1.0", "description": "turf great-circle module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-helpers/package.json b/packages/turf-helpers/package.json index dd31ee8d0..3be66ca68 100644 --- a/packages/turf-helpers/package.json +++ b/packages/turf-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@turf/helpers", - "version": "7.0.0", + "version": "7.1.0", "description": "turf helpers module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-hex-grid/package.json b/packages/turf-hex-grid/package.json index 3adb5fe8d..cca929357 100644 --- a/packages/turf-hex-grid/package.json +++ b/packages/turf-hex-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/hex-grid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf hex-grid module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-interpolate/package.json b/packages/turf-interpolate/package.json index aa135ecef..ecbaa390d 100644 --- a/packages/turf-interpolate/package.json +++ b/packages/turf-interpolate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/interpolate", - "version": "7.0.0", + "version": "7.1.0", "description": "turf interpolate module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-intersect/package.json b/packages/turf-intersect/package.json index 94af6e516..87bd103b3 100644 --- a/packages/turf-intersect/package.json +++ b/packages/turf-intersect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/intersect", - "version": "7.0.0", + "version": "7.1.0", "description": "turf intersect module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-invariant/package.json b/packages/turf-invariant/package.json index 9d3588242..22c023df1 100644 --- a/packages/turf-invariant/package.json +++ b/packages/turf-invariant/package.json @@ -1,6 +1,6 @@ { "name": "@turf/invariant", - "version": "7.0.0", + "version": "7.1.0", "description": "turf invariant module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-isobands/package.json b/packages/turf-isobands/package.json index 9426064c3..b692076f6 100644 --- a/packages/turf-isobands/package.json +++ b/packages/turf-isobands/package.json @@ -1,6 +1,6 @@ { "name": "@turf/isobands", - "version": "7.0.0", + "version": "7.1.0", "description": "turf isobands module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-isolines/package.json b/packages/turf-isolines/package.json index a1c266498..dd2c04636 100644 --- a/packages/turf-isolines/package.json +++ b/packages/turf-isolines/package.json @@ -1,6 +1,6 @@ { "name": "@turf/isolines", - "version": "7.0.0", + "version": "7.1.0", "description": "turf isolines module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-kinks/package.json b/packages/turf-kinks/package.json index 33c573846..7ef59ff95 100644 --- a/packages/turf-kinks/package.json +++ b/packages/turf-kinks/package.json @@ -1,6 +1,6 @@ { "name": "@turf/kinks", - "version": "7.0.0", + "version": "7.1.0", "description": "turf kinks module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-length/package.json b/packages/turf-length/package.json index 718fe5ea6..70200b583 100644 --- a/packages/turf-length/package.json +++ b/packages/turf-length/package.json @@ -1,6 +1,6 @@ { "name": "@turf/length", - "version": "7.0.0", + "version": "7.1.0", "description": "turf length module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-arc/package.json b/packages/turf-line-arc/package.json index 901757d57..a17e8be1f 100644 --- a/packages/turf-line-arc/package.json +++ b/packages/turf-line-arc/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-arc", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-arc module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-line-chunk/package.json b/packages/turf-line-chunk/package.json index 6e5c518fa..983a4d087 100644 --- a/packages/turf-line-chunk/package.json +++ b/packages/turf-line-chunk/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-chunk", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-chunk module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-intersect/package.json b/packages/turf-line-intersect/package.json index 15089f312..9ef13fde3 100644 --- a/packages/turf-line-intersect/package.json +++ b/packages/turf-line-intersect/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-intersect", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-intersect module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-offset/package.json b/packages/turf-line-offset/package.json index 33831dd6f..34c28e4aa 100644 --- a/packages/turf-line-offset/package.json +++ b/packages/turf-line-offset/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-offset", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-offset module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-overlap/package.json b/packages/turf-line-overlap/package.json index a34e01996..f09428776 100644 --- a/packages/turf-line-overlap/package.json +++ b/packages/turf-line-overlap/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-overlap", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-overlap module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-segment/package.json b/packages/turf-line-segment/package.json index c1d4ec4a3..4a85c0e4e 100644 --- a/packages/turf-line-segment/package.json +++ b/packages/turf-line-segment/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-segment", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-segment module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-line-slice-along/package.json b/packages/turf-line-slice-along/package.json index 702c22fcf..3a7489e82 100644 --- a/packages/turf-line-slice-along/package.json +++ b/packages/turf-line-slice-along/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-slice-along", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-slice-along module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-line-slice/package.json b/packages/turf-line-slice/package.json index a6492f44c..f2c94cc19 100644 --- a/packages/turf-line-slice/package.json +++ b/packages/turf-line-slice/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-slice", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-slice module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-line-split/package.json b/packages/turf-line-split/package.json index 36775e723..f3b77ef58 100644 --- a/packages/turf-line-split/package.json +++ b/packages/turf-line-split/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-split", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-split module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-line-to-polygon/package.json b/packages/turf-line-to-polygon/package.json index 46d08e0ec..d6f4196ef 100644 --- a/packages/turf-line-to-polygon/package.json +++ b/packages/turf-line-to-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/line-to-polygon", - "version": "7.0.0", + "version": "7.1.0", "description": "turf line-to-polygon module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-mask/package.json b/packages/turf-mask/package.json index c51057d70..935d270c6 100644 --- a/packages/turf-mask/package.json +++ b/packages/turf-mask/package.json @@ -1,6 +1,6 @@ { "name": "@turf/mask", - "version": "7.0.0", + "version": "7.1.0", "description": "turf mask module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-meta/package.json b/packages/turf-meta/package.json index fae0bae96..dc149df71 100644 --- a/packages/turf-meta/package.json +++ b/packages/turf-meta/package.json @@ -1,6 +1,6 @@ { "name": "@turf/meta", - "version": "7.0.0", + "version": "7.1.0", "description": "turf meta module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-midpoint/package.json b/packages/turf-midpoint/package.json index a150bc123..19ac9944f 100644 --- a/packages/turf-midpoint/package.json +++ b/packages/turf-midpoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/midpoint", - "version": "7.0.0", + "version": "7.1.0", "description": "turf midpoint module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-moran-index/package.json b/packages/turf-moran-index/package.json index 2768bc479..219e37265 100644 --- a/packages/turf-moran-index/package.json +++ b/packages/turf-moran-index/package.json @@ -1,6 +1,6 @@ { "name": "@turf/moran-index", - "version": "7.0.0", + "version": "7.1.0", "description": "turf moran-index module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-nearest-neighbor-analysis/package.json b/packages/turf-nearest-neighbor-analysis/package.json index bf4a77205..95181012c 100644 --- a/packages/turf-nearest-neighbor-analysis/package.json +++ b/packages/turf-nearest-neighbor-analysis/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-neighbor-analysis", - "version": "7.0.0", + "version": "7.1.0", "description": "turf nearest-neighbor-analysis module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-nearest-point-on-line/package.json b/packages/turf-nearest-point-on-line/package.json index 1ea9c1a2a..e4b406e41 100644 --- a/packages/turf-nearest-point-on-line/package.json +++ b/packages/turf-nearest-point-on-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point-on-line", - "version": "7.0.0", + "version": "7.1.0", "description": "turf nearest-point-on-line module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-nearest-point-to-line/package.json b/packages/turf-nearest-point-to-line/package.json index 66405c2b3..be97be562 100644 --- a/packages/turf-nearest-point-to-line/package.json +++ b/packages/turf-nearest-point-to-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point-to-line", - "version": "7.0.0", + "version": "7.1.0", "description": "turf nearest-point-to-line module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-nearest-point/package.json b/packages/turf-nearest-point/package.json index 477417a4c..25df4af9d 100644 --- a/packages/turf-nearest-point/package.json +++ b/packages/turf-nearest-point/package.json @@ -1,6 +1,6 @@ { "name": "@turf/nearest-point", - "version": "7.0.0", + "version": "7.1.0", "description": "turf nearest-point module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-planepoint/package.json b/packages/turf-planepoint/package.json index 959e45ce8..b3253a921 100644 --- a/packages/turf-planepoint/package.json +++ b/packages/turf-planepoint/package.json @@ -1,6 +1,6 @@ { "name": "@turf/planepoint", - "version": "7.0.0", + "version": "7.1.0", "description": "turf planepoint module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-point-grid/package.json b/packages/turf-point-grid/package.json index 4caa52441..700069dd5 100644 --- a/packages/turf-point-grid/package.json +++ b/packages/turf-point-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-grid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf point-grid module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-point-on-feature/package.json b/packages/turf-point-on-feature/package.json index 7fe21ed3c..2b908161b 100644 --- a/packages/turf-point-on-feature/package.json +++ b/packages/turf-point-on-feature/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-on-feature", - "version": "7.0.0", + "version": "7.1.0", "description": "turf point-on-feature module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-point-to-line-distance/package.json b/packages/turf-point-to-line-distance/package.json index d1a7b07c4..9630c2103 100644 --- a/packages/turf-point-to-line-distance/package.json +++ b/packages/turf-point-to-line-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/point-to-line-distance", - "version": "7.0.0", + "version": "7.1.0", "description": "turf point-to-line-distance module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-points-within-polygon/package.json b/packages/turf-points-within-polygon/package.json index 191650ea8..08d5b0ccf 100644 --- a/packages/turf-points-within-polygon/package.json +++ b/packages/turf-points-within-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/points-within-polygon", - "version": "7.0.0", + "version": "7.1.0", "description": "turf points-within-polygon module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-polygon-smooth/package.json b/packages/turf-polygon-smooth/package.json index 8b6ed3c07..45d5ee87d 100644 --- a/packages/turf-polygon-smooth/package.json +++ b/packages/turf-polygon-smooth/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-smooth", - "version": "7.0.0", + "version": "7.1.0", "description": "turf polygon smooth module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-polygon-tangents/package.json b/packages/turf-polygon-tangents/package.json index 62aa9e5cb..d140c8d72 100644 --- a/packages/turf-polygon-tangents/package.json +++ b/packages/turf-polygon-tangents/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-tangents", - "version": "7.0.0", + "version": "7.1.0", "description": "turf polygon tangents module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-polygon-to-line/package.json b/packages/turf-polygon-to-line/package.json index f5c376e09..7bc7252da 100644 --- a/packages/turf-polygon-to-line/package.json +++ b/packages/turf-polygon-to-line/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygon-to-line", - "version": "7.0.0", + "version": "7.1.0", "description": "turf polygon-to-line module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-polygonize/package.json b/packages/turf-polygonize/package.json index c740d4284..3091cc953 100644 --- a/packages/turf-polygonize/package.json +++ b/packages/turf-polygonize/package.json @@ -1,6 +1,6 @@ { "name": "@turf/polygonize", - "version": "7.0.0", + "version": "7.1.0", "description": "turf polygonize module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-projection/package.json b/packages/turf-projection/package.json index 0349d6254..73a6e0168 100644 --- a/packages/turf-projection/package.json +++ b/packages/turf-projection/package.json @@ -1,6 +1,6 @@ { "name": "@turf/projection", - "version": "7.0.0", + "version": "7.1.0", "description": "turf projection module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-quadrat-analysis/package.json b/packages/turf-quadrat-analysis/package.json index c35cbdb76..642763e2f 100644 --- a/packages/turf-quadrat-analysis/package.json +++ b/packages/turf-quadrat-analysis/package.json @@ -1,6 +1,6 @@ { "name": "@turf/quadrat-analysis", - "version": "7.0.0", + "version": "7.1.0", "description": "turf quadrat-analysis module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-random/package.json b/packages/turf-random/package.json index bf5b51603..30d4368b1 100644 --- a/packages/turf-random/package.json +++ b/packages/turf-random/package.json @@ -1,6 +1,6 @@ { "name": "@turf/random", - "version": "7.0.0", + "version": "7.1.0", "description": "turf random module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-rectangle-grid/package.json b/packages/turf-rectangle-grid/package.json index dc1c3a6f9..79583c2c4 100644 --- a/packages/turf-rectangle-grid/package.json +++ b/packages/turf-rectangle-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rectangle-grid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf rectangle-grid module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-rewind/package.json b/packages/turf-rewind/package.json index d2b624d7d..53107cbac 100644 --- a/packages/turf-rewind/package.json +++ b/packages/turf-rewind/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rewind", - "version": "7.0.0", + "version": "7.1.0", "description": "turf rewind module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-rhumb-bearing/package.json b/packages/turf-rhumb-bearing/package.json index fbf34b8a6..befe3b369 100644 --- a/packages/turf-rhumb-bearing/package.json +++ b/packages/turf-rhumb-bearing/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-bearing", - "version": "7.0.0", + "version": "7.1.0", "description": "turf rhumb-bearing module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-rhumb-destination/package.json b/packages/turf-rhumb-destination/package.json index a74a8076c..0164ee541 100644 --- a/packages/turf-rhumb-destination/package.json +++ b/packages/turf-rhumb-destination/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-destination", - "version": "7.0.0", + "version": "7.1.0", "description": "turf rhumb-destination module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-rhumb-distance/package.json b/packages/turf-rhumb-distance/package.json index 80d560334..7dbd605ec 100644 --- a/packages/turf-rhumb-distance/package.json +++ b/packages/turf-rhumb-distance/package.json @@ -1,6 +1,6 @@ { "name": "@turf/rhumb-distance", - "version": "7.0.0", + "version": "7.1.0", "description": "turf rhumb-distance module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-sample/package.json b/packages/turf-sample/package.json index 6e2581a14..5520b986d 100644 --- a/packages/turf-sample/package.json +++ b/packages/turf-sample/package.json @@ -1,6 +1,6 @@ { "name": "@turf/sample", - "version": "7.0.0", + "version": "7.1.0", "description": "turf sample module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-sector/package.json b/packages/turf-sector/package.json index d0736fecb..9b2e2a47f 100644 --- a/packages/turf-sector/package.json +++ b/packages/turf-sector/package.json @@ -1,6 +1,6 @@ { "name": "@turf/sector", - "version": "7.0.0", + "version": "7.1.0", "description": "turf sector module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-shortest-path/package.json b/packages/turf-shortest-path/package.json index e1fe95fd9..3991acb6f 100644 --- a/packages/turf-shortest-path/package.json +++ b/packages/turf-shortest-path/package.json @@ -1,6 +1,6 @@ { "name": "@turf/shortest-path", - "version": "7.0.0", + "version": "7.1.0", "description": "turf shortest-path module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-simplify/package.json b/packages/turf-simplify/package.json index 4bb4d77f2..ffbcf784f 100644 --- a/packages/turf-simplify/package.json +++ b/packages/turf-simplify/package.json @@ -1,6 +1,6 @@ { "name": "@turf/simplify", - "version": "7.0.0", + "version": "7.1.0", "description": "turf simplify module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-square-grid/package.json b/packages/turf-square-grid/package.json index 9273c88b7..6ff4766ea 100644 --- a/packages/turf-square-grid/package.json +++ b/packages/turf-square-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/square-grid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf square-grid module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-square/package.json b/packages/turf-square/package.json index 8e2280865..11393db1e 100644 --- a/packages/turf-square/package.json +++ b/packages/turf-square/package.json @@ -1,6 +1,6 @@ { "name": "@turf/square", - "version": "7.0.0", + "version": "7.1.0", "description": "turf square module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-standard-deviational-ellipse/package.json b/packages/turf-standard-deviational-ellipse/package.json index 9199ae158..c22fd6030 100644 --- a/packages/turf-standard-deviational-ellipse/package.json +++ b/packages/turf-standard-deviational-ellipse/package.json @@ -1,6 +1,6 @@ { "name": "@turf/standard-deviational-ellipse", - "version": "7.0.0", + "version": "7.1.0", "description": "turf standard-deviational-ellipse module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-tag/package.json b/packages/turf-tag/package.json index 4927673ed..694b172be 100644 --- a/packages/turf-tag/package.json +++ b/packages/turf-tag/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tag", - "version": "7.0.0", + "version": "7.1.0", "description": "turf tag module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-tesselate/package.json b/packages/turf-tesselate/package.json index 2ce546a84..c9e879a60 100644 --- a/packages/turf-tesselate/package.json +++ b/packages/turf-tesselate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tesselate", - "version": "7.0.0", + "version": "7.1.0", "description": "turf tesselate module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-tin/package.json b/packages/turf-tin/package.json index 575d579ab..ac1316695 100644 --- a/packages/turf-tin/package.json +++ b/packages/turf-tin/package.json @@ -1,6 +1,6 @@ { "name": "@turf/tin", - "version": "7.0.0", + "version": "7.1.0", "description": "turf tin module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-transform-rotate/package.json b/packages/turf-transform-rotate/package.json index c57ea055c..55fff1223 100644 --- a/packages/turf-transform-rotate/package.json +++ b/packages/turf-transform-rotate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-rotate", - "version": "7.0.0", + "version": "7.1.0", "description": "turf transform-rotate module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-transform-scale/package.json b/packages/turf-transform-scale/package.json index 9d71adc3b..e080fcc9c 100644 --- a/packages/turf-transform-scale/package.json +++ b/packages/turf-transform-scale/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-scale", - "version": "7.0.0", + "version": "7.1.0", "description": "turf transform-scale module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-transform-translate/package.json b/packages/turf-transform-translate/package.json index 5e44fca4c..39965fb4f 100644 --- a/packages/turf-transform-translate/package.json +++ b/packages/turf-transform-translate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/transform-translate", - "version": "7.0.0", + "version": "7.1.0", "description": "turf transform-translate module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-triangle-grid/package.json b/packages/turf-triangle-grid/package.json index 467238e73..66ce5c8ea 100644 --- a/packages/turf-triangle-grid/package.json +++ b/packages/turf-triangle-grid/package.json @@ -1,6 +1,6 @@ { "name": "@turf/triangle-grid", - "version": "7.0.0", + "version": "7.1.0", "description": "turf triangle-grid module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-truncate/package.json b/packages/turf-truncate/package.json index 684ffa739..c7425439f 100644 --- a/packages/turf-truncate/package.json +++ b/packages/turf-truncate/package.json @@ -1,6 +1,6 @@ { "name": "@turf/truncate", - "version": "7.0.0", + "version": "7.1.0", "description": "turf truncate module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf-union/package.json b/packages/turf-union/package.json index 4dc90c11d..4c6672cd1 100644 --- a/packages/turf-union/package.json +++ b/packages/turf-union/package.json @@ -1,6 +1,6 @@ { "name": "@turf/union", - "version": "7.0.0", + "version": "7.1.0", "description": "turf union module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-unkink-polygon/package.json b/packages/turf-unkink-polygon/package.json index 46ccbb1fc..133749325 100644 --- a/packages/turf-unkink-polygon/package.json +++ b/packages/turf-unkink-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@turf/unkink-polygon", - "version": "7.0.0", + "version": "7.1.0", "description": "turf unkink-polygon module", "author": "Turf Authors", "license": "MIT", diff --git a/packages/turf-voronoi/package.json b/packages/turf-voronoi/package.json index 82f080b62..38d0e16e8 100644 --- a/packages/turf-voronoi/package.json +++ b/packages/turf-voronoi/package.json @@ -1,6 +1,6 @@ { "name": "@turf/voronoi", - "version": "7.0.0", + "version": "7.1.0", "description": "turf voronoi module", "author": "Turf Authors", "contributors": [ diff --git a/packages/turf/package.json b/packages/turf/package.json index 4855aa15c..0624dedfe 100644 --- a/packages/turf/package.json +++ b/packages/turf/package.json @@ -1,6 +1,6 @@ { "name": "@turf/turf", - "version": "7.0.0", + "version": "7.1.0", "description": "a JavaScript library for performing geospatial operations with GeoJSON", "author": "Turf Authors", "license": "MIT",