English 中文(简体)
我如何能够找到一个能够概括某一具体要点的捆绑箱?
原标题:How can I find a bounding box that encapsulates a specific point?
[uppercaseName] => ATLANTA, GA
[description] => Atlanta, GA
[name] => Atlanta, GA
[_id] => MongoId Object (
)
[addedOn] => MongoDate Object (
    [sec] => 1318879015
    [usec] => 517000
)
[excludePoints] => Array (
)
[boundingBox] => Array (
    [0] => Array (
        [lon] => -84.516
        [lat] => 33.6747
    )
    [1] => Array (
        [lon] => -84.516
        [lat] => 33.8232
    )
    [2] => Array (
        [lon] => -84.2599
        [lat] => 33.8232
    )
    [3] => Array (
        [lon] => -84.2599
        [lat] => 33.6747
    )
)

That s my document (in MongoDB). I have several such documents and I want to run a query to find all documents that have a bounding box that encapsulates that specific Long and Lat. How would I do this?

最佳回答

不幸的是,目前尚无法与仰光合作。 DB. Mongo 亚洲开发银行可在区域内对各点进行索引,并找到所有文件,但不能对包含某一点内容的所有文件进行索引和查询。

具体要求如下:https://jira.mongodb.org/browse/SERVER-2874

目前,没有预定的日期。 请对此进行表决。

For more information on Geospatial Indexing and what it is capable of, please see the MongoDB documentation: http://www.mongodb.org/display/DOCS/Geospatial+Indexing

问题回答

暂无回答




相关问题
how to create image from gis data in C#

I m using C# to pull spatial data from a sql server 2008 database. I m then trying to perform operations on that data, but to start... I want to be able to visualize it. That is, I would like to ...

Geospatial library for the iPhone

I m thinking about creating a location-aware iPhone app that could work offline by coming packaged with a list of points of interest (POIs). The app would read the user s current location from ...

热门标签