You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matthew <de...@rhus.winterroot.net> on 2012/06/02 00:47:20 UTC

geocouch with 3rd dimension

Greetings!

What's the usual way to handle spatial queries where you also want to filter results by an additional dimension?  geocouch is only 2d, so is doing so in a the spatial list function the only option?  Since this means touching every record in the result set, are there any performance implications?

Thanks,
Matthew

Re: geocouch with 3rd dimension

Posted by Simon Metson <si...@cloudant.com>.
You could use couchdb-lucene to do an N dimensional query. Filtering stuff out in a list is generally not very efficient because the result isn't cached for subsequent queries, and if your filter is sparse you may find queries are slow as you do a lot of work before being able to respond to the client. 
Cheers
Simon


On Saturday, 2 June 2012 at 00:47, Matthew wrote:

> Greetings!
> 
> What's the usual way to handle spatial queries where you also want to filter results by an additional dimension? geocouch is only 2d, so is doing so in a the spatial list function the only option? Since this means touching every record in the result set, are there any performance implications?
> 
> Thanks,
> Matthew
> 
>