This commit is contained in:
Sanj 2011-08-28 08:26:57 +05:30
commit 262a795d50

View File

@ -82,7 +82,7 @@ class Feature(models.Model):
) AS whatever
WHERE %f * similarity / distance >= 1.0
ORDER BY similarity / distance DESC"""
% (scale_factor, name, self.geometry, self.geometry,
% (scale_factor, name, self.geometry.wkt, self.geometry.wkt,
max_distance*0.00001, name, scale_factor)
)
result_list = []