source: subversion/sites/rails_port/test/fixtures/gpx_files.yml @ 17044

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

Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.

File size: 1.0 KB
Line 
1public_trace_file:
2  id: 1
3  user_id: 1
4  visible: true
5  name: Fist Trace.gpx
6  size:
7  latitude: 1
8  longitude: 1
9  timestamp: "2008-10-29 10:10:10"
10  visibility: "public"
11  description: This is a trace
12  inserted: true
13 
14anon_trace_file:
15  id: 2
16  user_id: 2
17  visible: false
18  name: Private Trace.gpx
19  size: 123
20  latitude: 51.3
21  longitude: -0.56
22  timestamp: "2009-05-06 13:34:34"
23  visibility: "private"
24  description: This is an anonymous trace
25  inserted: true
26
27trackable_trace_file:
28  id: 3
29  user_id: 2
30  visible: false
31  name: Trackable Trace.gpx
32  size: 123
33  latitude: 51.51
34  longitude: -0.14
35  timestamp: "2009-07-30 17:48:34"
36  visibility: "trackable"
37  description: This trace shows trksegs and timestamps, but no user details.
38  inserted: true
39
40identifiable_trace_file:
41  id: 4
42  user_id: 2
43  visible: false
44  name: Identifiable Trace.gpx
45  size: 123
46  latitude: 51.512
47  longitude: 0.142
48  timestamp: "2009-07-30 17:48:34"
49  visibility: "identifiable"
50  description: This trace shows trksegs, timestamps and user details.
51  inserted: true
Note: See TracBrowser for help on using the repository browser.