@tgrall
[email protected]
Query : all points in a Polygon
db.points.find(!
{ "loc" :{ $geoWithin : !
! ! {$geometry :!
! ! ! { "type" : "Polygon",!
! ! ! ! "coordinates" : [[!
! ! ! ! [1.4528388, 43.5956005],[1.3996881, 43.5976828],!
! ! ! ! [1.4001065, 43.6364262],[1.4518624, 43.6324835],!
! ! ! ! [1.4528388, 43.5956005]]] !
! ! ! }}}});