Dropping duplicate GPS points is very expensive and rarely finds
anything much to drop, so don't bother.
This commit is contained in:
parent
0423884184
commit
c3f0e12491
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class ApiController < ApplicationController
|
|||
end
|
||||
|
||||
# get all the points
|
||||
points = Tracepoint.find_by_area(min_lat, min_lon, max_lat, max_lon, :select => "DISTINCT *", :offset => offset, :limit => TRACEPOINTS_PER_PAGE, :order => "timestamp DESC" )
|
||||
points = Tracepoint.find_by_area(min_lat, min_lon, max_lat, max_lon, :offset => offset, :limit => TRACEPOINTS_PER_PAGE, :order => "timestamp DESC" )
|
||||
|
||||
doc = XML::Document.new
|
||||
doc.encoding = 'UTF-8'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue