Size-related point in QGIS Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm...
How can I make names more distinctive without making them longer?
Why does Python start at index -1 when indexing a list from the end?
How do I stop a creek from eroding my steep embankment?
What is this single-engine low-wing propeller plane?
How do I keep my slimes from escaping their pens?
Is the address of a local variable a constexpr?
Why are there no cargo aircraft with "flying wing" design?
Is 1 ppb equal to 1 μg/kg?
Gastric acid as a weapon
What do you call a plan that's an alternative plan in case your initial plan fails?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?
What's the difference between `auto x = vector<int>()` and `vector<int> x`?
Should I call the interviewer directly, if HR aren't responding?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Did Kevin spill real chili?
How to bypass password on Windows XP account?
Bonus calculation: Am I making a mountain out of a molehill?
Is the Standard Deduction better than Itemized when both are the same amount?
Should I discuss the type of campaign with my players?
If a contract sometimes uses the wrong name, is it still valid?
Did Xerox really develop the first LAN?
How to find all the available tools in macOS terminal?
Size-related point in QGIS
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Simple Spatial Join of Point Feature to Polygon Target Feature Not So Simple (Source Files Included)Is it possible to add subscripts or superscripts into a legend?How to create an isotype map, where each symbol represents a number (eg. 50) from data in the attribute table?Python stops during band algebra in GDAL calculator within modeler in QGISSubdividing polygons using lines in QGIS?Selecting the closest lines to a point in QGISQGIS Raster map, smoothing pixelsCreate a raster layer that represents the distance from each polygon cell to the closest point in a bufferSetting shapefile points size to actual acerage using QGIS?QGIS distance from a cell center to the nearest point
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in blue, if it's positive I want to have it in red.
Does someone knows how I should do ? It should be like that :
qgis legend
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in blue, if it's positive I want to have it in red.
Does someone knows how I should do ? It should be like that :
qgis legend
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
2
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10
add a comment |
I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in blue, if it's positive I want to have it in red.
Does someone knows how I should do ? It should be like that :
qgis legend
I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in blue, if it's positive I want to have it in red.
Does someone knows how I should do ? It should be like that :
qgis legend
qgis legend
edited Nov 12 '18 at 8:46
ahmadhanb
23.8k32155
23.8k32155
asked Nov 12 '18 at 8:40
mvhmvh
111
111
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
2
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10
add a comment |
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
2
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
2
2
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10
add a comment |
3 Answers
3
active
oldest
votes
If it's point data just set the style to 'Graduated' and then choose/design a colour ramp that fits your specification. Quick and dirty solution for size would be to manually change the point size for the graduation brackets one at a time.
But as the comment suggests, its hard to advise without more information on your dataset.
add a comment |
Adding the circles to your legend will be some manual work, but adding them to your map is rather easy.
Open the properties
of your polygon layer and go to the symbology
-tab. Make sure you have single symbols switched on, not classified or else. You will have some symbology for your area already. From a cartographic point of view it is recommended to only use rather thick outline (e.g. 0.7 to 1 mm) but not to fill the area itself - this avoids informational overflow.
Then use the green plus to add another style and switch this one to centered
- this adds a point to the center of your polygons. Go to the menu which allows you to adapt the marker as much as possible, then click on the rectangular button (with the two triangles) to the far right next to the size
row. There you may choose a column on which to base the size of your point, e.g. your population data. In the next step you need to do some fiddling with how you symbolise it exactly, e.g. multiply or divide your data by some factor, and choose the right units for you points (e.g. you could use pixels as units and base the point-size on "population-column"/1000
).
As for the colour of the points, this is rather tricky. I couldn't choose the colour based on a conditional clause, therefore you go back to the marker size and expand the formula to if("population-column">0,"population-column"/1000,0)
. This leaves all markers for population changes below zero invisible. Choose e.g. green as a colour for these markers. Then add another marker, use if("population-column"<0,"population-column"/1000,0)
as formula and choose e.g. red.
If you feel really stylish today, you could choose a triangle instead of a circle for your marker - and let it point up or down, based on the development of the population in each area. Formula for this is similar to the ones above: if("population-column"<0,180,0)
. Enter this via edit
next to the rotation
row.
Here's an image for your orientation (sorry for the wrong language).
Another word of cartographic warning: If your data is quite diverse, ranging from say 1,000 to 1,000,000, you should rather choose classified symbology
, otherwise you end up with almost invisible points next to ones filling the whole screen.
add a comment |
There is also a possibility to achieve the desired output with a QGIS plugin Proportional circles.
Proportional symbols are used for showing a quantity, for example the
population of cities or countries. This plugin generates layers of
proportional circles or sectors as a rose diagram and a legend. It is
also possible to generate a legend without an analysis. Requires
Memory layer Saver to save the memory layers.
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/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
});
}
});
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%2f302256%2fsize-related-point-in-qgis%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
If it's point data just set the style to 'Graduated' and then choose/design a colour ramp that fits your specification. Quick and dirty solution for size would be to manually change the point size for the graduation brackets one at a time.
But as the comment suggests, its hard to advise without more information on your dataset.
add a comment |
If it's point data just set the style to 'Graduated' and then choose/design a colour ramp that fits your specification. Quick and dirty solution for size would be to manually change the point size for the graduation brackets one at a time.
But as the comment suggests, its hard to advise without more information on your dataset.
add a comment |
If it's point data just set the style to 'Graduated' and then choose/design a colour ramp that fits your specification. Quick and dirty solution for size would be to manually change the point size for the graduation brackets one at a time.
But as the comment suggests, its hard to advise without more information on your dataset.
If it's point data just set the style to 'Graduated' and then choose/design a colour ramp that fits your specification. Quick and dirty solution for size would be to manually change the point size for the graduation brackets one at a time.
But as the comment suggests, its hard to advise without more information on your dataset.
answered Nov 12 '18 at 10:22
Dave CDave C
848
848
add a comment |
add a comment |
Adding the circles to your legend will be some manual work, but adding them to your map is rather easy.
Open the properties
of your polygon layer and go to the symbology
-tab. Make sure you have single symbols switched on, not classified or else. You will have some symbology for your area already. From a cartographic point of view it is recommended to only use rather thick outline (e.g. 0.7 to 1 mm) but not to fill the area itself - this avoids informational overflow.
Then use the green plus to add another style and switch this one to centered
- this adds a point to the center of your polygons. Go to the menu which allows you to adapt the marker as much as possible, then click on the rectangular button (with the two triangles) to the far right next to the size
row. There you may choose a column on which to base the size of your point, e.g. your population data. In the next step you need to do some fiddling with how you symbolise it exactly, e.g. multiply or divide your data by some factor, and choose the right units for you points (e.g. you could use pixels as units and base the point-size on "population-column"/1000
).
As for the colour of the points, this is rather tricky. I couldn't choose the colour based on a conditional clause, therefore you go back to the marker size and expand the formula to if("population-column">0,"population-column"/1000,0)
. This leaves all markers for population changes below zero invisible. Choose e.g. green as a colour for these markers. Then add another marker, use if("population-column"<0,"population-column"/1000,0)
as formula and choose e.g. red.
If you feel really stylish today, you could choose a triangle instead of a circle for your marker - and let it point up or down, based on the development of the population in each area. Formula for this is similar to the ones above: if("population-column"<0,180,0)
. Enter this via edit
next to the rotation
row.
Here's an image for your orientation (sorry for the wrong language).
Another word of cartographic warning: If your data is quite diverse, ranging from say 1,000 to 1,000,000, you should rather choose classified symbology
, otherwise you end up with almost invisible points next to ones filling the whole screen.
add a comment |
Adding the circles to your legend will be some manual work, but adding them to your map is rather easy.
Open the properties
of your polygon layer and go to the symbology
-tab. Make sure you have single symbols switched on, not classified or else. You will have some symbology for your area already. From a cartographic point of view it is recommended to only use rather thick outline (e.g. 0.7 to 1 mm) but not to fill the area itself - this avoids informational overflow.
Then use the green plus to add another style and switch this one to centered
- this adds a point to the center of your polygons. Go to the menu which allows you to adapt the marker as much as possible, then click on the rectangular button (with the two triangles) to the far right next to the size
row. There you may choose a column on which to base the size of your point, e.g. your population data. In the next step you need to do some fiddling with how you symbolise it exactly, e.g. multiply or divide your data by some factor, and choose the right units for you points (e.g. you could use pixels as units and base the point-size on "population-column"/1000
).
As for the colour of the points, this is rather tricky. I couldn't choose the colour based on a conditional clause, therefore you go back to the marker size and expand the formula to if("population-column">0,"population-column"/1000,0)
. This leaves all markers for population changes below zero invisible. Choose e.g. green as a colour for these markers. Then add another marker, use if("population-column"<0,"population-column"/1000,0)
as formula and choose e.g. red.
If you feel really stylish today, you could choose a triangle instead of a circle for your marker - and let it point up or down, based on the development of the population in each area. Formula for this is similar to the ones above: if("population-column"<0,180,0)
. Enter this via edit
next to the rotation
row.
Here's an image for your orientation (sorry for the wrong language).
Another word of cartographic warning: If your data is quite diverse, ranging from say 1,000 to 1,000,000, you should rather choose classified symbology
, otherwise you end up with almost invisible points next to ones filling the whole screen.
add a comment |
Adding the circles to your legend will be some manual work, but adding them to your map is rather easy.
Open the properties
of your polygon layer and go to the symbology
-tab. Make sure you have single symbols switched on, not classified or else. You will have some symbology for your area already. From a cartographic point of view it is recommended to only use rather thick outline (e.g. 0.7 to 1 mm) but not to fill the area itself - this avoids informational overflow.
Then use the green plus to add another style and switch this one to centered
- this adds a point to the center of your polygons. Go to the menu which allows you to adapt the marker as much as possible, then click on the rectangular button (with the two triangles) to the far right next to the size
row. There you may choose a column on which to base the size of your point, e.g. your population data. In the next step you need to do some fiddling with how you symbolise it exactly, e.g. multiply or divide your data by some factor, and choose the right units for you points (e.g. you could use pixels as units and base the point-size on "population-column"/1000
).
As for the colour of the points, this is rather tricky. I couldn't choose the colour based on a conditional clause, therefore you go back to the marker size and expand the formula to if("population-column">0,"population-column"/1000,0)
. This leaves all markers for population changes below zero invisible. Choose e.g. green as a colour for these markers. Then add another marker, use if("population-column"<0,"population-column"/1000,0)
as formula and choose e.g. red.
If you feel really stylish today, you could choose a triangle instead of a circle for your marker - and let it point up or down, based on the development of the population in each area. Formula for this is similar to the ones above: if("population-column"<0,180,0)
. Enter this via edit
next to the rotation
row.
Here's an image for your orientation (sorry for the wrong language).
Another word of cartographic warning: If your data is quite diverse, ranging from say 1,000 to 1,000,000, you should rather choose classified symbology
, otherwise you end up with almost invisible points next to ones filling the whole screen.
Adding the circles to your legend will be some manual work, but adding them to your map is rather easy.
Open the properties
of your polygon layer and go to the symbology
-tab. Make sure you have single symbols switched on, not classified or else. You will have some symbology for your area already. From a cartographic point of view it is recommended to only use rather thick outline (e.g. 0.7 to 1 mm) but not to fill the area itself - this avoids informational overflow.
Then use the green plus to add another style and switch this one to centered
- this adds a point to the center of your polygons. Go to the menu which allows you to adapt the marker as much as possible, then click on the rectangular button (with the two triangles) to the far right next to the size
row. There you may choose a column on which to base the size of your point, e.g. your population data. In the next step you need to do some fiddling with how you symbolise it exactly, e.g. multiply or divide your data by some factor, and choose the right units for you points (e.g. you could use pixels as units and base the point-size on "population-column"/1000
).
As for the colour of the points, this is rather tricky. I couldn't choose the colour based on a conditional clause, therefore you go back to the marker size and expand the formula to if("population-column">0,"population-column"/1000,0)
. This leaves all markers for population changes below zero invisible. Choose e.g. green as a colour for these markers. Then add another marker, use if("population-column"<0,"population-column"/1000,0)
as formula and choose e.g. red.
If you feel really stylish today, you could choose a triangle instead of a circle for your marker - and let it point up or down, based on the development of the population in each area. Formula for this is similar to the ones above: if("population-column"<0,180,0)
. Enter this via edit
next to the rotation
row.
Here's an image for your orientation (sorry for the wrong language).
Another word of cartographic warning: If your data is quite diverse, ranging from say 1,000 to 1,000,000, you should rather choose classified symbology
, otherwise you end up with almost invisible points next to ones filling the whole screen.
answered Nov 13 '18 at 10:11
ErikErik
3,446322
3,446322
add a comment |
add a comment |
There is also a possibility to achieve the desired output with a QGIS plugin Proportional circles.
Proportional symbols are used for showing a quantity, for example the
population of cities or countries. This plugin generates layers of
proportional circles or sectors as a rose diagram and a legend. It is
also possible to generate a legend without an analysis. Requires
Memory layer Saver to save the memory layers.
add a comment |
There is also a possibility to achieve the desired output with a QGIS plugin Proportional circles.
Proportional symbols are used for showing a quantity, for example the
population of cities or countries. This plugin generates layers of
proportional circles or sectors as a rose diagram and a legend. It is
also possible to generate a legend without an analysis. Requires
Memory layer Saver to save the memory layers.
add a comment |
There is also a possibility to achieve the desired output with a QGIS plugin Proportional circles.
Proportional symbols are used for showing a quantity, for example the
population of cities or countries. This plugin generates layers of
proportional circles or sectors as a rose diagram and a legend. It is
also possible to generate a legend without an analysis. Requires
Memory layer Saver to save the memory layers.
There is also a possibility to achieve the desired output with a QGIS plugin Proportional circles.
Proportional symbols are used for showing a quantity, for example the
population of cities or countries. This plugin generates layers of
proportional circles or sectors as a rose diagram and a legend. It is
also possible to generate a legend without an analysis. Requires
Memory layer Saver to save the memory layers.
answered Nov 13 '18 at 10:21
TarasTaras
2,3003729
2,3003729
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%2f302256%2fsize-related-point-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
Welcome to GIS.SE. Could you tell us, which kind of data you have (point, polygon) and whether you want this in the print composers legend or in your map itself.
– Erik
Nov 12 '18 at 8:59
Thanks for your help ! I have polygons of municipalities in which I want to put a point describing the relative increase or decrease of population since two years with size related(to the amount)-point in the municipality polygons. The points with on increase sshould be red, the ones with a decrease bleu. And I just want to have 6 points in my legend like the picture above.
– mvh
Nov 12 '18 at 13:36
2
This isn't really technical, but in my mind, red isn't the best color to represent an increase in value. I'd switch the colors, and probably change blue to green.
– Gabriel C.
Nov 12 '18 at 14:16
I think red and blue are fine. Nowadays we learn that red/green is to be avoided because it's hard to see for the colorblind.
– Stefan
Dec 16 '18 at 11:10