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 province you designated.
- $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 province in which the city you designated located in.
These capabilities are supported in all regions where Amazon DocumentDB is available in including the Amazon Web Services China (Ningxia) Region, operated by NWCD. To learn more, visit our documentation here.