mongodb check if point is in polygon
mongo 2.6 I have some amount of stored polygons. And I have a point. I what to know if this point fits any of stored polygons document example { ..., "polygons" : [ [ 17.60083012593064, 78.18557739257812 ], [ 17.16834652544664, 78.19381713867188 ], [ 17.17490690610013, 78.739013671875 ], [ 17.613919673106714, 78.73489379882812 ] ], ... } There is nearly the same question already Mongodb : Check if a point is inside a stored polygon . But it is not working for me - this query has to give at least one result(the one in example) - but it does not. db.areas.find( { polygons : { $geoIntersects : {