[Xapian-discuss] Can xapian do geo search/calculations?
Francis Irving
francis at flourish.org
Mon Aug 4 14:01:57 BST 2008
Out of interest, can you write new value range processor and/or match
decider subclasses in a binding language?
e.g. Phython or Ruby
On Mon, Aug 04, 2008 at 09:45:49AM +0100, Olly Betts wrote:
> On Mon, Aug 04, 2008 at 01:16:04AM -0700, Joe Noon wrote:
> > I would be interested in exploring xapian further, but I'm not sure if
> > I can get this functionality or not. Ive been told it may be possible
> > with a a value range processor? Is this something anyone else has
> > already explored? Or know if it would even be possible?
>
> You could filter with two value ranges to get results restricted to a
> rectangle in the coordinate system (which is in general not quite a
> rectangle on the ground).
>
> To actually get a circle, you'd want to use a MatchDecider subclass
> to select points based on coordinates stored in one or two document
> values. It would probably be useful to ship a standard solution, so if
> you implement something please consider sending a patch, even if it
> needs a bit of work for general use.
>
> There's also some code Richard has been working on in the geospatial
> branch in SVN, but he's better placed to talk about that:
>
> http://trac.xapian.org/browser/branches/geospatial
>
> Cheers,
> Olly
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
--
Help fix democracy -- https://secure.mysociety.org/donate/
More information about the Xapian-discuss
mailing list