[GRASS-dev] [GRASS GIS] #2245: Run properly v.clean in v.mkhexgrid

#2245: Run properly v.clean in v.mkhexgrid
-------------------------+--------------------------------------------------
Reporter: leobcc | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Addons | Version: 6.4.3 RCs
Keywords: v.mkhexgrid | Platform: Linux
      Cpu: x86-32 |
-------------------------+--------------------------------------------------
On lines 278-279, the flag '-q' is not recognized as valid.
The correct line is the following:

r = grass.run_command ('v.clean', quiet = True, input = tempname, output =
tname, type = 'point,line,boundary,centroid,area' tool = 'rmdupl')

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

#2245: Run properly v.clean in v.mkhexgrid
---------------------+------------------------------------------------------
  Reporter: leobcc | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Addons | Version: 6.4.3 RCs
Resolution: fixed | Keywords: v.mkhexgrid
  Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Changes (by neteler):

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

Comment:

Fixed in r59578 (also fixes that predefined parameters are no longer
needed).
I removed quiet=True to allow the user to see where the time is spent
during
the topology calculation.

Bonus:

In r59579 use of SQL TRANSACTION added: now it is fast (at least with
SQLite etc DB backends) :slight_smile:

Extrabonus: example with screenshot added in r59580.

Closing.

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