<p dir="ltr">Hi Julie,<br>
Can you model it using the processing plugin?  This way, you could use the grass module from QGIS and that could automate the process if you need to do it often.  Look in the QGIS documentation for help on the creating a model.</p>
<p dir="ltr">Nicolas Cadieux M.Sc.<br>
Les Entreprises Archéotec inc. <br>
8548, rue Saint-Denis Montréal H2P 2H2<br>
Téléphone: 514.381.5112  Fax: 514.381.4995<br>
www.archeotec.ca</p>
<div class="gmail_quote">On Jul 6, 2015 7:50 AM, "Julie Houge Hansen [via OSGeo.org]       " <<a href="/user/SendEmail.jtp?type=node&node=5214433&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type='attribution'><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        






<div>
<p><span style="color:#1f497d">Hi Kristian</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d">I was hoping I would be able to find a more automatic way of doing this as I have to do it many times… Maybe I have found a solution using the GRASS module r.cost.</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d">Thank you for your help!</span></p>
<p><span style="color:#1f497d"> </span></p>
<div>
<p style="margin-bottom:12pt"><span style="font-size:8pt;color:black">Med venlig hilsen<br />
<br />
</span><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Julie Houge Hansen</span></b><span style="font-size:8pt;color:black"><br />
PhD Student, Inst. of Chemical Eng., Biotechnology and Environmental Tech.</span><span style="color:#1f497d"></span></p>
<table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm"></td><td style="padding:0cm 0cm 0cm 0cm"></td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Tlf.</span><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"></span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="tel:&#43;4565507212"><span style="color:black">+4565507212</span></span><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"></span></p>
</td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Email</span><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"></span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;0">[hidden email]</a></span><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"></span></p>
</td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:8pt;color:black">Addr.</span><span style="color:#1f497d"></span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;color:black">Niels Bohrs Allé 1, DK-5230 Odense M, Denmark</span><span style="color:#1f497d"></span></p>
</td></tr></tbody></table>
<p><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d;display:none"> </span></p>
<table border="0" cellspacing="0" cellpadding="0" width="104%" style="width:104.86%"><tbody><tr><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"><img border="0" width="309" height="44" src="http://osgeo-org.1560.x6.nabble.com/attachment/5214430/0/image001.jpg" alt="Description: C:\Users\CIC\Application Data\Microsoft\Signaturer\sduemaillogoUK.jpg" /></span><span style="color:#1f497d"></span></p>
<div align="center" style="text-align:center"><span style="color:#1f497d">
</span><hr size="2" width="100%" align="center" />
</div>
</td></tr></tbody></table>
<p><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Campusvej 55 · 5230 Odense M · Tlf. 6550 1000 ·
</span></b><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="https://webmail.sdu.dk/owa/redir.aspx?C&#61;866ea63d2ed24495a0928ea339532b2a&amp;URL&#61;http%3a%2f%2fwww.sdu.dk%2f"><span style="color:black">www.sdu.dk</span></a></span></b><span style="color:#1f497d"></span></p>
</div>
<p><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1pt;padding:3pt 0cm 0cm 0cm">
<p><b><span style="font-size:10pt;font-family:'tahoma' ,">Fra:</span></b><span style="font-size:10pt;font-family:'tahoma' ,"> <a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;1">[hidden email]</a> [mailto:<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;2">[hidden email]</a>]
<b>På vegne af </b>Kristian Evers<br />
<b>Sendt:</b> 3. juli 2015 14:46<br />
<b>Til:</b> <a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;3">[hidden email]</a><br />
<b>Emne:</b> Re: [Qgis-user] Vacuuming a vector polygon layer with a point layer in QGIS 2.8.2 (windows)</span></p>
</div>
</div>
<p> </p>
<p><span style="color:#1f497d">Hi Julie.</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d">You need to define a surrounding area for each of the biogas plants. I suggest you base the surrounding areas on the polygons you already have, so that each plant has a polygon that is a union of
 several surrounding biogas-potential polygons. How to do this is up to you. </span>
</p>
<p><span style="color:#1f497d">Hereafter you can select all potential-polygons that intersect the plant-polygons and sum up the potentials within each of the  plant-polygons.</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d">I hope that was enough to bring you on the right track.</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d">Kristian</span></p>
<p><span style="color:#1f497d"> </span></p>
<p><span style="color:#1f497d"> </span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1pt;padding:3pt 0cm 0cm 0cm">
<p><b><span style="font-size:10pt;font-family:'tahoma' ,">Fra:</span></b><span style="font-size:10pt;font-family:'tahoma' ,">
<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;4">[hidden email]</a> [<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;5">[hidden email]</a>]
<b>På vegne af </b>Julie Houge Hansen<br />
<b>Sendt:</b> fredag 03. juli 2015 13:35<br />
<b>Til:</b> <a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;6">[hidden email]</a><br />
<b>Emne:</b> [Qgis-user] Vacuuming a vector polygon layer with a point layer in QGIS 2.8.2 (windows)</span></p>
</div>
</div>
<p> </p>
<p>Dear all</p>
<p> </p>
<p>I have tried asking my local QGIS expert but unfortunately she is for once not able to help me. I hope someone can.</p>
<p> </p>
<p style="text-indent:-18pt">-<span style="font:7pt 'times new roman'">         
</span>I have a vector polygon layer that contains data for the amount of biogas potentially available in a polygon  - unit is m3/ha/year. The polygons are of varying size.
</p>
<p style="text-indent:-18pt">-<span style="font:7pt 'times new roman'">         
</span>I have another vector point layer with data for the amount of biogas already produced on specific biogas plants – unit in m3/year.
</p>
<p style="text-indent:-18pt">-<span style="font:7pt 'times new roman'">         
</span>I would like to combine the two layers so that I “vacuum” the area surrounding the biogas plants for biogas potential. This will reveal where there are still areas with sufficient biomass available for a new biogas plant to be
 build. </p>
<p> </p>
<p>I have no clue how to do this calculation but I think it should be possible. Can anyone help me out?</p>
<p> </p>
<p>The overview I have of my data now looks like this: 
</p>
<p><img border="0" width="478" height="441" src="http://osgeo-org.1560.x6.nabble.com/attachment/5214430/1/image002.jpg" /></p>
<p> </p>
<p>The size of the shown point data is <b>independent</b> on the polygon layer. I would like it to be
<b>dependent</b> on the biogas potential available (in the polygon layer). I would like the size of the points to reflect how far you would have to drive (radius to the biogas plant) in order to get all the biomass needed to produce the biogas you intend to.
</p>
<p> </p>
<p>I am using QGIS version 2.8.2 64 bit with Windows. 
</p>
<p> </p>
<p style="margin-bottom:12pt"><span style="font-size:8pt;color:black">Best regards<br />
<br />
</span><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Julie Houge Hansen</span></b><span style="font-size:8pt;color:black"><br />
PhD Student, Inst. of Chemical Eng., Biotechnology and Environmental Tech.</span></p>
<table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm"></td><td style="padding:0cm 0cm 0cm 0cm"></td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Tlf.</span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="tel:&#43;4565507212"><span style="color:black">+4565507212</span></span></p>
</td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Email</span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;7">[hidden email]</a></span></p>
</td></tr><tr><td width="40" style="width:30pt;padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:8pt;color:black">Addr.</span></p>
</td><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:7.5pt;color:black">Niels Bohrs Allé 1, DK-5230 Odense M, Denmark</span></p>
</td></tr></tbody></table>
<p><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"> </span></p>
<table border="0" cellspacing="0" cellpadding="0" width="104%" style="width:104.86%"><tbody><tr><td style="padding:0cm 0cm 0cm 0cm">
<p><span style="font-size:12pt;font-family:'times new roman' , 'serif';color:#1f497d"><img border="0" width="309" height="44" src="http://osgeo-org.1560.x6.nabble.com/attachment/5214430/0/image001.jpg" alt="Description: C:\Users\CIC\Application Data\Microsoft\Signaturer\sduemaillogoUK.jpg" /></span></p>
<div align="center" style="text-align:center"><span style="color:#1f497d">
</span><hr size="2" width="100%" align="center" />
</div>
</td></tr></tbody></table>
<p><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black">Campusvej 55 · 5230 Odense M · Tlf. 6550 1000 ·
</span></b><b><span style="font-size:7.5pt;font-family:'verdana' ,;color:black"><a href="https://webmail.sdu.dk/owa/redir.aspx?C&#61;866ea63d2ed24495a0928ea339532b2a&amp;URL&#61;http%3a%2f%2fwww.sdu.dk%2f"><span style="color:black">www.sdu.dk</span></a></span></b></p>
<p> </p>
<p> </p>
</div>


<br />_______________________________________________
<br />Qgis-user mailing list
<br /><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5214430&amp;i&#61;8">[hidden email]</a>
<br /><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br />
        <br />
        <hr noshade="noshade" size="1" />
        <div style="color:#444;font:12px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Vacuuming-a-vector-polygon-layer-with-a-point-layer-in-QGIS-2-8-2-windows-tp5214189p5214430.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Vacuuming-a-vector-polygon-layer-with-a-point-layer-in-QGIS-2-8-2-windows-tp5214189p5214430.html</a>
        </div>
        <div style="color:#666;font:11px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif;margin-top:0.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com <br />
                To unsubscribe from Quantum GIS - User, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61;">click here</a>.<br />
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif">NAML</a>
        </div></blockquote></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Vacuuming-a-vector-polygon-layer-with-a-point-layer-in-QGIS-2-8-2-windows-tp5214189p5214433.html">Re: Vacuuming a vector polygon layer with a point layer in QGIS 2.8.2 (windows)</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>