Closed dr-jts closed 2 years ago
@dr-jts can you merge my PRs to your branch and just add the unit test and merge it all together to locationtech:master?
dr-jts can you merge my PR to your branch?
No need to, everything is in this PR.
dr-jts can you merge my PR to your branch?
No need to, everything is in this PR.
In this way my contribution could have been noticed
Fixes the following
STRtree
queries on empty trees:Object nearestNeighbour(Envelope env, Object item, ItemDistance itemDist)
- returnsnull
for empty treeObject[] nearestNeighbour(Envelope env, Object item, ItemDistance itemDist,int k)
- returnsObject[0]
for empty treeFixes #881. Fixes #884.
Signed-off-by: Martin Davis mtnclimb@gmail.com