Apply a different color ramp to subset of categorized symbols in QGIS?Invert Color Ramp in QGISDistinctly 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 ApplyApply color ramp to (QgsSingleSymbolRenderer) Simple marker
Negative feedbacks and "Language smoother"
Can the bass be used instead of drums?
Future of iTunes and audio files in its library
Why are seats at the rear of a plane sometimes unavailable even though many other seats are available in the plane?
Google can't fetch large sitemap with 50k URLs, nor will browsers render it
Does Australia produce unique 'specialty steel'?
Disrespectful employee going above my head and telling me what to do. I am his manager
How can AnyDVD destroy a DVD drive?
I didn't do any exit passport control when leaving Japan. What should I do?
How to execute a project with two resources where you need three resources?
Is it realistic that an advanced species isn't good at war?
Why is CMYK & PNG not possible?
What is this dial on my old film camera for?
Match the blocks
How to handle shared mortgage payment if one person can't pay their share?
Shortest way to get an EOF Error
How much income am I getting by renting my house?
First aid scissors confiscated by Dubai airport security
What are the consequences for downstream actors of redistributing a work under a wider CC license than the copyright holder authorized?
Proofreading a novel: is it okay to use a question mark with an exclamation mark - "?!"
Did smallpox emerge in 1580?
Sum in bash outside while read line
Short story about aliens who tried using the common cold as a weapon
What is the German word for: "It only works when I try to show you how it does not work"?
Apply a different color ramp to subset of categorized symbols in QGIS?
Invert Color Ramp in QGISDistinctly 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 ApplyApply color ramp to (QgsSingleSymbolRenderer) Simple marker
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
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:
And this is the styled map:
qgis color-ramp
add a comment
|
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:
And this is the styled map:
qgis color-ramp
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
add a comment
|
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:
And this is the styled map:
qgis color-ramp
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:
And this is the styled map:
qgis color-ramp
qgis color-ramp
edited Apr 25 at 19:19
csk
15.7k1 gold badge15 silver badges40 bronze badges
15.7k1 gold badge15 silver badges40 bronze badges
asked Apr 25 at 16:08
Santiago Restrepo C.Santiago Restrepo C.
463 bronze badges
463 bronze badges
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
add a comment
|
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
add a comment
|
1 Answer
1
active
oldest
votes
- Select the categories you want to apply the first color ramp to. Right click > merge categories.
- Repeat step 1 for each group.
- 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')
. - Select one of the rules > Refine selected rules > Add categories to rule
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.
- Repeat step 5 for each rule.
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.
add a comment
|
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/4.0/"u003ecc by-sa 4.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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
- Select the categories you want to apply the first color ramp to. Right click > merge categories.
- Repeat step 1 for each group.
- 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')
. - Select one of the rules > Refine selected rules > Add categories to rule
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.
- Repeat step 5 for each rule.
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.
add a comment
|
- Select the categories you want to apply the first color ramp to. Right click > merge categories.
- Repeat step 1 for each group.
- 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')
. - Select one of the rules > Refine selected rules > Add categories to rule
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.
- Repeat step 5 for each rule.
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.
add a comment
|
- Select the categories you want to apply the first color ramp to. Right click > merge categories.
- Repeat step 1 for each group.
- 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')
. - Select one of the rules > Refine selected rules > Add categories to rule
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.
- Repeat step 5 for each rule.
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.
- Select the categories you want to apply the first color ramp to. Right click > merge categories.
- Repeat step 1 for each group.
- 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')
. - Select one of the rules > Refine selected rules > Add categories to rule
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.
- Repeat step 5 for each rule.
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.
answered Apr 25 at 16:44
cskcsk
15.7k1 gold badge15 silver badges40 bronze badges
15.7k1 gold badge15 silver badges40 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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