Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Geolocation / Radius search

3 replies [Last post]
  • Login or register to post comments
Wed, 11/09/2011 - 07:28
Torgon
Offline
Joined: 11/09/2011
Groups: None

Hello,
I've been trying a couple of times now to get geolocation indicies to work with the latest 2.0 developer preview version, without success.
The manual is a bit unclear to me there, because it mentions to create a view with a prefix "spatial" - how do i do that?
Is there any current HowTo to follow that really matches 2.0 ? Or can someone explain me how to implement it?

And radius search? All I've seen so far is boundary box search, so can anyone give me a pointer at an easy way to convert the radius to the boundary ?

Thanks in advance for your help

Top
  • Login or register to post comments
Mon, 01/02/2012 - 23:52
ingenthr
Offline
Joined: 03/16/2010
Groups:

Is this on Couchbase Server, or Couchbase Single Server? The forum you've posted in is for Couchbase Server which does not yet have geocouch integrated.

That said, I'll see if a colleague can give you a quick reply.

Top
  • Login or register to post comments
Tue, 01/03/2012 - 02:12
vmx
Offline
Joined: 02/14/2011
Groups: None

Hi Torgon,

the latest Developer Preview (DP3) of Couchbase Server 2.0 contains and interface to add a Spatial View.

There is no radius search at the moment. But, as you say, you can convert the radius to a bounding box. See [1] and especially [2] for more information about it.

[1] http://stackoverflow.com/questions/238260/how-to-calculate-the-bounding-...
[2] http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates

Cheers,
Volker

Top
  • Login or register to post comments
Tue, 01/03/2012 - 03:33
Torgon
Offline
Joined: 11/09/2011
Groups: None

Hello Volker, Ingenthr,

thanks a lot for the reply, i almost gave up hope :-) I found no place clearly stating which version included spatial and which didn't, with this info now i will download the latest one and trial it in a bit!

Regards from Germany

Torgon

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker