[GRASS-dev] [GRASS GIS] #2416: t.vect.export using no compression argument results in creation of an archive

#2416: t.vect.export using no compression argument results in creation of an
archive
---------------------------+------------------------------------------------
Reporter: egoddard | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: t.vect.export | Platform: Linux
      Cpu: x86-64 |
---------------------------+------------------------------------------------
GRASS 7 trunk, rev 61890 on Xubuntu 14.04. In the t.vect.export module,
the compression argument indicates that the options are no compression,
gzip compression, or bzip2 compression. If no compression is selected, the
output is still stored in an archive that cannot be extracted via the file
explorer or command line (with tar -x), though t.vect.import can still
read the archive. If no compression is used, the pack or GML should be
stored in a folder.

Steps to reproduce (Given an existing vector temporal dataset exists):
1. run "t.vect.export input=vector_stds output=~/tmp/export/stds_export
compression=no", replace input and output arguments with actual data/path.
2. In the output folder, an archive will exist instead of a folder.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2416&gt;
GRASS GIS <http://grass.osgeo.org>

#2416: t.vect.export using no compression argument results in creation of an
archive
---------------------------+------------------------------------------------
Reporter: egoddard | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Temporal | Version: svn-trunk
Keywords: t.vect.export | Platform: Linux
      Cpu: x86-64 |
---------------------------+------------------------------------------------

Comment(by huhabla):

The behavior of the temporal export modules is intentional. The
compression flag is related to the compression method used for the
generated tar archive. Tests using the latest trunk version indicates to
me that the generated tar archives can be extracted using "tar xf
stvds.tar".

It is important to specify the suffix of the archive, in this case ".tar",
otherwise the file manager may not be able to detect that this file is
actually a tar archive.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2416#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>