[英]Geo-spatial data in mongodb
How to store Geo-spatial data in Mongodb? 如何在Mongodb中存储地理空间数据? How MongoDB supports or stores Geo-spatial data compared to normal data?
与普通数据相比,MongoDB如何支持或存储地理空间数据? How to command/suggest Mongodb to consider the inputted data(JSON Object) as Geo-spatial data?
如何命令/建议Mongodb将输入的数据(JSON对象)视为地理空间数据? What are the various features/support provided by MongoDB for Geo-Spatial data?
MongoDB为地理空间数据提供哪些各种功能/支持?
Please help me with good documentation/Reference link as I am new to MongoDb and the concepts of Geo-spatial data. 由于我是MongoDb的新手和地理空间数据的概念,请通过良好的文档/参考链接帮助我。
Thanks a lot in advance. 非常感谢。
I'd start with the MongoDB docs: https://docs.mongodb.com/manual/geospatial-queries/ 我将从MongoDB文档开始: https : //docs.mongodb.com/manual/geospatial-queries/
And continue with my webinar: https://www.slideshare.net/mongodb/getting-started-with-geospatial-data-in-mongodb 并继续进行我的网络研讨会: https : //www.slideshare.net/mongodb/getting-started-with-geospatial-data-in-mongodb
MongoDB treats geo data like other data since the Document model permits arbitrarily complex shapes. 由于Document模型允许任意复杂的形状,因此MongoDB将地理数据与其他数据一样对待。 In general, a geo field is a substructure with a
type
fields and a coordinates
field, eg 通常,地理字段是具有
type
字段和coordinates
字段的子结构,例如
{
name: "Buzz",
location: { type: "Polygon", coordinates: [ array of rings, each ring is an array of points, and a point is small array of [lon,lat] ]}
} }
Disclosure: I used to work at MongoDB. 披露:我曾经在MongoDB工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.