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

Agena docking and RCS Brakes in First Man

Would you use "llamarse" for an animal's name?

Snap victim memorial reference in Avengers: Endgame

Dangerous workplace travelling

Why would a military not separate its forces into different branches?

Gerrymandering Puzzle - Rig the Election

Is an HNN extension of a virtually torsion-free group virtually torsion-free?

Is there precedent or are there procedures for a US president refusing to concede to an electoral defeat?

Can muons decay into quarks?

Why did the Apollo 13 crew extend the LM landing gear?

How can internet speed be 10 times slower without a router than when using a router?

Typeset year in old-style numbers with biblatex

Would a small hole in a Faraday cage drastically reduce its effectiveness at blocking interference?

What do "Sech" and "Vich" mean in this sentence?

It is as simple as ABC

Can there be a single technologically advanced nation, in a continent full of non-technologically advanced nations?

Python 3 - simple temperature program

Should I simplify my writing in a foreign country?

Indentation Tex

Prove that a definite integral is an infinite sum

How can I get people to remember my character's gender?

How does summation index shifting work?

Are pressure-treated posts that have been submerged for a few days ruined?

What was Bran's plan to kill the Night King?



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;








8















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
























  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    Apr 25 at 16:52











  • Please accept csk's answer if it solved your problem

    – underdark
    Apr 26 at 20:40

















8















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
























  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    Apr 25 at 16:52











  • Please accept csk's answer if it solved your problem

    – underdark
    Apr 26 at 20:40













8












8








8


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
















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















share|improve this question













share|improve this question




share|improve this question








edited Apr 25 at 19:19









csk

10.7k1236




10.7k1236










asked Apr 25 at 16:08









Santiago Restrepo C.Santiago Restrepo C.

412




412












  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    Apr 25 at 16:52











  • Please accept csk's answer if it solved your problem

    – underdark
    Apr 26 at 20:40

















  • Thanks a million csk!! great answer!

    – Santiago Restrepo C.
    Apr 25 at 16:52











  • Please accept csk's answer if it solved your problem

    – underdark
    Apr 26 at 20:40
















Thanks a million csk!! great answer!

– Santiago Restrepo C.
Apr 25 at 16:52





Thanks a million csk!! great answer!

– Santiago Restrepo C.
Apr 25 at 16:52













Please accept csk's answer if it solved your problem

– underdark
Apr 26 at 20:40





Please accept csk's answer if it solved your problem

– underdark
Apr 26 at 20:40










1 Answer
1






active

oldest

votes


















12














  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
    );



    );













    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









    12














    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



























      12














      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

























        12












        12








        12







        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 Apr 25 at 16:44









        cskcsk

        10.7k1236




        10.7k1236



























            draft saved

            draft discarded
















































            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

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos