Bug report #16202

Color Maps with labels that contain commas

Added by Darren Kavanagh 9 months ago. Updated 7 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Rasters
Affected QGIS version:2.18.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No

Description

Scope - Single Band Pseudocolor Renderer (qgssinglebandpseudocolorrendererwidget.cpp)

Exported color maps labels that contain commas are exported without enclosing the label within double quotes. Example output:

1,255,255,255,255,Label, with comma

Importing color maps that contain labels with commas results in an error:

The following lines contain errors ... .

Manually adding double quotes to label and importing gives the same error.

To correct this problem a different column separator could be used or new logic written to output and parse text fields like a CSV file.

History

#1 Updated by Giovanni Manghi 7 months ago

  • Easy fix? set to No
  • Regression? set to No

Also available in: Atom PDF