On Fri, Apr 4, 2008 at 4:58 PM, Teodor Sigaev <teodor@xxxxxxxxx> 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 to index structure from module in gevel > module (http://www.sigaev.ru/cvsweb/cvsweb.cgi/gevel/). GiST-related > functions in this module is invented to help to developers, not for > production use, so they acquire exclusive lock on index. Thanks that helps. I just stumbled on http://www.cs.purdue.edu/spgist/ which seems like exactly what I need. THK > > -- > Teodor Sigaev E-mail: teodor@xxxxxxxxx > WWW: > http://www.sigaev.ru/ > -- Timothy H. Keitt, Assistant Professor University of Texas at Austin http://www.keittlab.org/ Contact info and schedule at http://www.keittlab.org/~tkeitt/ Please support open document formats http://opendocument.xml.org/