-
Notifications
You must be signed in to change notification settings - Fork 938
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for rectangle and square grid dimensions (#2106)
* Use non-haversine distance calc * remove unused import * fix up non-haversine * Update turf/squareGrid test files as well * prettier * Fix the square grid tests properly * prettier again * update @turf/interpolate test output (because of square-grid changes) * update @turf/square-grid test output Co-authored-by: Matt Fedderly <mfedderly@palantir.com> Co-authored-by: mfedderly <mdfedderly@mdfedderly.com>
- Loading branch information
1 parent
cd86447
commit 446b27b
Showing
20 changed files
with
103,181 additions
and
17,477 deletions.
There are no files selected for viewing
1,880 changes: 1,255 additions & 625 deletions
1,880
packages/turf-interpolate/test/out/data-1km.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
8,609 changes: 5,848 additions & 2,761 deletions
8,609
packages/turf-interpolate/test/out/data-500m.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
636 changes: 444 additions & 192 deletions
636
packages/turf-interpolate/test/out/data-weight-2.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"bbox": [-180, -90, 180, 90], | ||
"cellWidth": 10, | ||
"cellHeight": 10, | ||
"units": "degrees" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.