Geospatial queries polygons (doctrine2)

I would like to know if there is a way to execute polygons queries in PHP with doctrine2 and mongodb. (As seen in the doc :

I know that the near, withinCenter and withinBox are possibles are implemented in Doctrine2 and work fine, but what about polygons ?


It does now :)

    ->withinPolygon(array(0, 0), array(2, 0), array(0, 2));

See 60a99e5 and the corresponding unit test. An exception will be thrown if less than three points are provided, since that cannot express a polygon.

Need Your Help

Core Data max storage iPhone

iphone objective-c core-data persistence

Is there a limit to how much persistent storage a single iPhone app may consume?

What is a good convention (or requirement) for the location of the const and virtual keywords in C++?

c++ virtual

I know the virtual keyword does not need to be resused in a derived class member function declaration if it overrides a virtual base function but is it good practice to do so to make it clear that ...