Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2088

Add support for vertical, or Three dimensional (3d) Geo Location/Indexing

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.7.2
    • Geo
    • None
    • software platform

    Description

      I would like to request support for three dimensional (3d) geo spacial indexing. This can have many useful application, I'm sure you can imagine. Normally to specify geo you would do something like:

      h.axis :

      { x : 50 , y : 30 }

      }

      Which you could then index. You could then do the same again

      v.axis :

      { x : 50 , z : 30 }

      }

      and

      db.collection.ensureIndex(

      { loc : "2d" }

      )

      and index that as well. then you would just use the 'z' from the second location for the z-axis. You would for the most part need to do this in your application code to get the needed results for 3d. But if 3d were added we could simply

      axis : { loc :

      { x : 50 , y : 30 , z : 10}

      }

      and run

      db.collection.ensureIndex(

      { loc : "3d" }

      )

      For one, this could be extremely useful for game based apps but could easily be used for any kind of location based app.

      Attachments

        Activity

          People

            Unassigned Unassigned
            luckysmack Shawn McElroy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: