projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9744f96
)
fixed gps_point coordinates and tile. why was this passing the tests before?
author
Matt Amos
<zerebubuth@gmail.com>
Thu, 30 Jul 2009 15:19:07 +0000
(15:19 +0000)
committer
Matt Amos
<zerebubuth@gmail.com>
Thu, 30 Jul 2009 15:19:07 +0000
(15:19 +0000)
test/fixtures/gps_points.yml
patch
|
blob
|
history
diff --git
a/test/fixtures/gps_points.yml
b/test/fixtures/gps_points.yml
index 13ee3552a4944cd361ec63bcfce107c753ba67e8..31bd90120fb99c0801f9bc09957bf8fcf161a5f3 100644
(file)
--- a/
test/fixtures/gps_points.yml
+++ b/
test/fixtures/gps_points.yml
@@
-1,9
+1,11
@@
+<% SCALE = 10000000 unless defined?(SCALE) %>
+
first_trace_1:
altitude: 134
trackid: 1
first_trace_1:
altitude: 134
trackid: 1
- latitude:
1
- longitude:
1
+ latitude:
<%= 1 * SCALE %>
+ longitude:
<%= 1 * SCALE %>
gpx_id: 1
timestamp: "2008-10-01 10:10:10"
gpx_id: 1
timestamp: "2008-10-01 10:10:10"
- tile:
1
+ tile:
<%= QuadTile.tile_for_point(1, 1) %>