Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to much faster hole in exterior tests during geo interface
Previously did point in exterior test for every hole vertex, but got very slow for complex real-world multi polygons. Instead, efficiently calculate a point guaranteed to be inside the hole, and then test only that one hole sample point. Additionally, limit exterior candidates even further as only those whose bbox fully contains the hole bbox (ie no point in testing nested exteriors inside the hole itself) Add tests for exterior-hole edge cases
- Loading branch information
1 parent
a8b3b4a
commit 2d207e2
Showing
15 changed files
with
76 additions
and
7 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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