mongoid / origin

A Ruby DSL for building MongoDB queries
http://mongoid.org/en/origin/index.html
MIT License
62 stars 29 forks source link

Support for more geo spatial queries #98

Open glampr opened 10 years ago

glampr commented 10 years ago

As described here #81 would it be possible to add support for more geospatial queries?

As @durran mentions for example it would be nice to have queryable.geo_within_box and queryable.where(:field.geo_within_box), etc.

as well as the other queries that operate on the old array coordinate system.

glampr commented 9 years ago

Any updates on this?

Also, the documentation needs updating/sync... http://mongoid.org/en/origin/docs/selection.html

Queryable#within_box doesn't seem to be available in version 2.1.1