我正在尝试在mongodb文档上插入Polygon
polygons: {
type: "Polygon",
coordinates: [
[
[ -104.6093679, 50.449794 ],
[ -104.6093679, 50.449794 ],
[ -104.6093863, 50.449794 ],
[ -104.6093863, 50.449794 ],
[ -104.6093679, 50.449794 ]
]
]
}
但是mongodb抛出了这个异常:“无法从对象,格式错误的几何体中提取地理键?”我还检查了索引的正确性,并验证了结构相同但数据不同,插入效果很好。我的问题是:mongodb可以管理的Polygon区域有一些限制吗?