Improvement request:
Customer wants to be able to take the viewport that Google Maps generates and use Mongo to find my points within that viewport. If the viewport spans the anti-meridian, you currently get the error "area must be > 0". For example, lower left corner is [10, 170] and upper right is [20, 30].
Without this, customer will need to split the viewport into two and do two queries, then join the results.
It would be much better if MongoDB handled it directly.
Implementation details:
Would need to support $center and $near, need to determine applicability of $box
Search keywords: geo wrap
- is related to
-
SERVER-4027 Accept geo points equal to 180 (or specified max)
- Closed
- related to
-
SERVER-2874 Support for "point in polygon" and "polygon intersects polygon" queries
- Closed