[GRASS-dev] [GRASS GIS] #244: v.in.asci has no progress bar in any GUI (same as v.proj)

#244: v.in.asci has no progress bar in any GUI (same as v.proj)
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
v.in.asci has no progress bar in any GUI (same as v.proj)

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

#244: v.in.ascii has no progress bar in any GUI (same as v.proj)
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by glynn):

  * summary: v.in.asci has no progress bar in any GUI (same as v.proj) =>
              v.in.ascii has no progress bar in any GUI (same
              as v.proj)

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

#244: v.in.ascii has no progress bar in any GUI (same as v.proj)
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by hamish):

input can be piped from stdin, which is open-ended. So a progress bar
isn't appropriate. r.in.xyz does some checks to see what kind of input is
involved before checking filesize and rewinding, then using G_clicker()
instead of G_percent(), but really for v.in.ascii IMO I don't think it's
worth the trouble.

Hamish

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

#244: v.in.ascii has no progress bar in any GUI (same as v.proj)
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [comment:2 hamish]:
> input can be piped from stdin, which is open-ended. So a progress bar
isn't appropriate. r.in.xyz does some checks to see what kind of input is
involved before checking filesize and rewinding, then using G_clicker()
instead of G_percent(), but really for v.in.ascii IMO I don't think it's
worth the trouble.

It's seems to me that at least in points mode progress message info can be
printed. The file is scanned before the points are imported, see r32398
(not backported to devbr6).

Martin

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

#244: v.in.ascii has no progress bar in any GUI (same as v.proj)
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by hamish):

Replying to [comment:3 martinl]:
> It's seems to me that at least in points mode progress message info can
be printed.
> The file is scanned before the points are imported, see r32398 (not
backported to
> devbr6).

i.e. in the first step of v.in.ascii the points are scanned for column
type and sanitized then saved into a temporary file. then in a second step
the temporary file is imported. G_percent() can work on the second stage
as the number of points is known (r32398).

so shall we close this wish as "already done by martin"?

as it's not a bugfix I don't think backporting to 6.3/4 is appropriate.

regards,
Hamish

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

#244: v.in.ascii has no progress bar in any GUI (same as v.proj)
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * resolution: => fixed

Comment:

sorry didn't check timestamps; change was done in response to this wish..

H

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

GRASS GIS wrote:

as it's not a bugfix I don't think backporting to 6.3/4 is appropriate.

New features should go into 6.4. Otherwise there wouldn't be any point
in having a 6.4 branch; bugfixes can go into 6.3.

--
Glynn Clements <glynn@gclements.plus.com>