Posted On: Jan 24, 2022

Amazon DocumentDB (with MongoDB compatibility) is a scalable, highly durable, and fully managed database service for operating mission-critical MongoDB workloads.

Today, Amazon DocumentDB added additional Geospatial query capabilities by providing support for intersection and inclusion queries. With these capabilities you can use the following MongoDB APIs for your Geospatial use cases -

  • $geoWithin - You can now use the $geoWithin API to perform inclusion queries on data stored in DocumentDB. For example, you can use $geoWithin to find all airports in the state of New York.
  • $geoIntersects - You can now use the $geoIntersects API to perform intersection queries on data stored in DocumentDB. For example, you can use $geoIntersects to find the state in which the city of Seattle located in.

For more information on how to get started with Geospatial querying see our documentation. Geospatial capabilities are supported in all regions where Amazon DocumentDB is available. If you are new to Amazon DocumentDB, the getting started guide will show you how to quickly provision an Amazon DocumentDB cluster and explore the flexibility of the document model. Have questions or feature requests? Email us at: documentdb-feature-request@amazon.com.