Creating a Geospacial document to support app

I’m new to Mongo and I am working on a project for school, I want to create a document database in MongoDB that tracks geospacial coordinates of visitors to a hypothetical museum we don’t actually have to build the app just the datastructure for the document database that would support the app, be able to enter some data and have the ability to query it. My quetion is; what data type is the best for storing geospacial coordinates.

Hi @christopher_28877,

In MongoDB, you can store geospatial data as GeoJSON objects or as legacy coordinate pairs.

Here is documentation for more reference: