sample_geospatial 数据库包含专门用于帮助您了解 GeoJSON 数据的数据。
To learn how to load the sample data provided by Atlas into your cluster, see Import Sample Data Into Your Atlas Deployment.
集合
该数据库包含一个名为 shipwrecks 的集合。
sample_geospatial.shipwrecks 集合包含数据集中的所有沉船数据。集合中的每个文档代表一次沉船事故,并包含沉船发生地点和沉船类型等详细信息。
索引
data 集合包含以下索引:
名称 | Index | 说明 | 属性 |
|---|---|---|---|
|
|
| |
|
| GeoJSON格式字段上的地理空间 2dsphere索引。 |
文档样本
{ "_id": { "$oid": "578f6fa2df35c7fbdbaed8c6" }, "recrd": "", "vesslterms": "", "feature_type": "Wrecks - Submerged, dangerous", "chart": "US,U1,graph,DNC H1409860", "latdec": { "$numberDouble": "9.3560572" }, "londec": { "$numberDouble": "-79.9074173" }, "gp_quality": "", "depth": "", "sounding_type": "", "history": "", "quasou": "depth unknown", "watlev": "always under water/submerged", "coordinates": [ { "$numberDouble": "-79.9074173" }, { "$numberDouble": "9.3560572" } ] }