Skip to content

STRtree generics? #777

@halset

Description

@halset

It would be nice if STRtree & co could work with generics.

STRtree<Geometry> tree = new STRtree<>();
tree.insert(geometry.getEnvelopeInternal(), geometry);
tree.build();
for (Geometry geometry : tree.query(someOtherGeometry)) {
}

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