[SERVER-2088] Add support for vertical, or Three dimensional (3d) Geo Location/Indexing Created: 10/Nov/10  Updated: 10/Nov/10  Resolved: 10/Nov/10

Status: Closed
Project: Core Server
Component/s: Geo
Affects Version/s: 1.7.2
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Shawn McElroy Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

software platform


Participants:

 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.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 10/Nov/10 ]

See or Comment on SERVER-691

Generated at Thu Feb 08 02:58:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.