Skip to content

Add NearestNeighbor to KdTree? #758

@scaddenp

Description

@scaddenp

The KdTree implementation here - https://github.com/Voidious/Diamond/blob/master/ags/utils/dataStructures/trees/thirdGenKD/KdTree.java
has a NearestNeighbour search. How hard would that be to port into JTS?

I tried NN with STRtree but performance was terrible compared to KdTree for query (on 500k 2D points).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions