Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorized/graduated symbology does not work for a virtual field computed using a joined column #19815

Closed
qgib opened this issue Nov 4, 2014 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Nov 4, 2014

Author Name: Joseph Liam (Joseph Liam)
Original Redmine Issue: 11545
Affected QGIS version: master
Redmine category:symbology


Creating a virtual field for a layer and adding up 2 integer fields from that layer works fine. I get the correct results and I can use the virtual field for styling.

However, when doing a Joins with 2 layers and using a virtual field to add up an integer column from each layer, the results displayed are correct. But QGIS does not recognise the values when styling.

When I try to classify this in the Categorized styling option, for example, no data values are recognised.

Strangely, I am able to export the layer, including the virtual field, as a .csv which outputs all the correct results for the virtual field.

Attached are 2 simple point layers: Layer_A is JOINED with Layer_B, the virtual field is created in Layer_A. The virtual field calculates the Grade of both layers by simple addition.


@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2014

Author Name: Giovanni Manghi (@gioman)


  • subject was changed from Cannot use values of Virtual Fields, calculated from JOINED layers, for rendering style to Categorized/graduated symbology does not work for a virtual field computed using a joined column
  • os_version was changed from 7 Professional to
  • operating_system was changed from Windows to
  • fixed_version_id was changed from Version 2.6 to Version 2.8
  • version was changed from 2.6.0 to master

@qgib
Copy link
Contributor Author

qgib commented May 9, 2015

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 2.8 to Version 2.8.2

@qgib
Copy link
Contributor Author

qgib commented May 9, 2015

Author Name: Jürgen Fischer (@jef-n)


  • fixed_version_id was changed from Version 2.8.2 to Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Jun 9, 2015

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "fa89e292cef8798cf11b3800aec88b3c4e53cde8".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers labels May 25, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant