Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#768 closed enhancement (fixed)

Add STRtree nearestNeighbor function to CAPI

Reported by: dbaston Owned by: geos-devel@…
Priority: major Milestone: 3.7.0
Component: Default Version: main
Severity: Unassigned Keywords:
Cc: dbaston

Description

I've started some work on this, creating this ticket to track. Ideally, caller would be able to provide a pointer to a distance function, allowing this to be used when non-GEOS geometries are stored in a GEOSSTRtree.

Attachments (1)

22_04_16.patch (463 bytes ) - added by dbaston 8 years ago.
fix for make distcheck

Download all attachments as: .zip

Change History (10)

comment:2 by strk, 8 years ago

Could you please drop here a link to the .patch and .diff files ?

comment:4 by strk, 8 years ago

Resolution: fixed
Status: newclosed

(In [4184]) Add GEOSSTRtree_nearest API

Includes tests for the new API and pre-existing STRtree API Closes #768

Patch by Daniel Baston <dbaston@…> via https://github.com/libgeos/libgeos/pull/61

comment:5 by strk, 8 years ago

Cc: dbaston added
Resolution: fixed
Status: closedreopened

Reopening because running "make distcheck" fails:

../../../../src/index/strtree/BoundablePair.cpp:19:46: fatal error: geos/index/strtree/BoundablePair.h: No such file or directory

See https://gitlab.com/geos/libgeos/builds/1161782

by dbaston, 8 years ago

Attachment: 22_04_16.patch added

fix for make distcheck

comment:6 by strk, 7 years ago

Milestone: 3.6.03.7.0

Ticket retargeted after milestone closed

comment:7 by Sandro Santilli <strk@…>, 7 years ago

Resolution: fixed
Status: reopenedclosed

In 63d2554/git:

Add GEOSSTRtree_nearest API

Includes tests for the new API and pre-existing STRtree API
Closes #768

Patch by Daniel Baston <dbaston@…>
via https://github.com/libgeos/libgeos/pull/61

git-svn-id: http://svn.osgeo.org/geos/trunk@4184 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:8 by Sandro Santilli <strk@…>, 7 years ago

In 63d2554/git:

Add GEOSSTRtree_nearest API

Includes tests for the new API and pre-existing STRtree API
Closes #768

Patch by Daniel Baston <dbaston@…>
via https://github.com/libgeos/libgeos/pull/61

git-svn-id: http://svn.osgeo.org/geos/trunk@4184 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:9 by Sandro Santilli <strk@…>, 7 years ago

In 63d2554/git:

Add GEOSSTRtree_nearest API

Includes tests for the new API and pre-existing STRtree API
Closes #768

Patch by Daniel Baston <dbaston@…>
via https://github.com/libgeos/libgeos/pull/61

git-svn-id: http://svn.osgeo.org/geos/trunk@4184 5242fede-7e19-0410-aef8-94bd7d2200fb

Note: See TracTickets for help on using tickets.