<div dir="ltr"><div>I agree that one layer would be preferable. Using the categorized renderer would make it easy to select and deselect proposals. You can create the classes with  a mix of the name of the munucipality and the bugdet,  that way that is visible directly on the  legend, making it easier to select.</div><div><br></div><div>Then you can use the Statistics panel to show the stats over a column, for example the budget sum.<br></div></div><br><div class="gmail_quote"><div dir="ltr">Jeroen Hovens <<a href="mailto:mail@groenebij.nl">mail@groenebij.nl</a>> escreveu no dia segunda, 18/06/2018 às 11:27:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="NL" link="blue" vlink="purple"><div class="m_3152729978279649588WordSection1"><p class="MsoNormal"><span lang="EN-GB">I have not organized the data yet, that will depend on the pro’s and con’s of idea’s how to use it.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">For now, I am thinking along the following line:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">All municipalities as fields with attributes being whether or not they have a proposal and specific information about the proposal such as budget needed, type of project, etc.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">That would mean 1 layer with all the proposals. That way it seems easier to show the entire map (all municipalities white, just borders, and all municipalities with proposal coloured), so to easily see the spread.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><b>Van:</b> Alexandre Neto <<a href="mailto:senhor.neto@gmail.com" target="_blank">senhor.neto@gmail.com</a>> <br><b>Verzonden:</b> maandag 18 juni 2018 12:03<br><b>Aan:</b> Jeroen Hovens <<a href="mailto:mail@groenebij.nl" target="_blank">mail@groenebij.nl</a>><br><b>CC:</b> <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br><b>Onderwerp:</b> Re: [Qgis-user] Using qgis as realtime decision support tool<u></u><u></u></p></div></div><div lang="NL" link="blue" vlink="purple"><div class="m_3152729978279649588WordSection1"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi,<u></u><u></u></p></div><div><p class="MsoNormal">It's not clear how your data is organized, making it dificult to help in such a specific request. All the porposals are in the same layer, or in diferent layers?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Still, if you put all the proposal layers in mutually exclusive group, it will be easy to swap between proposals.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If they are all in the same layer, you can categorize and in the legend you can select which proposal to show.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="https://docs.qgis.org/testing/en/docs/user_manual/introduction/general_tools.html?highlight=mutually#interact-with-groups-and-layers" target="_blank">https://docs.qgis.org/testing/en/docs/user_manual/introduction/general_tools.html?highlight=mutually#interact-with-groups-and-layers</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You can also create an atlas with the necessary visualizations for each proposal and the calculus of the values you wish to show. But again, it all depends on how you have you data organized.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Jeroen Hovens <<a href="mailto:mail@groenebij.nl" target="_blank">mail@groenebij.nl</a>> escreveu no dia segunda, 18/06/2018 às 10:19:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">I am thinking about using qgis as a real-time decision support tool and I am looking for some good ideas to ease the process.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">The case is the following:</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">I have proposals from 60 municipalities (out of a possible few hundred), each has 1 proposal. There is only room for 20 proposals to be accepted. One of the criteria will be the geographical spread of the proposals: it is preferred to have 20 proposals sort of evenly spread over the entire country, instead of having the majority of them coming from one region.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">My idea is to show these proposals on a map by colouring the municipalities. As a decision support tool I need the ability to adjust the selection in real-time (during the discussion). The easy way is to just edit the attribute table or to select or deselect specific municipalities. This however requires myself to be present and make changes in qgis as the discussion goes (given that nobody else in the decision group knows how to work with qgis).</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">An alternative is to produce a webmap and have each municipality with a proposal have it’s own specific attribute value (but all using the same colour in categorized style), so they all show up in the map-legend, and any group member can easily select or deselect a specific municipality from the legend.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Do you have other ideas how to use a map as a real-time decision support tool?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Quality of the proposal is the main criterium, but in addition to the geographical spread there are others as well, such as variety in projects and the cumulative budget for the selected proposals (the cumulative budget is capped). Since I am not well known with database and calculation options in qgis and how to automatically show the results, I am building an easy to use excel file that will show all this information using precoded calculations, much like a dashboard. Simply selecting and deselecting proposals in an excel interface show you the changes in variety of projects and cumulative budget. This is much easier for the decision team to do themselves, since MS Excel is a well known environment. </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Ideally I get the two connected somehow, so selecting and deselecting proposals will alter the results in both the map as in the excel dashboard. However, altering data in excel doesn’t automatically change the results in a qgis map, because they are not connected in real-time.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Do you have any ideas how to make a real-time connection between MS Excel and a qgis map? Or information on how to use qgis internal capabilities to calculate certain values based on the selection of proposals? However, the last option will probably still need myself to be present to somehow select or deselect the proposals in qgis.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Greetings,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Jeroen</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><u></u><u></u></p></blockquote></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><p class="MsoNormal">Alexandre Neto<u></u><u></u></p></div><div><p class="MsoNormal">---------------------<u></u><u></u></p></div><div><p class="MsoNormal">@AlexNetoGeo<u></u><u></u></p></div><div><p class="MsoNormal"><a href="http://sigsemgrilhetas.wordpress.com" target="_blank">http://sigsemgrilhetas.wordpress.com</a><u></u><u></u></p></div><p class="MsoNormal"><a href="http://gisunchained.wordpress.com" target="_blank">http://gisunchained.wordpress.com</a><u></u><u></u></p></div></div></div></div></blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com">http://sigsemgrilhetas.wordpress.com</a></div><a href="http://gisunchained.wordpress.com">http://gisunchained.wordpress.com</a><br></div></div>