#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')
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)
Extrabonus: example with screenshot added in r59580.