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

let the user select the color ramp extreme colors #12171

Closed
qgib opened this issue Nov 18, 2009 · 10 comments
Closed

let the user select the color ramp extreme colors #12171

qgib opened this issue Nov 18, 2009 · 10 comments
Labels
Feature Request Symbology Related to vector layer symbology or renderers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Nov 18, 2009

Author Name: Giovanni Allegri (@giohappy)
Original Redmine Issue: 2111

Redmine category:symbology
Assignee: nobody -


It would usefull (and I suppose it shouldn't be difficult) to let the user choose the color ramp extreme values, instead of having a hard coded red-green gradient.
I imagine two color selectors to pick the two colors before the creation of the ramp.

In qgis/src/app/qgsgraduatedsymboldialog.cpp, at line 314, there's a TODO note:

"// todo: These color ramps should come from a dropdown list"

These would be both very useful enhancements...


@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Manghi (@gioman)


As far as I know is already possible: try add a color ramp of type "gradient" trough the style manager. Please reopen if I misunderstand the problem.


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

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Allegri (@giohappy)


thanks for answering.
ok, I'm aware there's a style manager to do that, but how is it connected to the properties/symbology dialog? How can a user select the newly created ramp to be used with graduated symbolos?

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Manghi (@gioman)


hi,

using trunk, with the new symbology framework enabled, I see no problems using custom graduated ramps when doing a graduated symbology. Maybe I am missing something?

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Allegri (@giohappy)


Ops, I didn't know it was so fresh in trunk. I have the revision 12167, on Windows, and my graduated symbol interface appears as in the image I attach...
So, I suppose there's something new/different in trunk now respect to the latest qgis-dev in osgeo4w...

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Manghi (@gioman)


this seems to me the old symbology framework. You have to enable the new one in the qgis options.

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Allegri (@giohappy)


I had checked "Use new generation symbology for rendering", but I coudn't see differences. Maybe it isn't working for windows yet...

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Manghi (@gioman)


after enabling the new symbology it works only for newly added vectors, not for the ones already in your project

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Allegri (@giohappy)


I was just writing you back. I've tried to do it, close and reopen the shapefile... but qgis crashes if the new simbology is set.
I will open a ticket addressed to the osgeo4w mantainers :)

@qgib
Copy link
Contributor Author

qgib commented Nov 18, 2009

Author Name: Giovanni Manghi (@gioman)


do you have the qgis2google plugin enabled? I found that it interferes with thr new symbology when you try add a vector.

@qgib
Copy link
Contributor Author

qgib commented Nov 19, 2009

Author Name: Giovanni Allegri (@giohappy)


I were gone to bed :)
Great! Removing the google plugin solved the crashes, and now I can see the new symbology interface. But now I don't understand how to use my color ramps (created inside the style manager), as they don't appear in the color ramp combo.

@qgib qgib added Feature Request Symbology Related to vector layer symbology or renderers labels May 24, 2019
@qgib qgib added this to the Version 1.4.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
Feature Request Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant