/
742.txt
83 lines (58 loc) · 2.5 KB
/
742.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
* 仕様書
[REFS[
- [1] ([TIME[2014-08-07 02:03:14 +09:00]] 版) <http://www.topografix.com/GPX/1/1/gpx.xsd>
- [8] ([TIME[2014-08-07 02:03:22 +09:00]] 版) <http://www.topografix.com/GPX/gpx_modified/0/1/gpx_modified.xsd>
]REFS]
* 意味
[11] [CODE[wpt][wpt (GPX)]], [CODE[rtept]], [CODE[trkpt]] 各[[要素]]では、
[[要素]]の「作成・変更時刻」とされています。 [SRC[>>8]]
[12] [CODE[pt][pt (GPX)]] [[要素]]では、「記録時刻」とされています。 [SRC[>>8]]
[13] [CODE(XMLe)@en[metadata][metadata (GPX)]] [[要素]]では、
「ファイル作成時刻」とされています。 [SRC[>>8]]
* 構文
[2] [CODE[xs:dateTime]] でなければなりません [SRC[>>1]]。
[3] 巷に流通する [[GPX]] [[ファイル]]では、なぜか[[空文字列]]になっていることもあります。
* 文脈
[4] 次の[[要素]]で使えます。
[FIG(short list)[
- [CODE(XMLe)@en[wpt]]
- [CODE(XMLe)@en[rte]]
- [CODE(XMLe)@en[rtept]]
- [CODE(XMLe)@en[trkpt]]
- [CODE(XMLe)@en[pt]]
]FIG]
* [CODE(XMLe)@en[time]] 要素 ([CODE(URI)@en[http://www.topografix.com/GPX/gpx_modified/0/1]] 名前空間)
[9] [[修正時刻]]を表します [SRC[>>8]]。
** 内容
[10] [CODE[utcDateTimeType]] でなければなりません [SRC[>>8]]。
** 文脈
[7] [CODE(XMLe)@en[metadata][metadata (GPX)]] [[要素]]の
[CODE(XMLe)@en[extensions][extensions (GPX)]] [[要素]]で使われます。
** メモ
[FIG(quote)[
[FIGCAPTION[
[5] [CITE@en[geotools-2.7.x/sample_gpx_file_02.gpx at master · boundlessgeo/geotools-2.7.x]]
([TIME[2016-04-09 20:38:21 +09:00]] 版)
<https://github.com/boundlessgeo/geotools-2.7.x/blob/master/modules/unsupported/gpx2/test/org/geotools/gpx2/resources/sample_gpx_file_02.gpx>
]FIGCAPTION]
> <metadata>
> <bounds minlat="37.92682171" minlon="-121.34249211" maxlat="37.99149514" maxlon="-121.29680873"/>
> <extensions>
> <time xmlns="http://www.topografix.com/GPX/gpx_modified/0/1">2008-10-28T21:33:12.596Z</time>
> </extensions>
> </metadata>
]FIG]
[FIG(quote)[
[FIGCAPTION[
[6] [CITE[Using Google Map Polygons]]
([TIME[2016-04-09 20:43:06 +09:00]] 版)
<http://devnet.logianalytics.com/rdPage.aspx?rdReport=Article&dnDocID=2185>
]FIGCAPTION]
> <metadata>
> <bounds minlat="24.54470100" minlon="-87.63493800" maxlat="31.00088800" maxlon="-80.03136200"/>
> <extensions>
> <time xmlns="http://www.topografix.com/GPX/gpx_modified/0/1">2009-04-20T19:40:01.535Z</time>
> </extensions>
> </metadata>
]FIG]
* メモ