Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for edge cases with bbox overlap and out-of-bounds polygons (#817)
* Adds tests for CONTAINMENT_OVERLAPPING_BBOX and fixes the out-of-bounds write when using bbox overlap on a one-vertex polygon * Fixes CONTAINMENT_OVERLAPPING results for polygons outside of the normal lat/lng range. The issue here was the test for cell-contains-polygon, which used latLngToCell, which will return results for out-of-bounds input. I updated this to include a bbox check first, which will exclude polygons with all points outside of the normal range.
- Loading branch information