Bug report #231

GRASS tools: cannot enter rows,cols in v.mkgrid

Added by anonymous - over 17 years ago. Updated over 14 years ago.

Assignee:Redmine Admin
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:10290



apparently the input field for rows,cols in v.mkgrid is overzealously checked.
The comma separator cannot be entered. Probably also further parameters
would be needed for the module.



#1 Updated by Martin Dobias over 17 years ago

This appears to be a problem how grass plugin parses v.mkgrid interface definition:

        <parameter name="grid" type="integer" required="yes" multiple="no">
                        number of ROWS and COLUMNS in grid
                        <item order="1">rows</item>
                        <item order="2">columns</item>

Type is integer, thus it allows only integers to be entered. However it doesn't consider "keydesc" tag that specifies two items.

What to do with it?
  • disable modules with this kind of parameter
  • implement this functionality to behave correctly
  • allow entering strings for such parameters (temporary fix)


#2 Updated by neteler-itc-it - over 17 years ago

For 0.8 maybe the temporary "string" solution is quickest (otherwise the module is useless in QGIS).

In general all modules which query on command line (r.what, v.what.rast, v.what.vect, ...) will have this problem, so a real solution to it would be very nice.


#3 Updated by Martin Dobias over 17 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in ba35e600 (SVN r6196). Edit field is created for every sub-parameter.

#4 Updated by Anonymous over 14 years ago

Milestone Version 0.8 deleted

Also available in: Atom PDF