Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
3.2.6
-
None
-
ALL
-
Description
Using MongoDB 3.2 i'm trying to use 2dsphere queries on a collection of Points.
Lets say i have à collection cust_5_abcd with a 2dsphere index on the_geom field.
Now i'm trying to query this Point using $geoWithin to get all data inside a specific Polygon. This is where i'm getting different result if i use $geometry with the GeoJSON definition , or with $polygon and the strict coordinates. Maybe something in the documentation is missing or something i misunderstood.
With $geometry gives NO result.
With $polygon returns my Point.