Distortion of City -Boundary-Polygons proportional to population size in QGIS?
Is there a way to distort the size of polygons proportional to their population size (as in column in the attribute table)? I want to create a map that looks similar to this:
the cartogram2 plugin works with small datasets, but trying to make the same for all regional units in Germany (around 400) QGIS crashed with this report:
h2. User Feedback
h2. Report Details
Crash ID: a6e72007607c25de38558d32493d43e2f01c1ba4
Stack Trace
PyInit_sip :
PyInit_sip :
PyFrame_New :
PyObject_Call :
PyInit_sip :
PyInit__core :
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyFunction_FastCallDict :
PyObject_CallFunctionObjArgs :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QThread::started :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.2.1-Bonn
QGIS code revision: commit:1edf372fb8
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Update: When trying a different number of iterations than the default (10) in cartogram3 it works! I tried 5, 8 and 15. All gone well.
qgis polygon qgis-3 population cartogram
add a comment |
Is there a way to distort the size of polygons proportional to their population size (as in column in the attribute table)? I want to create a map that looks similar to this:
the cartogram2 plugin works with small datasets, but trying to make the same for all regional units in Germany (around 400) QGIS crashed with this report:
h2. User Feedback
h2. Report Details
Crash ID: a6e72007607c25de38558d32493d43e2f01c1ba4
Stack Trace
PyInit_sip :
PyInit_sip :
PyFrame_New :
PyObject_Call :
PyInit_sip :
PyInit__core :
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyFunction_FastCallDict :
PyObject_CallFunctionObjArgs :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QThread::started :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.2.1-Bonn
QGIS code revision: commit:1edf372fb8
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Update: When trying a different number of iterations than the default (10) in cartogram3 it works! I tried 5, 8 and 15. All gone well.
qgis polygon qgis-3 population cartogram
add a comment |
Is there a way to distort the size of polygons proportional to their population size (as in column in the attribute table)? I want to create a map that looks similar to this:
the cartogram2 plugin works with small datasets, but trying to make the same for all regional units in Germany (around 400) QGIS crashed with this report:
h2. User Feedback
h2. Report Details
Crash ID: a6e72007607c25de38558d32493d43e2f01c1ba4
Stack Trace
PyInit_sip :
PyInit_sip :
PyFrame_New :
PyObject_Call :
PyInit_sip :
PyInit__core :
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyFunction_FastCallDict :
PyObject_CallFunctionObjArgs :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QThread::started :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.2.1-Bonn
QGIS code revision: commit:1edf372fb8
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Update: When trying a different number of iterations than the default (10) in cartogram3 it works! I tried 5, 8 and 15. All gone well.
qgis polygon qgis-3 population cartogram
Is there a way to distort the size of polygons proportional to their population size (as in column in the attribute table)? I want to create a map that looks similar to this:
the cartogram2 plugin works with small datasets, but trying to make the same for all regional units in Germany (around 400) QGIS crashed with this report:
h2. User Feedback
h2. Report Details
Crash ID: a6e72007607c25de38558d32493d43e2f01c1ba4
Stack Trace
PyInit_sip :
PyInit_sip :
PyFrame_New :
PyObject_Call :
PyInit_sip :
PyInit__core :
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyFunction_FastCallDict :
PyObject_CallFunctionObjArgs :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QMetaObject::activate :
QThread::started :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :
QGIS Info
QGIS Version: 3.2.1-Bonn
QGIS code revision: commit:1edf372fb8
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.4
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.17134
Update: When trying a different number of iterations than the default (10) in cartogram3 it works! I tried 5, 8 and 15. All gone well.
qgis polygon qgis-3 population cartogram
qgis polygon qgis-3 population cartogram
edited Feb 22 at 15:11
Boudy
asked Feb 21 at 11:06
BoudyBoudy
233
233
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need the cartogram3
plugin - once installed simply select your layer and press the button.
You can then style it like any other layer.
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
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%2f313044%2fdistortion-of-city-boundary-polygons-proportional-to-population-size-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
You need the cartogram3
plugin - once installed simply select your layer and press the button.
You can then style it like any other layer.
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
add a comment |
You need the cartogram3
plugin - once installed simply select your layer and press the button.
You can then style it like any other layer.
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
add a comment |
You need the cartogram3
plugin - once installed simply select your layer and press the button.
You can then style it like any other layer.
You need the cartogram3
plugin - once installed simply select your layer and press the button.
You can then style it like any other layer.
answered Feb 21 at 11:31
Ian Turton♦Ian Turton
49.3k547114
49.3k547114
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
add a comment |
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
Thank you Ian :) it worked for small datasets, but trying to apply to all regional areas in Germany QGIS keeps crashing
– Boudy
Feb 22 at 11:42
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
you'd need to talk to the plugin devs for that I'm afraid
– Ian Turton♦
Feb 22 at 12:03
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
I will! Thank you alot again!
– Boudy
Feb 22 at 12:10
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%2f313044%2fdistortion-of-city-boundary-polygons-proportional-to-population-size-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