[GRASS-SVN] r67965 - in grass/trunk/temporal: t.rast.export t.vect.export

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 26 10:01:22 PST 2016


Author: lucadelu
Date: 2016-02-26 10:01:22 -0800 (Fri, 26 Feb 2016)
New Revision: 67965

Modified:
   grass/trunk/temporal/t.rast.export/t.rast.export.html
   grass/trunk/temporal/t.vect.export/t.vect.export.html
Log:
t.*.export: improved documentation related to #2416

Modified: grass/trunk/temporal/t.rast.export/t.rast.export.html
===================================================================
--- grass/trunk/temporal/t.rast.export/t.rast.export.html	2016-02-26 15:01:54 UTC (rev 67964)
+++ grass/trunk/temporal/t.rast.export/t.rast.export.html	2016-02-26 18:01:22 UTC (rev 67965)
@@ -15,12 +15,22 @@
 describes the file format. The output of <em>r.info</em> 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.rast.export</em> can be imported with
 <em><a href="t.vect.import.html">t.rast.import</a></em>.
 
+<h2>NOTES</h2>
+The name of output file has to specify the suffix of the archive, the
+following suffix has to be added:
+<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, all the maps of 2012 of "tempmean_monthly" will be exported:
@@ -29,7 +39,7 @@
 t.rast.export input=tempmean_monthly output=tempmean_monthly.tar.bzip2 \
               where="start_time >= '2012-01-01' and start_time < '2013-01-01'"
 
-tar xvf precipitation_daily.tar
+tar xvjf precipitation_daily.tar.bzip2
 
 2012_01_tempmean.tif
 2012_01_tempmean.color

Modified: grass/trunk/temporal/t.vect.export/t.vect.export.html
===================================================================
--- grass/trunk/temporal/t.vect.export/t.vect.export.html	2016-02-26 15:01:54 UTC (rev 67964)
+++ grass/trunk/temporal/t.vect.export/t.vect.export.html	2016-02-26 18:01:22 UTC (rev 67965)
@@ -21,6 +21,16 @@
 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 specify the suffix of the archive, the
+following suffix has to be added:
+<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
@@ -29,9 +39,9 @@
 within the boundary of the state taken at 1 month intervals.
 
 <div class="code"><pre>
-t.vect.export input=shoreline output=shoreline_nc
+t.vect.export input=shoreline output=shoreline_nc.tar.bzip2
 
-tar xvfj shoreline_nc
+tar xvfj shoreline_nc.tar.bzip2
 shoreline_1849_1873.xml
 shoreline_1849_1873.xsd
 shoreline_1925_1946.xml



More information about the grass-commit mailing list