source: subversion/sites/rails_port/test/fixtures/current_nodes.yml @ 14645

Last change on this file since 14645 was 14586, checked in by tomhughes, 10 years ago

Merge api06 branch to trunk.

File size: 3.2 KB
Line 
1# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2<% SCALE = 10000000 unless defined?(SCALE) %>
3
4visible_node:
5  id: 1
6  latitude: <%= 1*SCALE %>
7  longitude: <%= 1*SCALE %>
8  changeset_id: 1
9  visible: true
10  version: 1
11  tile: <%= QuadTile.tile_for_point(1,1) %>
12  timestamp: 2007-01-01 00:00:00
13
14invisible_node:
15  id: 2
16  latitude: <%= 2*SCALE %>
17  longitude: <%= 2*SCALE %>
18  changeset_id: 1
19  visible: false
20  version: 1
21  tile: <%= QuadTile.tile_for_point(2,2) %>
22  timestamp: 2007-01-01 00:00:00
23
24used_node_1:
25  id: 3
26  latitude: <%= 3*SCALE %>
27  longitude: <%= 3*SCALE %>
28  changeset_id: 1
29  visible: true
30  version: 1
31  tile: <%= QuadTile.tile_for_point(3,3) %>
32  timestamp: 2007-01-01 00:00:00
33
34used_node_2:
35  id: 4
36  latitude: <%= 4*SCALE %>
37  longitude: <%= 4*SCALE %>
38  changeset_id: 1
39  visible: true
40  version: 1
41  tile: <%= QuadTile.tile_for_point(4,4) %>
42  timestamp: 2007-01-01 00:00:00
43
44node_used_by_relationship:
45  id: 5
46  latitude: <%= 5*SCALE %>
47  longitude: <%= 5*SCALE %>
48  changeset_id: 1
49  visible: true
50  version: 1
51  tile: <%= QuadTile.tile_for_point(5,5) %>
52  timestamp: 2007-01-01 00:00:00
53 
54node_too_far_north:
55  id: 6
56  latitude: <%= 90.01*SCALE %>
57  longitude: <%= 6*SCALE %>
58  changeset_id: 5
59  visible: true
60  version: 1
61  tile: <%= QuadTile.tile_for_point(90.01,6) %>
62  timestamp: 2007-01-01 00:00:00
63 
64node_north_limit:
65  id: 11
66  latitude: <%= 90*SCALE %>
67  longitude: <%= 11*SCALE %>
68  changeset_id: 5
69  visible: true
70  version: 1
71  tile: <%= QuadTile.tile_for_point(90,11) %>
72  timestamp: 2008-07-08 14:50:00
73 
74node_too_far_south:
75  id: 7
76  latitude: <%= -90.01*SCALE %>
77  longitude: <%= 7*SCALE %>
78  changeset_id: 5
79  visible: true
80  version: 1
81  tile: <%= QuadTile.tile_for_point(-90.01,7) %>
82  timestamp: 2007-01-01 00:00:00
83 
84node_south_limit:
85  id: 12
86  latitude: <%= -90*SCALE %>
87  longitude: <%= 12*SCALE %>
88  changeset_id: 5
89  visible: true
90  version: 1
91  tile: <%= QuadTile.tile_for_point(-90,12) %>
92  timestamp: 2008-07-08 15:02:18
93 
94node_too_far_west:
95  id: 8
96  latitude: <%= 8*SCALE %>
97  longitude: <%= -180.01*SCALE %>
98  changeset_id: 5
99  visible: true
100  version: 1
101  tile: <%= QuadTile.tile_for_point(8,-180.01) %>
102  timestamp: 2007-01-01 00:00:00
103 
104node_west_limit:
105  id: 13
106  latitude: <%= 13*SCALE %>
107  longitude: <%= -180*SCALE %>
108  changeset_id: 5
109  visible: true
110  version: 1
111  tile: <%= QuadTile.tile_for_point(13,-180) %>
112  timestamp: 2008-07-08 15:17:37
113 
114node_too_far_east:
115  id: 9
116  latitude: <%= 9*SCALE %>
117  longitude: <%= 180.01*SCALE %>
118  changeset_id: 5
119  visible: true
120  version: 1
121  tile: <%= QuadTile.tile_for_point(9,180.01) %>
122  timestamp: 2007-01-01 00:00:00
123 
124node_east_limit:
125  id: 14
126  latitude: <%= 14*SCALE %>
127  longitude: <%= 180*SCALE %>
128  changeset_id: 5
129  visible: true
130  version: 1
131  tile: <%= QuadTile.tile_for_point(14,180) %>
132  timestamp: 2008-07-08 15:46:16
133 
134node_totally_wrong:
135  id: 10
136  latitude: <%= 200*SCALE %>
137  longitude: <%= 200*SCALE %>
138  changeset_id: 5
139  visible: true
140  version: 1
141  tile: <%= QuadTile.tile_for_point(200,200) %>
142  timestamp: 2007-01-01 00:00:00
143 
144node_with_versions:
145  id: 15
146  latitude: <%= 1*SCALE %>
147  longitude: <%= 1*SCALE %>
148  changeset_id: 4
149  visible: true
150  version: 4
151  tile: <%= QuadTile.tile_for_point(1,1) %>
152  timestamp: 2008-01-01 00:04:00
Note: See TracBrowser for help on using the repository browser.