]> git.openstreetmap.org Git - rails.git/blobdiff - test/fixtures/current_nodes.yml
Fixing the resync that I had done wrong at the end of last week on the nodes. All...
[rails.git] / test / fixtures / current_nodes.yml
index fa9f6f71114012616b1aa953e9aaaa2a57686cb7..7af9bbda10a3387b31608e12a29a4143482531c1 100644 (file)
@@ -1,40 +1,77 @@
 # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+<% SCALE = 10000000 unless defined?(SCALE) %>
 visible_node:
   id: 1
-  latitude: 1
-  longitude: 1
+  latitude: <%= 1*SCALE %>
+  longitude: <%= 1*SCALE %>
   user_id: 1
   visible: 1
   timestamp: 2007-01-01 00:00:00
 
 invisible_node:
   id: 2
-  latitude: 2
-  longitude: 2
+  latitude: <%= 2*SCALE %>
+  longitude: <%= 2*SCALE %>
   user_id: 1
   visible: 0
   timestamp: 2007-01-01 00:00:00
 
 used_node_1:
   id: 3
-  latitude: 3
-  longitude: 3
+  latitude: <%= 3*SCALE %>
+  longitude: <%= 3*SCALE %>
   user_id: 1
   visible: 1
   timestamp: 2007-01-01 00:00:00
 
 used_node_2:
   id: 4
-  latitude: 4
-  longitude: 4
+  latitude: <%= 4*SCALE %>
+  longitude: <%= 4*SCALE %>
   user_id: 1
   visible: 1
   timestamp: 2007-01-01 00:00:00
 
 node_used_by_relationship:
   id: 5
-  latitude: 5
-  longitude: 5
+  latitude: <%= 5*SCALE %>
+  longitude: <%= 5*SCALE %>
   user_id: 1
   visible: 1
   timestamp: 2007-01-01 00:00:00
+  
+node_too_far_north:
+  id: 6
+  latitude: <%= 91*SCALE %>
+  longitude: <%= 6*SCALE %>
+  user_id: 1
+  timestamp: 2007-01-01 00:00:00
+  
+node_too_far_south:
+  id: 7
+  latitude: <%= -91*SCALE %>
+  longitude: <%= 7*SCALE %>
+  user_id: 1
+  timestamp: 2007-01-01 00:00:00
+  
+node_too_far_west:
+  id: 8
+  latitude: <%= 8*SCALE %>
+  longitude: <%= -181*SCALE %>
+  user_id: 1
+  timestamp: 2007-01-01 00:00:00
+  
+node_too_far_east:
+  id: 9
+  latitude: <%= 9*SCALE %>
+  longitude: <%= 181*SCALE %>
+  user_id: 1
+  timestamp: 2007-01-01 00:00:00
+  
+node_totally_wrong:
+  id: 10
+  latitude: <%= 1000*SCALE %>
+  longitude: <%= 1000*SCALE %>
+  user_id: 1
+  timestamp: 2007-01-01 00:00:00
+