-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved cleaning of: * duplicate input points * colinear input points * degenerate rings & polygons Closes #6 Squashed commit of the following: commit 69117d7be871b1723ee688fb4099989e2711cff0 Author: Mike Fogel <[email protected]> Date: Sat Mar 10 14:59:48 2018 -0300 Add end-to-end test and docs commit efa4a8fa30e3873df9640986b1d456b244eea827 Author: Mike Fogel <[email protected]> Date: Sat Mar 10 14:56:19 2018 -0300 Remove degenerate rings/polys from input commit 4ba5ece7538861613297d3bd02fa9bc98ac37b4e Author: Mike Fogel <[email protected]> Date: Sat Mar 10 14:38:24 2018 -0300 Remove colinear points from input commit 74a3107b16551366eabf1e3344eeab8932d4bc2f Author: Mike Fogel <[email protected]> Date: Sat Mar 10 14:18:31 2018 -0300 Move 'remove dup input points' to clean-input.js
- Loading branch information
Showing
8 changed files
with
197 additions
and
30 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
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,20 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"type": "Feature", | ||
"properties": null, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[-130.73862770644791, 54.92404227517194], | ||
[-130.73939947890625, 54.91877729166476], | ||
[-130.73939947890625, 54.918777291664775], | ||
[-130.73862770644791, 54.92404227517194] | ||
] | ||
] | ||
} | ||
} | ||
] | ||
} |
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,8 @@ | ||
{ | ||
"type": "Feature", | ||
"properties": null, | ||
"geometry": { | ||
"type": "MultiPolygon", | ||
"coordinates": [] | ||
} | ||
} |
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