Bug report #8757
Vector cannot be styled by joined attributes
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Symbology | ||
Affected QGIS version: | 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 #: | 17466 |
Description
Vector layers cannot be styled (categorized, graduated, ...) based on attributes from
joined table. All features are rendered in class with empty value.
Tested with two Shapefiles joined.
Associated revisions
Add join field to provider request also when requesting a subset of attributes
Fixes #8757
History
#1
Updated by Giovanni Manghi almost 11 years ago
- Status changed from Open to Feedback
Hi, I cannot confirm here, try the attached shapefiles: join "join2" to "join1" and use the "code06" column to do the symbology.
#2
Updated by Giovanni Manghi almost 11 years ago
- File mestrado.zip added
#3
Updated by Radim Blazek almost 11 years ago
Thanks for testing.
For me it does not work. Table is OK, identify OK, feature counts for classes in legend are OK but everything is rendered with the color assigned to empty value (NULL).
I tried also to check/uncheck "Cache join layer in virtual memory" and "Create attribute index on join field" but no effect.
Styles based on attributes from base layer are working without problems.
Current master dae9b5d9, GDAL 1.10.1, Debian 7.
#4
Updated by Giovanni Manghi almost 11 years ago
Radim Blazek wrote:
Thanks for testing.
For me it does not work. Table is OK, identify OK, feature counts for classes in legend are OK but everything is rendered with the color assigned to empty value (NULL).
I tried also to check/uncheck "Cache join layer in virtual memory" and "Create attribute index on join field" but no effect.
Styles based on attributes from base layer are working without problems.
Current master dae9b5d9, GDAL 1.10.1, Debian 7.
so for you doesn't work with the data I have attached here?
#5
Updated by Radim Blazek almost 11 years ago
Giovanni Manghi wrote:
so for you doesn't work with the data I have attached here?
No.
#6
Updated by Denis Rouzaud almost 11 years ago
I confirm it does not work, also for rule-based symbologoy.
features not drawn but can be identified!
#7
Updated by Giovanni Manghi almost 11 years ago
- Category changed from Vectors to Symbology
- Status changed from Feedback to Open
- Affected QGIS version changed from 2.0.1 to master
yeah I confirm it, I don't what I have done wrong the first time i tested. Isn't this a regression?
#8
Updated by Matthias Kuhn almost 11 years ago
- Status changed from Open to Closed
Fixed in changeset 5e14fea1b856e4178f545c9a81ce7090240bc06c.