Distortion of City -Boundary-Polygons proportional to population size in QGIS?












4















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:



https://www.bbsr.bund.de/BBSR/DE/Raumentwicklung/RaumentwicklungDeutschland/Projekte/abgehaengte-regionen/abgehaengte_regionen.html



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.










share|improve this question





























    4















    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:



    https://www.bbsr.bund.de/BBSR/DE/Raumentwicklung/RaumentwicklungDeutschland/Projekte/abgehaengte-regionen/abgehaengte_regionen.html



    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.










    share|improve this question



























      4












      4








      4








      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:



      https://www.bbsr.bund.de/BBSR/DE/Raumentwicklung/RaumentwicklungDeutschland/Projekte/abgehaengte-regionen/abgehaengte_regionen.html



      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.










      share|improve this question
















      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:



      https://www.bbsr.bund.de/BBSR/DE/Raumentwicklung/RaumentwicklungDeutschland/Projekte/abgehaengte-regionen/abgehaengte_regionen.html



      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 22 at 15:11







      Boudy

















      asked Feb 21 at 11:06









      BoudyBoudy

      233




      233






















          1 Answer
          1






          active

          oldest

          votes


















          5














          You need the cartogram3 plugin - once installed simply select your layer and press the button.



          Cartogram of US States over unmodified layer



          You can then style it like any other layer.



          enter image description here






          share|improve this answer
























          • 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











          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%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









          5














          You need the cartogram3 plugin - once installed simply select your layer and press the button.



          Cartogram of US States over unmodified layer



          You can then style it like any other layer.



          enter image description here






          share|improve this answer
























          • 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
















          5














          You need the cartogram3 plugin - once installed simply select your layer and press the button.



          Cartogram of US States over unmodified layer



          You can then style it like any other layer.



          enter image description here






          share|improve this answer
























          • 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














          5












          5








          5







          You need the cartogram3 plugin - once installed simply select your layer and press the button.



          Cartogram of US States over unmodified layer



          You can then style it like any other layer.



          enter image description here






          share|improve this answer













          You need the cartogram3 plugin - once installed simply select your layer and press the button.



          Cartogram of US States over unmodified layer



          You can then style it like any other layer.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 21 at 11:31









          Ian TurtonIan 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



















          • 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


















          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%2f313044%2fdistortion-of-city-boundary-polygons-proportional-to-population-size-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 change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Can I use Tabulator js library in my java Spring + Thymeleaf project?