Apply a different color ramp to subset of categorized symbols in QGIS?Invert Color Ramp in QGISQGIS Hexbin Color Ramp InversionDistinctly color world map by language in QGIS 2.4ArcGIS - Lines with different symbols and the same color rampColor Ramp in QGISControlling how Preset Color Ramps are applied to layers in ArcMap using ArcPy?Apply color ramp to marker outlineQGIS Color Ramp ApplyHow to make dynamic labeling in a project for new features on QGIS?2-color color ramp in QGIS

Combinatorics problem, right solution?

Why is the underscore command _ useful?

What *exactly* is electrical current, voltage, and resistance?

Is there a word for the censored part of a video?

Should the Product Owner dictate what info the UI needs to display?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Older movie/show about humans on derelict alien warship which refuels by passing through a star

How bug prioritization works in agile projects vs non agile

Apply a different color ramp to subset of categorized symbols in QGIS?

Nails holding drywall

Drawing a german abacus as in the books of Adam Ries

Check if a string is entirely made of the same substring

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

All ASCII characters with a given bit count

Complex numbers z=-3-4i polar form

What was Apollo 13's "Little Jolt" after MECO?

Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Does the damage from the Absorb Elements spell apply to your next attack, or to your first attack on your next turn?

"The cow" OR "a cow" OR "cows" in this context

Retract an already submitted recommendation letter (written for an undergrad student)

Island of Knights, Knaves and Spies

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Why do distances seem to matter in the Foundation world?



Apply a different color ramp to subset of categorized symbols in QGIS?


Invert Color Ramp in QGISQGIS Hexbin Color Ramp InversionDistinctly color world map by language in QGIS 2.4ArcGIS - Lines with different symbols and the same color rampColor Ramp in QGISControlling how Preset Color Ramps are applied to layers in ArcMap using ArcPy?Apply color ramp to marker outlineQGIS Color Ramp ApplyHow to make dynamic labeling in a project for new features on QGIS?2-color color ramp in QGIS






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















The goal is applying a color gradient to a subset of symbols, instead of applying it to all the existing symbols. I used to do this in ArcMap. In QGIS I have to do it manually, and it's very time consuming. Also, the results are not as beautiful, because I am not as good in choosing right colors.



This is the final result of doing individual ramps for each symbol group or subset:



This is the final result of doing individual ramps for each symbol group or subset



And this is the styled map:



And this is the styled map










share|improve this question









New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    8 hours ago

















3















The goal is applying a color gradient to a subset of symbols, instead of applying it to all the existing symbols. I used to do this in ArcMap. In QGIS I have to do it manually, and it's very time consuming. Also, the results are not as beautiful, because I am not as good in choosing right colors.



This is the final result of doing individual ramps for each symbol group or subset:



This is the final result of doing individual ramps for each symbol group or subset



And this is the styled map:



And this is the styled map










share|improve this question









New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    8 hours ago













3












3








3








The goal is applying a color gradient to a subset of symbols, instead of applying it to all the existing symbols. I used to do this in ArcMap. In QGIS I have to do it manually, and it's very time consuming. Also, the results are not as beautiful, because I am not as good in choosing right colors.



This is the final result of doing individual ramps for each symbol group or subset:



This is the final result of doing individual ramps for each symbol group or subset



And this is the styled map:



And this is the styled map










share|improve this question









New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












The goal is applying a color gradient to a subset of symbols, instead of applying it to all the existing symbols. I used to do this in ArcMap. In QGIS I have to do it manually, and it's very time consuming. Also, the results are not as beautiful, because I am not as good in choosing right colors.



This is the final result of doing individual ramps for each symbol group or subset:



This is the final result of doing individual ramps for each symbol group or subset



And this is the styled map:



And this is the styled map







qgis color-ramp






share|improve this question









New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 5 hours ago









csk

10.3k1235




10.3k1235






New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 8 hours ago









Santiago Restrepo C.Santiago Restrepo C.

162




162




New contributor




Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Santiago Restrepo C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    8 hours ago

















  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    8 hours ago
















Thanks a million csk!! great answer!

– Santiago Restrepo C.
8 hours ago





Thanks a million csk!! great answer!

– Santiago Restrepo C.
8 hours ago










1 Answer
1






active

oldest

votes


















6














  1. Select the categories you want to apply the first color ramp to. Right click > merge categories.
    enter image description here

  2. Repeat step 1 for each group.

  3. Convert the layer from Categorized to Rule-based style. This will automatically convert each grouped category into a rule with an expression like "type" IN ('type 1','type 2','type 3','type 4','type 5').

  4. Select one of the rules > Refine selected rules > Add categories to rule
    enter image description here


  5. Set up categories for this group and apply the desired color ramp. Note that when you click "classify", categories will be created for all attribute values, including ones outside the group. You'll need to manually remove the extra categories.



    enter image description here



  6. Repeat step 5 for each rule.


  7. Now you have several main rules with categorized rules nested underneath each rule. Turn off the symbol for each of the main rules, so that only the color ramp styles remain.



    enter image description here



enter image description here






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "79"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Santiago Restrepo C. is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f320858%2fapply-a-different-color-ramp-to-subset-of-categorized-symbols-in-qgis%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    1. Select the categories you want to apply the first color ramp to. Right click > merge categories.
      enter image description here

    2. Repeat step 1 for each group.

    3. Convert the layer from Categorized to Rule-based style. This will automatically convert each grouped category into a rule with an expression like "type" IN ('type 1','type 2','type 3','type 4','type 5').

    4. Select one of the rules > Refine selected rules > Add categories to rule
      enter image description here


    5. Set up categories for this group and apply the desired color ramp. Note that when you click "classify", categories will be created for all attribute values, including ones outside the group. You'll need to manually remove the extra categories.



      enter image description here



    6. Repeat step 5 for each rule.


    7. Now you have several main rules with categorized rules nested underneath each rule. Turn off the symbol for each of the main rules, so that only the color ramp styles remain.



      enter image description here



    enter image description here






    share|improve this answer



























      6














      1. Select the categories you want to apply the first color ramp to. Right click > merge categories.
        enter image description here

      2. Repeat step 1 for each group.

      3. Convert the layer from Categorized to Rule-based style. This will automatically convert each grouped category into a rule with an expression like "type" IN ('type 1','type 2','type 3','type 4','type 5').

      4. Select one of the rules > Refine selected rules > Add categories to rule
        enter image description here


      5. Set up categories for this group and apply the desired color ramp. Note that when you click "classify", categories will be created for all attribute values, including ones outside the group. You'll need to manually remove the extra categories.



        enter image description here



      6. Repeat step 5 for each rule.


      7. Now you have several main rules with categorized rules nested underneath each rule. Turn off the symbol for each of the main rules, so that only the color ramp styles remain.



        enter image description here



      enter image description here






      share|improve this answer

























        6












        6








        6







        1. Select the categories you want to apply the first color ramp to. Right click > merge categories.
          enter image description here

        2. Repeat step 1 for each group.

        3. Convert the layer from Categorized to Rule-based style. This will automatically convert each grouped category into a rule with an expression like "type" IN ('type 1','type 2','type 3','type 4','type 5').

        4. Select one of the rules > Refine selected rules > Add categories to rule
          enter image description here


        5. Set up categories for this group and apply the desired color ramp. Note that when you click "classify", categories will be created for all attribute values, including ones outside the group. You'll need to manually remove the extra categories.



          enter image description here



        6. Repeat step 5 for each rule.


        7. Now you have several main rules with categorized rules nested underneath each rule. Turn off the symbol for each of the main rules, so that only the color ramp styles remain.



          enter image description here



        enter image description here






        share|improve this answer













        1. Select the categories you want to apply the first color ramp to. Right click > merge categories.
          enter image description here

        2. Repeat step 1 for each group.

        3. Convert the layer from Categorized to Rule-based style. This will automatically convert each grouped category into a rule with an expression like "type" IN ('type 1','type 2','type 3','type 4','type 5').

        4. Select one of the rules > Refine selected rules > Add categories to rule
          enter image description here


        5. Set up categories for this group and apply the desired color ramp. Note that when you click "classify", categories will be created for all attribute values, including ones outside the group. You'll need to manually remove the extra categories.



          enter image description here



        6. Repeat step 5 for each rule.


        7. Now you have several main rules with categorized rules nested underneath each rule. Turn off the symbol for each of the main rules, so that only the color ramp styles remain.



          enter image description here



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 8 hours ago









        cskcsk

        10.3k1235




        10.3k1235




















            Santiago Restrepo C. is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Santiago Restrepo C. is a new contributor. Be nice, and check out our Code of Conduct.












            Santiago Restrepo C. is a new contributor. Be nice, and check out our Code of Conduct.











            Santiago Restrepo C. is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f320858%2fapply-a-different-color-ramp-to-subset-of-categorized-symbols-in-qgis%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...