Doubt in a quiz

I am not able to see “geospatial data” as a data type in MongoDB Compass.
Refer to this quiz . Instead of “geospatial data” I can see “coordinates” as a data type.


Geospatial data is not a data type, we are using this data and stored as coordinates type.
In MongoDB, you can store geospatial data as GeoJSON objects or as coordinate pairs.

Using this you can calculate longitude and latitude coordinates respectivetly and further more like distances between two places using these values (like : Flight travel distance between two places etc.,).

Go through this link for answering more of your queires:

1 Like