Bug report #22103

GRASS module v.to.rast -- combobox to select label field only lists numeric fields

Added by Daan VAN SETTEN about 5 years ago. Updated about 5 years ago.

Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29916


Hello -

In GRASS module v.to.rast, the combobox "Name of column use as raster category labels" only proposes numeric fields.

However, for this field we would typically select a string type field

Thanks in advance,



#1 Updated by Giovanni Manghi about 5 years ago

  • Easy fix? changed from Yes to No
  • Operating System deleted (Windowws 10)
  • Status changed from Open to Feedback
  • Category changed from GRASS to Processing/GRASS

Unless I'm missing something I think that the parameter does not make any sense in the context of Processing/GRASS:
in Processing data is imported into a temporary mapset/location as a GRASS vector/raster, processed (in this case imported and given labels to pixels) but then is immediately exported to simple-feature or a non GRASS rasters... so labels are anyway lost.

Also available in: Atom PDF