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

  • Home
  • SEARCH
  • 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 SQL Server 2008 (not R2). I have a few reports that have URLs
Can I replicate a CouchBase datbase running on Android to a CouchDB (1.1) server
I'm using iOS Couchbase Mobile to have a couchdb server on an iPad that
I'm running couchbase server 2.0 (dev preview 4) and using .net client library version
I downloaded the community edition of couchbase server, and am running it on a
We have used Couchbase Server in our product. Its an Intranet application whose front
Running Solr on Tomcat 7 on Win 2008 Server. I am looping through a
Running rails 3.2.3 with guard/spork/rspec/factory_girl and have the following in my spec helper: Spork.prefork
Running tomcat, i have this folder hierarchy: - manager/ - ROOT/ - doc -
running UNIX through putty, and using vi and gcc. I am attempting to read

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.