Tag:Liu Yuan

  • Mongodb geonear usage record

    Time:2021-9-11

    If necessary, query the location near a coordinate point data format It can be in the form of array or geojson <field>: [ <x>, <y> ] <field>: [<longitude>, <latitude> ] GeoJSON location: { type: “Point”, coordinates: [-73.856077, 40.848447] } List longitude first, then latitude For example, LOC field { “City”: “Beijing”, “geo_id”: 565932, “Geo_name”: “wanliuyuan […]