.TH t.vect.export 1grass "" "GRASS 8.2.1" "GRASS GIS User's Manual" .SH NAME \fI\fBt.vect.export\fR\fR \- Exports a space time vector dataset as GRASS GIS specific archive file. .SH KEYWORDS temporal, export, vector, time .SH SYNOPSIS \fBt.vect.export\fR .br \fBt.vect.export \-\-help\fR .br \fBt.vect.export\fR \fBinput\fR=\fIname\fR \fBoutput\fR=\fIname\fR [\fBdirectory\fR=\fIname\fR] [\fBcompression\fR=\fIstring\fR] [\fBformat\fR=\fIstring\fR] [\fBwhere\fR=\fIsql_query\fR] [\-\-\fBoverwrite\fR] [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-\-overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBinput\fR=\fIname\fR \fB[required]\fR" 4m .br Name of the input space time vector dataset .IP "\fBoutput\fR=\fIname\fR \fB[required]\fR" 4m .br Name of a space time vector dataset archive .IP "\fBdirectory\fR=\fIname\fR" 4m .br Path to the work directory, default is /tmp .br Default: \fI/tmp\fR .IP "\fBcompression\fR=\fIstring\fR" 4m .br Compression method of the tar archive .br Options: \fIno, gzip, bzip2\fR .br Default: \fIbzip2\fR .IP "\fBformat\fR=\fIstring\fR" 4m .br The export format of a single vector map .br Supported are GML and GPKG via v.out.ogr and the GRASS package format of v.pack .br Options: \fIGML, GPKG, pack\fR .br Default: \fIGML\fR .IP "\fBwhere\fR=\fIsql_query\fR" 4m .br WHERE conditions of SQL statement without \(cqwhere\(cq keyword used in the temporal GIS framework .br Example: start_time > \(cq2001\-01\-01 12:30:00\(cq .SH DESCRIPTION \fIt.vect.export\fR exports a space time vector dataset (stvds) to a tar archive as either GML (using \fIv.out.ogr\fR) 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 \(dqlist.txt\(dq, 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 \(dqinit.txt\(dq file stores the temporal type, the number of maps, the chosen export format and some other metadata. The \(dqproj.txt\(dq file stores the projection information as a proj4 string of the location the space time vector dataset was exported from. The file \(dqreadme.txt\(dq describes the file format. The output of \fIv.info\fR for each vector map in the space time dataset is stored in \(dqmetadata.txt\(dq. .PP The tar archive can be compressed using the \fBcompress\fR option. Gzip and bzip2 (default) are available. A \fBwhere\fR option can be specified, to export only a subset of the space time dataset. Archives exported with \fIt.vect.export\fR can be imported with \fIt.vect.import\fR. .SH NOTES The name of output file has to carry the suffix of the archive type, the following suffix can be used: .RS 4n .IP \(bu 4n \fB.tar\fR in the case of \fBcompress=no\fR .IP \(bu 4n \fB.tar.bzip2\fR in the case of \fBcompress=bzip2\fR .IP \(bu 4n \fB.tar.gzip\fR in the case of \fBcompress=gzip\fR .RE .SH EXAMPLE In this example, five vector maps are created and registered in a single space time vector dataset named \fIrandom_locations\fR. Each vector map represents random locations within the boundary of the state taken at 1 month intervals. .br .nf \fC 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 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 \fR .fi .SH SEE ALSO \fI t.vect.import, t.create, t.info, v.out.ogr, v.unpack, t.rast.export \fR .SH AUTHOR Sören Gebbert, Thünen Institute of Climate\-Smart Agriculture .SH SOURCE CODE .PP Available at: t.vect.export source code (history) .PP Accessed: Sunday Jan 22 07:37:46 2023 .PP Main index | Temporal index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual