From 5c5c055668ce2a695f9bbf309a6d4c32b8e3e60c Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Wed, 3 Nov 2010 21:50:51 -0400 Subject: [PATCH] Explain inability to sort by distance w/ SQLite. --- README.rdoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rdoc b/README.rdoc index 7f8bbcd0..9b9995d4 100644 --- a/README.rdoc +++ b/README.rdoc @@ -105,6 +105,8 @@ Please see the code for more methods and detailed information about arguments (e SQLite's lack of trigonometric functions requires an alternate implementation of the +near+ method (scope). When using SQLite, Geocoder will automatically use a less accurate algorithm for finding objects near a given point. Results of this algorithm should not be trusted too much as it will return objects that are outside the given radius. +It is also not possible to calculate distances between points without the trig functions so you cannot sort results by "nearness." + === Discussion -- GitLab