Opened 15 years ago
Closed 15 years ago
#278 closed enhancement (fixed)
Add STRtree support to the C API
Reported by: | sderle | Owned by: | pramsey |
---|---|---|---|
Priority: | major | Milestone: | 3.2.0 |
Component: | C API | Version: | main |
Severity: | Unassigned | Keywords: | STRtree |
Cc: |
Description
Attached is a patch adding support for the STRtree class to the C API.
This patch also wraps the STRtree::iterate method introduced in #277.
Attachments (2)
Change History (6)
by , 15 years ago
Attachment: | capi-additions.patch added |
---|
comment:1 by , 15 years ago
Type: | defect → enhancement |
---|
comment:2 by , 15 years ago
comment:3 by , 15 years ago
The API additions are quite simple, and I'm totally happy with them.
I've attached a new patch that moves the CAPI_Visitor declaration to the top of geos_ts_c.cpp, outside of the extern "C" block.
by , 15 years ago
Attachment: | capi-additions-2.patch added |
---|
revised patch to move CAPI_ItemVisitor outside the extern "C" block
Note:
See TracTickets
for help on using tickets.
Declaring a class (class CAPI_ItemVisitor) in the midst of the 'extern "C"' block is worrisome, but I'm not an expert in C++ things.
Also, ensure you are really really happy with the API, because we don't do API changes in patch level releases, and the time between minor releases is pretty long (the 3.1/3.2 cycle is probably an anomaly).