1 Answer

0 votes
by
Correct answer is -i) Geospatial Index

Geospatial Index indexing match by the exact latitude longitude that are used to draw city boundaries.

To calculate geometry over an Earth-like sphere, store your location data as GeoJSON objects.

To specify GeoJSON data, use an embedded document with:

a field named type that specifies the GeoJSON object type and

a field named coordinates that specifies the object's coordinates.

If specifying latitude and longitude coordinates, list the longitude first and then latitude:

Valid longitude values are between -180 and 180, both inclusive.

Valid latitude values are between -90 and 90, both inclusive.

<field>: { type: <GeoJSON type> , coordinates: <coordinates> }

For example, to specify a GeoJSON Point:

location: {

      type: "Point",

      coordinates: [-73.856077, 40.848447]

}

For a list of the GeoJSON objects supported in MongoDB as well as examples, see GeoJSON objects.

MongoDB geospatial queries on GeoJSON objects calculate on a sphere; MongoDB uses the WGS84 reference system for geospatial queries on GeoJSON objects.
...