Create Clusters based on attibute and proximitycreating clusters of point dataClustering features based on...

Is it possible to run Internet Explorer on OS X El Capitan?

Does a druid starting with a bow start with no arrows?

How do I write bicross product symbols in latex?

What's the difference between 'rename' and 'mv'?

Why do bosons tend to occupy the same state?

Why is Collection not simply treated as Collection<?>

Should I tell management that I intend to leave due to bad software development practices?

Forgetting the musical notes while performing in concert

How could indestructible materials be used in power generation?

Twin primes whose sum is a cube

What to put in ESTA if staying in US for a few days before going on to Canada

Will google still index a page if I use a $_SESSION variable?

What is going on with Captain Marvel's blood colour?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Can a rocket refuel on Mars from water?

Brothers & sisters

Took a trip to a parallel universe, need help deciphering

What is a clear way to write a bar that has an extra beat?

Can one be a co-translator of a book, if he does not know the language that the book is translated into?

Where does SFDX store details about scratch orgs?

What exploit are these user agents trying to use?

How to model explosives?

Can I ask the recruiters in my resume to put the reason why I am rejected?



Create Clusters based on attibute and proximity


creating clusters of point dataClustering features based on their proximity?openlayers cluster strategy - exhibiting custom icons for clusters of 1 featureGenerate clusters of X points within N metersCreating clusters with same number of points in each in CartoDBcreating clusters of points with same attributesClustering points/polygons based on proximity (within specifed distance) using QGIS?How to cluster points based only on locationFind number of weighted point clusters & centre of clustersClustering based on eqaul populations






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















In my map as you see below, I have my population by district.



I want to create 50 clusters with similiar sums of population and by proximity.



How i can achieve this. For each cluster, I want the districts are next to each others (As you can see in yellow in the picture).
enter image description here










share|improve this question





























    0















    In my map as you see below, I have my population by district.



    I want to create 50 clusters with similiar sums of population and by proximity.



    How i can achieve this. For each cluster, I want the districts are next to each others (As you can see in yellow in the picture).
    enter image description here










    share|improve this question

























      0












      0








      0








      In my map as you see below, I have my population by district.



      I want to create 50 clusters with similiar sums of population and by proximity.



      How i can achieve this. For each cluster, I want the districts are next to each others (As you can see in yellow in the picture).
      enter image description here










      share|improve this question














      In my map as you see below, I have my population by district.



      I want to create 50 clusters with similiar sums of population and by proximity.



      How i can achieve this. For each cluster, I want the districts are next to each others (As you can see in yellow in the picture).
      enter image description here







      qgis clustering spatial-cluster






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      Simon GISSimon GIS

      437




      437






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Not a full-fledged answer, but:




          1. Build an adjacency matrix of your polygons, to know which is adjacent to which. This may be done either through the R provide scripts, or Python, as far as I know there is no current implementation built in QGIS;

          2. Search via breadth-first search for the neighbours, and keep on checking whether you got to the population required.


          You will need tweaks - you do not say if the population is given by a constant, or determined as a fraction of the overall population.





          share
























            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%2f317860%2fcreate-clusters-based-on-attibute-and-proximity%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









            0














            Not a full-fledged answer, but:




            1. Build an adjacency matrix of your polygons, to know which is adjacent to which. This may be done either through the R provide scripts, or Python, as far as I know there is no current implementation built in QGIS;

            2. Search via breadth-first search for the neighbours, and keep on checking whether you got to the population required.


            You will need tweaks - you do not say if the population is given by a constant, or determined as a fraction of the overall population.





            share




























              0














              Not a full-fledged answer, but:




              1. Build an adjacency matrix of your polygons, to know which is adjacent to which. This may be done either through the R provide scripts, or Python, as far as I know there is no current implementation built in QGIS;

              2. Search via breadth-first search for the neighbours, and keep on checking whether you got to the population required.


              You will need tweaks - you do not say if the population is given by a constant, or determined as a fraction of the overall population.





              share


























                0












                0








                0







                Not a full-fledged answer, but:




                1. Build an adjacency matrix of your polygons, to know which is adjacent to which. This may be done either through the R provide scripts, or Python, as far as I know there is no current implementation built in QGIS;

                2. Search via breadth-first search for the neighbours, and keep on checking whether you got to the population required.


                You will need tweaks - you do not say if the population is given by a constant, or determined as a fraction of the overall population.





                share













                Not a full-fledged answer, but:




                1. Build an adjacency matrix of your polygons, to know which is adjacent to which. This may be done either through the R provide scripts, or Python, as far as I know there is no current implementation built in QGIS;

                2. Search via breadth-first search for the neighbours, and keep on checking whether you got to the population required.


                You will need tweaks - you do not say if the population is given by a constant, or determined as a fraction of the overall population.






                share











                share


                share










                answered 33 secs ago









                MartinTMartinT

                38919




                38919






























                    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%2f317860%2fcreate-clusters-based-on-attibute-and-proximity%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

                    Щит и меч (фильм) Содержание Названия серий | Сюжет |...

                    is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

                    Meter-Bus Содержание Параметры шины | Стандартизация |...