Mongodb 如何使用';查找';geojson数据库查询

Mongodb 如何使用';查找';geojson数据库查询,mongodb,geojson,Mongodb,Geojson,我使用我的查询通过给定x-y坐标来查找集合。但没有得到任何结果。我已经添加了我的数据库的图像。我只需要返回与该坐标对应的属性文档。 尝试使用以下方法: db.getCollection('user').find( {"features" : { "properties" : { "geometry" : { "type" : "Point", "coordinates" : [ 79.8658999

我使用我的查询通过给定x-y坐标来查找集合。但没有得到任何结果。我已经添加了我的数据库的图像。我只需要返回与该坐标对应的属性文档。

尝试使用以下方法:

db.getCollection('user').find(
{"features" :

  {
    "properties" : {

           "geometry" : {
        "type" : "Point",
        "coordinates" : [ 
            79.8658999999999960, 
            6.8513479999999998]}}}})

不它不起作用。我添加了一个数据库的图像。我只需要得到对应于那个坐标的属性文档。
db.getCollection('user').find(
{"features" :

  {
    "properties" : {

           "geometry" : {
        "type" : "Point",
        "coordinates" : [ 
            79.8658999999999960, 
            6.8513479999999998]}}}})