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

Unique Value classification: problems with symbology of features #11451

Closed
qgib opened this issue Nov 11, 2008 · 4 comments
Closed

Unique Value classification: problems with symbology of features #11451

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

Comments

@qgib
Copy link
Contributor

qgib commented Nov 11, 2008

Author Name: pls - (pls -)
Original Redmine Issue: 1391

Redmine category:symbology
Assignee: nobody -


Hello!
In the vector layer properties dialog it is possible to change the values of the attributes I chose for a Unique Value classification; this is particularly useful if you have non-meaningful values names in the attribute field used for the classification. The problem is, when the modification is applied to the layer, all the points pertaining to the modified value's class disappear from the layer.


@qgib
Copy link
Contributor Author

qgib commented Jul 10, 2009

Author Name: Giovanni Manghi (@gioman)


I confirm this with qgis 1.2 from trunk under both Ubuntu 9.04 and Win XP. Tested with both shapefiles and postgis layers.

To more precise:

*) with points -> the point disappear

*) with lines -> the line "loses" the style options (colour included) and in the map canvas is rendered with a standard width (0.26?) and colour (seems blue to me).

*) with polygons -> the outline and the fill colour/style "lose" the style options and in the map canvas is rendered with a standard outline width (0.26?), outline colour (black?) and fill colour (purple?).

As in the first case features are deleted from the map canvas I would say that this bug causes data corruption. Change the priority if you feel that is too exaggerated.

@qgib
Copy link
Contributor Author

qgib commented Jul 10, 2009

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


Replying to "pls":/issues/show/1391:

In the vector layer properties dialog it is possible to change the values of the attributes I chose for a Unique Value classification; this is particularly useful if you have non-meaningful values names in the attribute field used for the classification. The problem is, when the modification is applied to the layer, all the points pertaining to the modified value's class disappear from the layer.

You probably edited the attribute values instead of adding a description on the right.

Changing the value means that you want features with the value you enter in the classification field to look like the features with the original value looked like. Moreover you don't loose the class for the original value and therefore those features won't be rendered anymore.

Editing the is meant to add classes that do not yet have features for.

BTW 29450dc (SVN r10987) adds a default class that renders classless features.

I'm not sure if I understood your problem correctly. Feel free to reopen, if I didn't.


  • resolution was changed from to worksforme
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jul 10, 2009

Author Name: Giovanni Manghi (@gioman)


Replying to [comment:2 jef]:

You probably edited the attribute values instead of adding a description on the right.

Changing the value means that you want features with the value you enter in the classification field to look like the features with the original value looked like. Moreover you don't loose the class for the original value and therefore those features won't be rendered anymore.

Editing the is meant to add classes that do not yet have features for.

BTW 29450dc (SVN r10987) adds a default class that renders classless features.

I'm not sure if I understood your problem correctly. Feel free to reopen, if I didn't.

Ok I got it.

But then I have a question.

Have a look to the attached image, it is right what I'm seeing? I mean, is right to see repeated twice in the legend the value of the classification AND the description I give in the "label" field?

@qgib
Copy link
Contributor Author

qgib commented Jul 10, 2009

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


Replying to [comment:3 lutra]:

Have a look to the attached image, it is right what I'm seeing? I mean, is right to see repeated twice in the legend the value of the classification AND the description I give in the "label" field?

Right, the symbol have lower and upper bounds. Obviously that doesn't make to much sense for unique values. Fixed in

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 24, 2019
@qgib qgib added this to the Version 1.2.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant