-
-
Notifications
You must be signed in to change notification settings - Fork 295
/
t.vect.export.html
135 lines (114 loc) · 3.75 KB
/
t.vect.export.html
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<h2>DESCRIPTION</h2>
<em>t.vect.export</em> exports a space time vector dataset (stvds)
to a tar archive as either GML (using <em><a href="v.out.ogr.html">v.out.ogr</a></em>)
or GRASS pack files. In addition to the pack or GML files, several
metadata files are also created in the archive that describe the
temporal layout. All time stamps are stored in the file "list.txt",
for each map one row. The name of the map, the start time and the
end time are written. In case of a time instance, the start time is
equal to the end time. The "init.txt" file stores the temporal type,
the number of maps, the chosen export format and some other
metadata. The "proj.txt" file stores the projection information as a
proj4 string of the location the space time vector dataset was
exported from. The file "readme.txt" describes the file format. The
output of <em>v.info</em> for each vector map in the space time dataset is
stored in "metadata.txt".
<p>
The tar archive can be compressed using the <b>compress</b> option. Gzip
and bzip2 (default) are available. A <b>where</b> option can be specified,
to export only a subset of the space time dataset. Archives exported
with <em>t.vect.export</em> can be imported with
<em><a href="t.vect.import.html">t.vect.import</a></em>.
<h2>NOTES</h2>
The name of output file has to carry the suffix of the archive type, the
following suffix can be used:
<ul>
<li><b>.tar</b> in the case of <b>compress=no</b></li>
<li><b>.tar.bzip2</b> in the case of <b>compress=bzip2</b></li>
<li><b>.tar.gzip</b> in the case of <b>compress=gzip</b></li>
</ul>
<h2>EXAMPLE</h2>
In this example, five vector maps are created and
registered in a single space time vector dataset named <em>random_locations</em>.
Each vector map represents random locations
within the boundary of the state taken at 1 month intervals.
<div class="code"><pre>
t.vect.export input=shoreline output=shoreline_nc.tar.bzip2
tar xvfj shoreline_nc.tar.bzip2
shoreline_1849_1873.xml
shoreline_1849_1873.xsd
shoreline_1925_1946.xml
shoreline_1925_1946.xsd
shoreline_1970_1988.xml
shoreline_1970_1988.xsd
shoreline_1997.xml
shoreline_1997.xsd
shoreline_1998.xml
shoreline_1998.xsd
shoreline_2003.xml
shoreline_2003.xsd
shoreline_2004.xml
shoreline_2004.xsd
shoreline_2009.xml
shoreline_2009.xsd
list.txt
proj.txt
init.txt
readme.txt
metadata.txt
cat init.txt
stds_type=stvds
format=GML
temporal_type=relative
semantic_type=mean
relative_time_unit=years
number_of_maps=8
north=1039175.31479
south=9403.301982
east=3052352.00337
west=651481.84739
cat proj.txt
+proj=lcc
+lat_1=36.16666666666666
+lat_2=34.33333333333334
+lat_0=33.75
+lon_0=-79
+x_0=609601.22
+y_0=0
+no_defs
+a=6378137
+rf=298.257222101
+towgs84=0.000,0.000,0.000
+to_meter=1
cat list.txt
shoreline_1849_1873|1849|1873
shoreline_1925_1946|1925|1946
shoreline_1970_1988|1970|1988
shoreline_1997|1997|1997
shoreline_1998|1998|1998
shoreline_2003|2003|2003
shoreline_2004|2004|2004
shoreline_2009|2009|2009
cat readme.txt
This space time vector dataset was exported with t.vect.export of GRASS GIS 7
Files:
*.xml -- Vector GML files
proj.txt -- Projection information in PROJ.4 format
init.txt -- GRASS GIS space time vector dataset information
list.txt -- Time series file, lists all maps by name with interval
time stamps in ISO-Format. Field separator is |
metadata.txt -- The output of t.info
readme.txt -- This file
</pre></div>
<h2>SEE ALSO</h2>
<em>
<a href="t.vect.import.html">t.vect.import</a>,
<a href="t.create.html">t.create</a>,
<a href="t.info.html">t.info</a>,
<a href="v.out.ogr.html">v.out.ogr</a>,
<a href="v.unpack.html">v.unpack</a>,
<a href="t.rast.export.html">t.rast.export</a>
</em>
<h2>AUTHOR</h2>
Sören Gebbert, Thünen Institute of Climate-Smart Agriculture
<p><i>Last changed: $Date$</i>