Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6826961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:12:36+00:00 2026-05-26T22:12:36+00:00

I am running Couchbase Single Server 1.2 and attempting to use the Geospatial indexing

  • 0

I am running Couchbase Single Server 1.2 and attempting to use the Geospatial indexing features (GeoCouch).
I have followed all the instructions in the readme. My design document is structured as follows:

{ _id: "_design/main",
 _rev: "24-4bfa80ed0a93b7bff3008a64a4b0ff89",
 language: "javascript",
 spatial: {
            points: "function(doc) {
                          if (doc.loc) {
                                 emit({ \"type\": \"Point\", \"coordinates\": doc.loc }, [doc._id, doc.loc]);
                           }
                     };"
          }
}

My couchdb database is called places. When places is empty, if I call the bounding box query,
http://localhost:5984/places/_design/main/_spatial/points?bbox=0,0,180,90
I get the following:

{
      rows: [ ]
}

It looks good. It means the query url is working correctly.

But when I add some data to the places database, such as the following:

{
    _id: "berlin",
    _rev: "1-204646602c35d80238ad345ca8d3fcef",
    loc:
        [
            -122.270833,
            37.804444
        ]
}

and call the bounding box query again, I get the following error:

{
error: "{{badmatch,{ok,8497}}, [{vtree_bulk,omt_write_tree,4}, {vtree_bulk,omt_write_tree,2}, {vtree_bulk,bulk_load,4}, {vtree,add_remove,5}, {couch_spatial_updater,'-write_changes/4-fun-2-',5}, {lists,zipwith,3}, {couch_spatial_updater,write_changes,4}, {couch_spatial_updater,update,2}]}",
reason: "{gen_server,call,[<0.22235.0>,{request_group,41},infinity]}"
}

I am running Couchbase 1.2 on a Windows 7 (32-bit) development machine.

Does anyone have any idea about this error?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:12:37+00:00Added an answer on May 26, 2026 at 10:12 pm

    I’ve tried it on Linux with Couchbase Single Server 1.2 and couldn’t reproduce it. Could you please try the latest deveoper preview of Couchbase Single Server 2.0. You can get it here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have
Can I replicate a CouchBase datbase running on Android to a CouchDB (1.1) server
Running a ServiceHost with a single contract is working fine like this: servicehost =
Running into a problem. I have a table defined to hold the values of
Running Ubuntu 11.04 on vagrant, mac os x 10.7.2. Running chef server. Trying to
running asp.net mvc on iis6, do I need to install anything on the server?
Running into the strangest problem on iPhone using jQuery with my WebViewController. I have
Running tomcat, i have this folder hierarchy: - manager/ - ROOT/ - doc -
running UNIX through putty, and using vi and gcc. I am attempting to read
Running a remote shell via telnet (no ssh on the remote server), I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.