Re: [GENERAL] Direct access to GIST structure

2008-04-04 Thread Oleg Bartunov
Tim, we have this in our TODO http://www.sai.msu.su/~megera/wiki/TODO Current interface doesn't allow tree navigation. We're looking for sponsorships of this project. Oleg On Fri, 4 Apr 2008, Tim Keitt wrote: I was wondering if there is a way to get access to the tree structure underlying at G

Re: [GENERAL] Direct access to GIST structure

2008-04-04 Thread Teodor Sigaev
I just stumbled on http://www.cs.purdue.edu/spgist/ which seems like exactly what I need. It doesn't work with 8.2 and up, because since 8.2 index should take care about concurrent access itself and that implementation doesn't do it. -- Teodor Sigaev E-mail:

Re: [GENERAL] Direct access to GIST structure

2008-04-04 Thread Tim Keitt
On Fri, Apr 4, 2008 at 4:58 PM, Teodor Sigaev <[EMAIL PROTECTED]> wrote: > > > > encode spatial proximity. Is there an API (backend C-level is fine) to > > access a GIST index? > > > > The best way is to extend existing interface to GiST to support KNN-search. > But you can see how to get access t

Re: [GENERAL] Direct access to GIST structure

2008-04-04 Thread Teodor Sigaev
encode spatial proximity. Is there an API (backend C-level is fine) to access a GIST index? The best way is to extend existing interface to GiST to support KNN-search. But you can see how to get access to index structure from module in gevel module (http://www.sigaev.ru/cvsweb/cvsweb.cgi/gev

[GENERAL] Direct access to GIST structure

2008-04-04 Thread Tim Keitt
I was wondering if there is a way to get access to the tree structure underlying at GIST index? What I would like to do is perform a breadth-first search on the tree in order to find nearest neighbors (using PostGIS data types). Nearest neighbor searchers are not very efficient using only range que