Bug report #12267

Data-defined SVG symbol path doesn't work in legend and symbol settings

Added by Milos Kroulik over 9 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Legend
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:duplicate
Crashes QGIS or corrupts data:No Copied to github as #:20452

Description

I've tried to use data-defined SVG paths in symbol settings using both virtual field and expression. It works properly in map (point features get correct SVG symbols), but in style settings and legend only '?' symbol is displayed. I also tried to use both relative paths (to the SVG paths defined in settings) and absolute paths - the result is the same.

Please let me know, if you need more info.

screen_025.png (45.5 KB) Milos Kroulik, 2015-02-25 06:06 AM


Related issues

Duplicates QGIS Application - Feature request #11491: When using data defined colors the map legend shows alwa... Open 2014-10-24

History

#1 Updated by Milos Kroulik over 9 years ago

Sorry for bad title, should be of course "Data-defined SVG symbol path doesn't work in legend and symbol settings"

#2 Updated by Giovanni Manghi over 9 years ago

  • Status changed from Open to Feedback
  • Subject changed from Data-defined SVG symbol path doesn't work in legendans symbol settings to Data-defined SVG symbol path doesn't work in legend and symbol settings

Hi,

what version of qgis are you using?

did it worked as expected in previous qgis releases?

#3 Updated by Milos Kroulik over 9 years ago

Well, I'm using latest master (as of yesterday), as indicated in "affected version" above. My colleague had the same experience using QGIS 2.6 (on Linux Mint 17.1 aka Ubuntu 14.04).

#4 Updated by Giovanni Manghi over 9 years ago

  • Category changed from Symbology to Map Legend
  • Status changed from Feedback to Open

#5 Updated by Martin Dobias over 9 years ago

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

I believe this is a duplicate of #11491. Data-defined properties are currently ignored in legend, that's why you get the '?' icons.

Also available in: Atom PDF