Add Support for GeoKit Queries #49

Merged
merged 1 commit into from Nov 6, 2012

Conversation

Projects
None yet
2 participants
Contributor

mattvv commented Nov 5, 2012

Updated Readme and tests for GeoKit Queries to search for queries
within boxes or distances from.

Place.near(:location, [34.09300844216167, -118.3780094460731], :maxDistanceInMiles => 10).all
Place.near(:location, [34.09300844216167, -118.3780094460731], :maxDistanceInKilometers => 10).all
Place.near(:location, [34.09300844216167, -118.3780094460731], :maxDistanceInRadians => 10/3959).all
Place.within_box(:location, [33.81637559726026, -118.3783150233789], [34.09300844216167, -118.3780094460731]).all
@mattvv mattvv Added Support for GeoKit Queries
Updated Readme and tests for GeoKit Queries to search for queries
within boxes or distances from.
7e5dd01
Contributor

mattvv commented Nov 5, 2012

This should resolve the final cases for #5

@adelevie adelevie added a commit that referenced this pull request Nov 6, 2012

@adelevie adelevie Merge pull request #49 from mattvv/master
Add Support for GeoKit Queries
d8cf434

@adelevie adelevie merged commit d8cf434 into adelevie:master Nov 6, 2012

Owner

adelevie commented Nov 6, 2012

This looks awesome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment