0
我試圖找出MongoDB的查詢使用什麼單位?蒙戈DB半徑單位爲GeoQuerys
我有以下查詢:
User.objects(address__point__geo_within_center=[[lat, long],maxDistance])
我想用戶米例如最大距離內10米。
但在機制的文檔(https://docs.mongodb.com/manual/reference/operator/query/center/#op._S_center)它說
「圓的半徑,如所使用的單位測量座標 系統」
我找不到一提到「單位「在哪裏?
我一直在使用http://docs.mongoengine.org/guide/querying.html作爲ref。
單位是什麼?
我可以設置單位嗎?
謝謝