Merge remote-tracking branch 'openstreetmap/pull/1347' into master
This commit is contained in:
commit
0814b4096c
44 changed files with 560 additions and 553 deletions
35
test/fixtures/gps_points.yml
vendored
35
test/fixtures/gps_points.yml
vendored
|
@ -1,35 +0,0 @@
|
|||
<% SCALE = 10000000 unless defined?(SCALE) %>
|
||||
|
||||
first_trace_1:
|
||||
altitude: 134
|
||||
trackid: 1
|
||||
latitude: <%= 1 * SCALE %>
|
||||
longitude: <%= 1 * SCALE %>
|
||||
gpx_id: 1
|
||||
timestamp: "2008-10-01 10:10:10"
|
||||
tile: <%= QuadTile.tile_for_point(1, 1) %>
|
||||
|
||||
trackable_trace_1:
|
||||
trackid: 1
|
||||
latitude: <%= (51.510 * SCALE).to_i %>
|
||||
longitude: <%= (-0.140 * SCALE).to_i %>
|
||||
gpx_id: 3
|
||||
timestamp: "2009-07-30 17:46:00"
|
||||
tile: <%= QuadTile.tile_for_point(51.510, -0.140) %>
|
||||
|
||||
trackable_trace_2:
|
||||
trackid: 2
|
||||
latitude: <%= (51.511 * SCALE).to_i %>
|
||||
longitude: <%= (-0.141 * SCALE).to_i %>
|
||||
gpx_id: 3
|
||||
timestamp: "2009-07-30 17:47:00"
|
||||
tile: <%= QuadTile.tile_for_point(51.511, -0.141) %>
|
||||
|
||||
identifiable_trace_1:
|
||||
trackid: 1
|
||||
latitude: <%= (51.512 * SCALE).to_i %>
|
||||
longitude: <%= (0.142 * SCALE).to_i %>
|
||||
gpx_id: 4
|
||||
timestamp: "2009-07-30 17:46:00"
|
||||
tile: <%= QuadTile.tile_for_point(51.512, 0.142) %>
|
||||
|
19
test/fixtures/gpx_file_tags.yml
vendored
19
test/fixtures/gpx_file_tags.yml
vendored
|
@ -1,19 +0,0 @@
|
|||
first_trace_1:
|
||||
gpx_id: 1
|
||||
tag: London
|
||||
id: 1
|
||||
|
||||
second_trace_1:
|
||||
gpx_id: 2
|
||||
tag: London
|
||||
id: 2
|
||||
|
||||
second_trace_2:
|
||||
gpx_id: 2
|
||||
tag: Birmingham
|
||||
id: 3
|
||||
|
||||
third_trace_1:
|
||||
gpx_id: 4
|
||||
tag: Birmingham
|
||||
id: 4
|
129
test/fixtures/gpx_files.yml
vendored
129
test/fixtures/gpx_files.yml
vendored
|
@ -1,129 +0,0 @@
|
|||
public_trace_file:
|
||||
id: 1
|
||||
user_id: 1
|
||||
visible: true
|
||||
name: Fist Trace.gpx
|
||||
size:
|
||||
latitude: 1
|
||||
longitude: 1
|
||||
timestamp: "2008-10-29 10:10:10"
|
||||
visibility: "public"
|
||||
description: This is a trace
|
||||
inserted: true
|
||||
|
||||
anon_trace_file:
|
||||
id: 2
|
||||
user_id: 2
|
||||
visible: true
|
||||
name: Private Trace.gpx
|
||||
size: 123
|
||||
latitude: 51.3
|
||||
longitude: -0.56
|
||||
timestamp: "2009-05-06 13:34:34"
|
||||
visibility: "private"
|
||||
description: This is an anonymous trace
|
||||
inserted: true
|
||||
|
||||
trackable_trace_file:
|
||||
id: 3
|
||||
user_id: 2
|
||||
visible: true
|
||||
name: Trackable Trace.gpx
|
||||
size: 123
|
||||
latitude: 51.51
|
||||
longitude: -0.14
|
||||
timestamp: "2009-07-30 17:48:34"
|
||||
visibility: "trackable"
|
||||
description: This trace shows trksegs and timestamps, but no user details.
|
||||
inserted: true
|
||||
|
||||
identifiable_trace_file:
|
||||
id: 4
|
||||
user_id: 1
|
||||
visible: true
|
||||
name: Identifiable Trace.gpx
|
||||
size: 123
|
||||
latitude: 51.512
|
||||
longitude: 0.142
|
||||
timestamp: "2009-07-30 17:48:34"
|
||||
visibility: "identifiable"
|
||||
description: This trace shows trksegs, timestamps and user details.
|
||||
inserted: true
|
||||
|
||||
deleted_trace_file:
|
||||
id: 5
|
||||
user_id: 2
|
||||
visible: false
|
||||
name: Deleted Trace.gpx
|
||||
size: 123
|
||||
latitude: 51.512
|
||||
longitude: 0.142
|
||||
timestamp: "2009-07-30 17:48:34"
|
||||
visibility: "public"
|
||||
description: This is a trace that has been deleted.
|
||||
inserted: true
|
||||
|
||||
zipped_trace_file:
|
||||
id: 6
|
||||
user_id: 4
|
||||
visible: true
|
||||
name: Zipped Trace.gpx
|
||||
size:
|
||||
latitude: 1
|
||||
longitude: 1
|
||||
timestamp: "2008-10-29 10:10:10"
|
||||
visibility: "private"
|
||||
description: This is a zipped trace
|
||||
inserted: true
|
||||
|
||||
tar_trace_file:
|
||||
id: 7
|
||||
user_id: 4
|
||||
visible: true
|
||||
name: Tarred Trace.gpx
|
||||
size:
|
||||
latitude: 1
|
||||
longitude: 1
|
||||
timestamp: "2008-10-29 10:10:10"
|
||||
visibility: "private"
|
||||
description: This is a tarred trace
|
||||
inserted: true
|
||||
|
||||
tar_gzip_trace_file:
|
||||
id: 8
|
||||
user_id: 4
|
||||
visible: true
|
||||
name: Gzipped Tarred Trace.gpx
|
||||
size:
|
||||
latitude: 1
|
||||
longitude: 1
|
||||
timestamp: "2008-10-29 10:10:10"
|
||||
visibility: "private"
|
||||
description: This is a gzipped tarred trace
|
||||
inserted: true
|
||||
|
||||
tar_bzip_trace_file:
|
||||
id: 9
|
||||
user_id: 4
|
||||
visible: true
|
||||
name: Bzipped Tarred Trace.gpx
|
||||
size:
|
||||
latitude: 1
|
||||
longitude: 1
|
||||
timestamp: "2008-10-29 10:10:10"
|
||||
visibility: "private"
|
||||
description: This is a bzipped tarred trace
|
||||
inserted: true
|
||||
|
||||
pending_trace_file:
|
||||
id: 10
|
||||
user_id: 2
|
||||
visible: true
|
||||
name: Pending Trace.gpx
|
||||
size: 123
|
||||
latitude: 51.3
|
||||
longitude: -0.56
|
||||
timestamp: "2009-05-06 13:34:34"
|
||||
visibility: "public"
|
||||
description: This is a pending trace
|
||||
inserted: false
|
Loading…
Add table
Add a link
Reference in a new issue