-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #890 from Turfjs/intersect-issue-820
Fixes #820 - `@turf/intersect`
- Loading branch information
Showing
14 changed files
with
219 additions
and
77 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
"write-json-file": "^2.0.0" | ||
}, | ||
"dependencies": { | ||
"@turf/truncate": "^4.6.0", | ||
"jsts": "1.3.0" | ||
} | ||
} |
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,123 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
43.741513133300735, | ||
56.20222135938059 | ||
], | ||
[ | ||
43.74237144018551, | ||
56.18856400988486 | ||
], | ||
[ | ||
43.77756202246089, | ||
56.187608768581725 | ||
], | ||
[ | ||
43.77927863623042, | ||
56.19639609165836 | ||
], | ||
[ | ||
43.763142466796836, | ||
56.20212587032091 | ||
], | ||
[ | ||
43.741513133300735, | ||
56.20222135938059 | ||
] | ||
] | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
43.970066430113974, | ||
56.332893840607994 | ||
], | ||
[ | ||
43.970066430115764, | ||
56.33289386305967 | ||
], | ||
[ | ||
43.96907396330773, | ||
56.33216050512385 | ||
], | ||
[ | ||
43.96712784882449, | ||
56.3329676824026 | ||
], | ||
[ | ||
43.9675997442062, | ||
56.33331243182769 | ||
], | ||
[ | ||
43.96955706305079, | ||
56.33351088302814 | ||
], | ||
[ | ||
43.96958194836136, | ||
56.33343379993835 | ||
], | ||
[ | ||
43.969613521760365, | ||
56.3333626110674 | ||
], | ||
[ | ||
43.96964739754773, | ||
56.3333044427381 | ||
], | ||
[ | ||
43.96968537953426, | ||
56.3332457040905 | ||
], | ||
[ | ||
43.96973157401614, | ||
56.333186395086614 | ||
], | ||
[ | ||
43.969791873109784, | ||
56.333117882577056 | ||
], | ||
[ | ||
43.96983217547703, | ||
56.3330786121781 | ||
], | ||
[ | ||
43.969883502771644, | ||
56.3330312788475 | ||
], | ||
[ | ||
43.969928670817815, | ||
56.332993640236595 | ||
], | ||
[ | ||
43.96997589197615, | ||
56.33295771241299 | ||
], | ||
[ | ||
43.97002822123187, | ||
56.332919492368774 | ||
], | ||
[ | ||
43.970066430113974, | ||
56.332893840607994 | ||
] | ||
] | ||
] | ||
} | ||
} | ||
] | ||
} |
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
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,5 @@ | ||
{ | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": null | ||
} |
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
Oops, something went wrong.