incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: use startkey/endkey to discribe a range problem
Date Sun, 08 Dec 2013 15:55:11 GMT
CouchDB views are one dimensional so you will not succeed with a two
dimensional geo query. You could try couchdb-lucene which can.
On 8 Dec 2013 15:51, "Qaqabincs" <lujing7@gmail.com> wrote:

> I use a view to query an area, and emit [lng, lat] as key, so I use
> "...?startkey=[min_lng, min_lat]&endkey=[max_lng, max_lat]" to help find
> out all place within the quadranglar area, but the results are exactly
> between x∈[min_lng, max_lng]&y∈[-∞, +∞ ] and x∈[-∞, +∞]&y∈[min_lat,
> max_lat] (like a cross-shaped stripe area).
>
> what is the correct usage of startkey/endkey to express a quadranglar area?
>
> -----------------------------
> qaqabincs
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message