$geowithin does not work for some polygons

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi Team trying to run the query to fetch all the geometries within given polygon, it does not work. it works for small size polygon though. Please give some insight.
      db.table.find(
                 { "GeJsonGeometry._v" :
              {
            $geoWithin: {
               $geometry:

      {             type: "Polygon",             coordinates: [                [                  [ -180, -46.6038995 ], [ 180, -46.6038995 ], [ 180, 78.7886584 ], [ -180, 78.7886584 ], [ -180, -46.6038995 ]                ]              ]          }

            }
         }
      }
                
      )

              Assignee:
              Unassigned
              Reporter:
              Arghya Chandan Das
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: