X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e1566637231c9605ab7f85feae06bf82225174df..f2d13c075660efb9582d7fb600bd6798d7a382ca:/test/fixtures/current_nodes.yml diff --git a/test/fixtures/current_nodes.yml b/test/fixtures/current_nodes.yml index 2d4b35fd6..af6ea01d5 100644 --- a/test/fixtures/current_nodes.yml +++ b/test/fixtures/current_nodes.yml @@ -25,7 +25,7 @@ used_node_1: id: 3 latitude: <%= 3*SCALE %> longitude: <%= 3*SCALE %> - changeset_id: 1 + changeset_id: 2 visible: true version: 1 tile: <%= QuadTile.tile_for_point(3,3) %> @@ -45,7 +45,7 @@ node_used_by_relationship: id: 5 latitude: <%= 5*SCALE %> longitude: <%= 5*SCALE %> - changeset_id: 1 + changeset_id: 2 visible: true version: 1 tile: <%= QuadTile.tile_for_point(5,5) %> @@ -55,7 +55,7 @@ node_too_far_north: id: 6 latitude: <%= 90.01*SCALE %> longitude: <%= 6*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(90.01,6) %> @@ -65,7 +65,7 @@ node_north_limit: id: 11 latitude: <%= 90*SCALE %> longitude: <%= 11*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(90,11) %> @@ -75,7 +75,7 @@ node_too_far_south: id: 7 latitude: <%= -90.01*SCALE %> longitude: <%= 7*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(-90.01,7) %> @@ -85,7 +85,7 @@ node_south_limit: id: 12 latitude: <%= -90*SCALE %> longitude: <%= 12*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(-90,12) %> @@ -95,7 +95,7 @@ node_too_far_west: id: 8 latitude: <%= 8*SCALE %> longitude: <%= -180.01*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(8,-180.01) %> @@ -105,7 +105,7 @@ node_west_limit: id: 13 latitude: <%= 13*SCALE %> longitude: <%= -180*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(13,-180) %> @@ -115,7 +115,7 @@ node_too_far_east: id: 9 latitude: <%= 9*SCALE %> longitude: <%= 180.01*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(9,180.01) %> @@ -125,7 +125,7 @@ node_east_limit: id: 14 latitude: <%= 14*SCALE %> longitude: <%= 180*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(14,180) %> @@ -135,7 +135,7 @@ node_totally_wrong: id: 10 latitude: <%= 200*SCALE %> longitude: <%= 200*SCALE %> - changeset_id: 1 + changeset_id: 5 visible: true version: 1 tile: <%= QuadTile.tile_for_point(200,200) %> @@ -150,3 +150,33 @@ node_with_versions: version: 4 tile: <%= QuadTile.tile_for_point(1,1) %> timestamp: 2008-01-01 00:04:00 + +public_visible_node: + id: 16 + latitude: <%= 1*SCALE %> + longitude: <%= 1*SCALE %> + changeset_id: 2 + visible: true + version: 1 + tile: <%= QuadTile.tile_for_point(1,1) %> + timestamp: 2007-01-01 00:00:00 + +redacted_node: + id: 17 + latitude: <%= 1*SCALE %> + longitude: <%= 1*SCALE %> + changeset_id: 2 + visible: false + version: 2 + tile: <%= QuadTile.tile_for_point(1,1) %> + timestamp: 2007-01-01 00:00:00 + +node_with_name: + id: 18 + latitude: <%= 1*SCALE %> + longitude: <%= 1*SCALE %> + changeset_id: 2 + visible: true + version: 2 + tile: <%= QuadTile.tile_for_point(1,1) %> + timestamp: 2007-01-01 00:00:00