@turf/turf 6.5.0 → 7.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +10 -10
- package/dist/js/index.js +457 -545
- package/index.d.ts +3 -24
- package/package.json +111 -107
- package/turf.min.js +144 -83
package/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export { default as transformScale } from "@turf/transform-scale";
|
|
|
69
69
|
export { default as transformTranslate } from "@turf/transform-translate";
|
|
70
70
|
export { default as lineOffset } from "@turf/line-offset";
|
|
71
71
|
export { default as polygonize } from "@turf/polygonize";
|
|
72
|
+
export { default as booleanConcave } from "@turf/boolean-concave";
|
|
72
73
|
export { default as booleanDisjoint } from "@turf/boolean-disjoint";
|
|
73
74
|
export { default as booleanContains } from "@turf/boolean-contains";
|
|
74
75
|
export { default as booleanCrosses } from "@turf/boolean-crosses";
|
|
@@ -76,7 +77,9 @@ export { default as booleanClockwise } from "@turf/boolean-clockwise";
|
|
|
76
77
|
export { default as booleanOverlap } from "@turf/boolean-overlap";
|
|
77
78
|
export { default as booleanPointOnLine } from "@turf/boolean-point-on-line";
|
|
78
79
|
export { default as booleanEqual } from "@turf/boolean-equal";
|
|
80
|
+
export { default as booleanTouches } from "@turf/boolean-touches";
|
|
79
81
|
export { default as booleanWithin } from "@turf/boolean-within";
|
|
82
|
+
export { default as booleanIntersects } from "@turf/boolean-intersects";
|
|
80
83
|
export { default as clone } from "@turf/clone";
|
|
81
84
|
export { default as cleanCoords } from "@turf/clean-coords";
|
|
82
85
|
export { default as clustersDbscan } from "@turf/clusters-dbscan";
|
|
@@ -120,27 +123,3 @@ export { default as mask } from "@turf/mask";
|
|
|
120
123
|
export { default as squareGrid } from "@turf/square-grid";
|
|
121
124
|
export { default as triangleGrid } from "@turf/triangle-grid";
|
|
122
125
|
export { default as interpolate } from "@turf/interpolate";
|
|
123
|
-
|
|
124
|
-
// Renamed modules (Backwards compatitble with v4.0)
|
|
125
|
-
// https://github.com/Turfjs/turf/issues/860
|
|
126
|
-
export { default as pointOnSurface } from "@turf/point-on-feature";
|
|
127
|
-
export { default as polygonToLineString } from "@turf/polygon-to-line";
|
|
128
|
-
export { default as lineStringToPolygon } from "@turf/line-to-polygon";
|
|
129
|
-
export { default as inside } from "@turf/boolean-point-in-polygon";
|
|
130
|
-
export { default as within } from "@turf/points-within-polygon";
|
|
131
|
-
export { default as bezier } from "@turf/bezier-spline";
|
|
132
|
-
export { default as nearest } from "@turf/nearest-point";
|
|
133
|
-
export { default as pointOnLine } from "@turf/nearest-point-on-line";
|
|
134
|
-
export { default as lineDistance } from "@turf/length";
|
|
135
|
-
|
|
136
|
-
// Renamed methods (Backwards compatitble with v4.0)
|
|
137
|
-
// https://github.com/Turfjs/turf/issues/860
|
|
138
|
-
export {
|
|
139
|
-
radiansToDegrees as radians2degrees,
|
|
140
|
-
degreesToRadians as degrees2radians,
|
|
141
|
-
lengthToDegrees as distanceToDegrees,
|
|
142
|
-
lengthToRadians as distanceToRadians,
|
|
143
|
-
radiansToLength as radiansToDistance,
|
|
144
|
-
bearingToAzimuth as bearingToAngle,
|
|
145
|
-
convertLength as convertDistance,
|
|
146
|
-
} from "@turf/helpers";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/turf",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-alpha.0",
|
|
4
4
|
"description": "a JavaScript library for performing geospatial operations with GeoJSON",
|
|
5
5
|
"author": "Turf Authors",
|
|
6
6
|
"license": "MIT",
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
"test": "echo '@turf/turf tests run in the last-checks step'"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
+
"@babel/core": "^7.16.5",
|
|
72
|
+
"@babel/preset-env": "^7.16.5",
|
|
73
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
71
74
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
72
75
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
73
76
|
"camelcase": "*",
|
|
@@ -78,111 +81,112 @@
|
|
|
78
81
|
"tape": "*"
|
|
79
82
|
},
|
|
80
83
|
"dependencies": {
|
|
81
|
-
"@turf/along": "^
|
|
82
|
-
"@turf/angle": "^
|
|
83
|
-
"@turf/area": "^
|
|
84
|
-
"@turf/bbox": "^
|
|
85
|
-
"@turf/bbox-clip": "^
|
|
86
|
-
"@turf/bbox-polygon": "^
|
|
87
|
-
"@turf/bearing": "^
|
|
88
|
-
"@turf/bezier-spline": "^
|
|
89
|
-
"@turf/boolean-clockwise": "^
|
|
90
|
-
"@turf/boolean-contains": "^
|
|
91
|
-
"@turf/boolean-crosses": "^
|
|
92
|
-
"@turf/boolean-disjoint": "^
|
|
93
|
-
"@turf/boolean-equal": "^
|
|
94
|
-
"@turf/boolean-intersects": "^
|
|
95
|
-
"@turf/boolean-overlap": "^
|
|
96
|
-
"@turf/boolean-parallel": "^
|
|
97
|
-
"@turf/boolean-point-in-polygon": "^
|
|
98
|
-
"@turf/boolean-point-on-line": "^
|
|
99
|
-
"@turf/boolean-
|
|
100
|
-
"@turf/
|
|
101
|
-
"@turf/
|
|
102
|
-
"@turf/center
|
|
103
|
-
"@turf/center-
|
|
104
|
-
"@turf/center-
|
|
105
|
-
"@turf/
|
|
106
|
-
"@turf/
|
|
107
|
-
"@turf/
|
|
108
|
-
"@turf/
|
|
109
|
-
"@turf/
|
|
110
|
-
"@turf/clusters
|
|
111
|
-
"@turf/clusters-
|
|
112
|
-
"@turf/
|
|
113
|
-
"@turf/
|
|
114
|
-
"@turf/
|
|
115
|
-
"@turf/
|
|
116
|
-
"@turf/
|
|
117
|
-
"@turf/
|
|
118
|
-
"@turf/
|
|
119
|
-
"@turf/
|
|
120
|
-
"@turf/distance
|
|
121
|
-
"@turf/
|
|
122
|
-
"@turf/
|
|
123
|
-
"@turf/
|
|
124
|
-
"@turf/
|
|
125
|
-
"@turf/
|
|
126
|
-
"@turf/
|
|
127
|
-
"@turf/
|
|
128
|
-
"@turf/
|
|
129
|
-
"@turf/
|
|
130
|
-
"@turf/
|
|
131
|
-
"@turf/
|
|
132
|
-
"@turf/
|
|
133
|
-
"@turf/
|
|
134
|
-
"@turf/
|
|
135
|
-
"@turf/
|
|
136
|
-
"@turf/
|
|
137
|
-
"@turf/line-
|
|
138
|
-
"@turf/line-
|
|
139
|
-
"@turf/line-
|
|
140
|
-
"@turf/line-
|
|
141
|
-
"@turf/line-
|
|
142
|
-
"@turf/line-
|
|
143
|
-
"@turf/line-slice
|
|
144
|
-
"@turf/line-
|
|
145
|
-
"@turf/line-
|
|
146
|
-
"@turf/
|
|
147
|
-
"@turf/
|
|
148
|
-
"@turf/
|
|
149
|
-
"@turf/
|
|
150
|
-
"@turf/
|
|
151
|
-
"@turf/nearest-point
|
|
152
|
-
"@turf/nearest-point-
|
|
153
|
-
"@turf/
|
|
154
|
-
"@turf/
|
|
155
|
-
"@turf/point-
|
|
156
|
-
"@turf/point-
|
|
157
|
-
"@turf/
|
|
158
|
-
"@turf/polygon
|
|
159
|
-
"@turf/polygon-
|
|
160
|
-
"@turf/polygon-
|
|
161
|
-
"@turf/
|
|
162
|
-
"@turf/
|
|
163
|
-
"@turf/
|
|
164
|
-
"@turf/
|
|
165
|
-
"@turf/
|
|
166
|
-
"@turf/rhumb-
|
|
167
|
-
"@turf/rhumb-
|
|
168
|
-
"@turf/
|
|
169
|
-
"@turf/
|
|
170
|
-
"@turf/
|
|
171
|
-
"@turf/
|
|
172
|
-
"@turf/
|
|
173
|
-
"@turf/square
|
|
174
|
-
"@turf/
|
|
175
|
-
"@turf/
|
|
176
|
-
"@turf/
|
|
177
|
-
"@turf/
|
|
178
|
-
"@turf/
|
|
179
|
-
"@turf/transform-
|
|
180
|
-
"@turf/transform-
|
|
181
|
-
"@turf/
|
|
182
|
-
"@turf/
|
|
183
|
-
"@turf/
|
|
184
|
-
"@turf/
|
|
185
|
-
"@turf/
|
|
84
|
+
"@turf/along": "^7.0.0-alpha.0",
|
|
85
|
+
"@turf/angle": "^7.0.0-alpha.0",
|
|
86
|
+
"@turf/area": "^7.0.0-alpha.0",
|
|
87
|
+
"@turf/bbox": "^7.0.0-alpha.0",
|
|
88
|
+
"@turf/bbox-clip": "^7.0.0-alpha.0",
|
|
89
|
+
"@turf/bbox-polygon": "^7.0.0-alpha.0",
|
|
90
|
+
"@turf/bearing": "^7.0.0-alpha.0",
|
|
91
|
+
"@turf/bezier-spline": "^7.0.0-alpha.0",
|
|
92
|
+
"@turf/boolean-clockwise": "^7.0.0-alpha.0",
|
|
93
|
+
"@turf/boolean-contains": "^7.0.0-alpha.0",
|
|
94
|
+
"@turf/boolean-crosses": "^7.0.0-alpha.0",
|
|
95
|
+
"@turf/boolean-disjoint": "^7.0.0-alpha.0",
|
|
96
|
+
"@turf/boolean-equal": "^7.0.0-alpha.0",
|
|
97
|
+
"@turf/boolean-intersects": "^7.0.0-alpha.0",
|
|
98
|
+
"@turf/boolean-overlap": "^7.0.0-alpha.0",
|
|
99
|
+
"@turf/boolean-parallel": "^7.0.0-alpha.0",
|
|
100
|
+
"@turf/boolean-point-in-polygon": "^7.0.0-alpha.0",
|
|
101
|
+
"@turf/boolean-point-on-line": "^7.0.0-alpha.0",
|
|
102
|
+
"@turf/boolean-touches": "^7.0.0-alpha.0",
|
|
103
|
+
"@turf/boolean-within": "^7.0.0-alpha.0",
|
|
104
|
+
"@turf/buffer": "^7.0.0-alpha.0",
|
|
105
|
+
"@turf/center": "^7.0.0-alpha.0",
|
|
106
|
+
"@turf/center-mean": "^7.0.0-alpha.0",
|
|
107
|
+
"@turf/center-median": "^7.0.0-alpha.0",
|
|
108
|
+
"@turf/center-of-mass": "^7.0.0-alpha.0",
|
|
109
|
+
"@turf/centroid": "^7.0.0-alpha.0",
|
|
110
|
+
"@turf/circle": "^7.0.0-alpha.0",
|
|
111
|
+
"@turf/clean-coords": "^7.0.0-alpha.0",
|
|
112
|
+
"@turf/clone": "^7.0.0-alpha.0",
|
|
113
|
+
"@turf/clusters": "^7.0.0-alpha.0",
|
|
114
|
+
"@turf/clusters-dbscan": "^7.0.0-alpha.0",
|
|
115
|
+
"@turf/clusters-kmeans": "^7.0.0-alpha.0",
|
|
116
|
+
"@turf/collect": "^7.0.0-alpha.0",
|
|
117
|
+
"@turf/combine": "^7.0.0-alpha.0",
|
|
118
|
+
"@turf/concave": "^7.0.0-alpha.0",
|
|
119
|
+
"@turf/convex": "^7.0.0-alpha.0",
|
|
120
|
+
"@turf/destination": "^7.0.0-alpha.0",
|
|
121
|
+
"@turf/difference": "^7.0.0-alpha.0",
|
|
122
|
+
"@turf/dissolve": "^7.0.0-alpha.0",
|
|
123
|
+
"@turf/distance": "^7.0.0-alpha.0",
|
|
124
|
+
"@turf/distance-weight": "^7.0.0-alpha.0",
|
|
125
|
+
"@turf/ellipse": "^7.0.0-alpha.0",
|
|
126
|
+
"@turf/envelope": "^7.0.0-alpha.0",
|
|
127
|
+
"@turf/explode": "^7.0.0-alpha.0",
|
|
128
|
+
"@turf/flatten": "^7.0.0-alpha.0",
|
|
129
|
+
"@turf/flip": "^7.0.0-alpha.0",
|
|
130
|
+
"@turf/great-circle": "^7.0.0-alpha.0",
|
|
131
|
+
"@turf/helpers": "^7.0.0-alpha.0",
|
|
132
|
+
"@turf/hex-grid": "^7.0.0-alpha.0",
|
|
133
|
+
"@turf/interpolate": "^7.0.0-alpha.0",
|
|
134
|
+
"@turf/intersect": "^7.0.0-alpha.0",
|
|
135
|
+
"@turf/invariant": "^7.0.0-alpha.0",
|
|
136
|
+
"@turf/isobands": "^7.0.0-alpha.0",
|
|
137
|
+
"@turf/isolines": "^7.0.0-alpha.0",
|
|
138
|
+
"@turf/kinks": "^7.0.0-alpha.0",
|
|
139
|
+
"@turf/length": "^7.0.0-alpha.0",
|
|
140
|
+
"@turf/line-arc": "^7.0.0-alpha.0",
|
|
141
|
+
"@turf/line-chunk": "^7.0.0-alpha.0",
|
|
142
|
+
"@turf/line-intersect": "^7.0.0-alpha.0",
|
|
143
|
+
"@turf/line-offset": "^7.0.0-alpha.0",
|
|
144
|
+
"@turf/line-overlap": "^7.0.0-alpha.0",
|
|
145
|
+
"@turf/line-segment": "^7.0.0-alpha.0",
|
|
146
|
+
"@turf/line-slice": "^7.0.0-alpha.0",
|
|
147
|
+
"@turf/line-slice-along": "^7.0.0-alpha.0",
|
|
148
|
+
"@turf/line-split": "^7.0.0-alpha.0",
|
|
149
|
+
"@turf/line-to-polygon": "^7.0.0-alpha.0",
|
|
150
|
+
"@turf/mask": "^7.0.0-alpha.0",
|
|
151
|
+
"@turf/meta": "^7.0.0-alpha.0",
|
|
152
|
+
"@turf/midpoint": "^7.0.0-alpha.0",
|
|
153
|
+
"@turf/moran-index": "^7.0.0-alpha.0",
|
|
154
|
+
"@turf/nearest-point": "^7.0.0-alpha.0",
|
|
155
|
+
"@turf/nearest-point-on-line": "^7.0.0-alpha.0",
|
|
156
|
+
"@turf/nearest-point-to-line": "^7.0.0-alpha.0",
|
|
157
|
+
"@turf/planepoint": "^7.0.0-alpha.0",
|
|
158
|
+
"@turf/point-grid": "^7.0.0-alpha.0",
|
|
159
|
+
"@turf/point-on-feature": "^7.0.0-alpha.0",
|
|
160
|
+
"@turf/point-to-line-distance": "^7.0.0-alpha.0",
|
|
161
|
+
"@turf/points-within-polygon": "^7.0.0-alpha.0",
|
|
162
|
+
"@turf/polygon-smooth": "^7.0.0-alpha.0",
|
|
163
|
+
"@turf/polygon-tangents": "^7.0.0-alpha.0",
|
|
164
|
+
"@turf/polygon-to-line": "^7.0.0-alpha.0",
|
|
165
|
+
"@turf/polygonize": "^7.0.0-alpha.0",
|
|
166
|
+
"@turf/projection": "^7.0.0-alpha.0",
|
|
167
|
+
"@turf/random": "^7.0.0-alpha.0",
|
|
168
|
+
"@turf/rewind": "^7.0.0-alpha.0",
|
|
169
|
+
"@turf/rhumb-bearing": "^7.0.0-alpha.0",
|
|
170
|
+
"@turf/rhumb-destination": "^7.0.0-alpha.0",
|
|
171
|
+
"@turf/rhumb-distance": "^7.0.0-alpha.0",
|
|
172
|
+
"@turf/sample": "^7.0.0-alpha.0",
|
|
173
|
+
"@turf/sector": "^7.0.0-alpha.0",
|
|
174
|
+
"@turf/shortest-path": "^7.0.0-alpha.0",
|
|
175
|
+
"@turf/simplify": "^7.0.0-alpha.0",
|
|
176
|
+
"@turf/square": "^7.0.0-alpha.0",
|
|
177
|
+
"@turf/square-grid": "^7.0.0-alpha.0",
|
|
178
|
+
"@turf/standard-deviational-ellipse": "^7.0.0-alpha.0",
|
|
179
|
+
"@turf/tag": "^7.0.0-alpha.0",
|
|
180
|
+
"@turf/tesselate": "^7.0.0-alpha.0",
|
|
181
|
+
"@turf/tin": "^7.0.0-alpha.0",
|
|
182
|
+
"@turf/transform-rotate": "^7.0.0-alpha.0",
|
|
183
|
+
"@turf/transform-scale": "^7.0.0-alpha.0",
|
|
184
|
+
"@turf/transform-translate": "^7.0.0-alpha.0",
|
|
185
|
+
"@turf/triangle-grid": "^7.0.0-alpha.0",
|
|
186
|
+
"@turf/truncate": "^7.0.0-alpha.0",
|
|
187
|
+
"@turf/union": "^7.0.0-alpha.0",
|
|
188
|
+
"@turf/unkink-polygon": "^7.0.0-alpha.0",
|
|
189
|
+
"@turf/voronoi": "^7.0.0-alpha.0"
|
|
186
190
|
},
|
|
187
|
-
"gitHead": "
|
|
191
|
+
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189"
|
|
188
192
|
}
|