From: Matt Amos Date: Thu, 30 Jul 2009 15:19:07 +0000 (+0000) Subject: fixed gps_point coordinates and tile. why was this passing the tests before? X-Git-Tag: live~6765 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/44ec85fcada869255d7c5c2663269628557df662 fixed gps_point coordinates and tile. why was this passing the tests before? --- diff --git a/test/fixtures/gps_points.yml b/test/fixtures/gps_points.yml index 13ee3552a..31bd90120 100644 --- 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 - latitude: 1 - longitude: 1 + latitude: <%= 1 * SCALE %> + longitude: <%= 1 * SCALE %> gpx_id: 1 timestamp: "2008-10-01 10:10:10" - tile: 1 + tile: <%= QuadTile.tile_for_point(1, 1) %>