1.

_________ defines a circle for a geospatial query that uses spherical geometry.(a) $center(b) $centre(c) $radii(d) $centersphereThis question was posed to me during an online interview.My query is from Indexing Methods topic in portion Index/Indexing Concepts of MongoDB

Answer»

Right option is (d) $centersphere

The BEST explanation: You can use the $centerSphere operator on both GEOJSON objects and LEGACY COORDINATE PAIRS.



Discussion

No Comment Found

Related InterviewSolutions