Opened 10 years ago

Closed 8 years ago

#2416 closed defect (fixed)

t.vect.export using no compression argument results in creation of an archive

Reported by: egoddard Owned by: grass-dev@…
Priority: normal Milestone: 7.2.0
Component: Temporal Version: svn-trunk
Keywords: t.vect.export Cc:
CPU: x86-64 Platform: Linux

Description

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.

Change History (4)

comment:1 by huhabla, 10 years ago

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.

comment:2 by lucadelu, 9 years ago

I added a note on the manual of t.vect.export and t.rast.export in r67965. Please review english before backport

comment:3 by neteler, 9 years ago

Milestone: 7.1.07.2.0

Milestone renamed

comment:4 by neteler, 8 years ago

Resolution: fixed
Status: newclosed

r67965 cleaned in r69800, r69801. Closing.

Note: See TracTickets for help on using tickets.