Welcome to the new MongoDB Feedback Portal!
{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.
We’ve upgraded our feedback system to better capture, track, and act on your feedback. Here’s what you need to know:
|
What problem are you trying to solve? Focus on the what and why of the need you have, not the how you'd like it solved. |
We are building a geospatial application that uses GeoJSON natively. We need to query MongoDB for a list of GeoJSON objects that intersect with a given GeoJSON object. Currently, there is no way to correctly search for intersecting polygons in MongoDB. This is because the According to RFC 7946 (The GeoJSON Format), this assumption is nonstandard: A line between two positions is a straight Cartesian line, the For example, here is a valid GeoJSON Polygon that MongoDB incorrectly computes as self-intersecting:
|
|
What would you like to see happen? Describe the desired outcome or enhancement. |
An alternative index and operator that check for planar intersections would be ideal, since it will allow users to conform to the GeoJSON specification, while maintaining backwards compatibility. |
|
Why is this important to you or your team? Explain how the request adds value or solves a business need. |
It is currently impossible for us to implement our features using MongoDB due to the above issue, despite MongoDB nominally having GeoJSON support. |
What steps, if any, are you taking today to manage this problem? |
We have to caveat to our users that our intersection logic is not trustworthy. It is unclear if there is a provably correct way to capture all possibly intersecting objects in the database, then filter the list to actually intersecting geometries in the application. If there is no timeline to remedy this on MongoDB, we will likely migrate to a database that supports GeoJSON. |