Schemas for GIS?

Anybody know what fields are required to work with a GIS system? I’m starting to research how to make our system integrate with GIS and thought I’d throw it out there to see if others have tackled this.

Usually, GIS in MongoDB means using geoJSON, which has a well defined schema:
https://docs.mongodb.com/manual/geospatial-queries/

But more generally it depends on what data you have and what you want to achieve. I usually just store lat/lng and ignore complex schemas because that is good enough for mapping points

Sometimes I need polygons to determine if a point is in an area, and then geoJSON become useful because it opens up geospatial queries in mongo and js

1 Like