<div dir="auto">Thanks Carolina, great explanation.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Jan 8, 2025, 22:14 Carolina Lang <<a href="mailto:carolina.lang@ifop.cl">carolina.lang@ifop.cl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello everyone,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I’m back with a solution to the issue I posted on December 29th, in case anyone comes across something similar.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The solution was proposed by Chris Hermansen and involves <span style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px">
two steps:</span></div>
<ol start="1">
<li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<div style="margin-top:1em;margin-bottom:1em"><b>Calculate the buffers (circles) around each point.</b></div>
</li><ul>
<li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Use <b>"Processing > SAGA Next Gen > Vector general > Shapes buffer"</b>.</li><li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Set the field <code>APA</code> as the buffer distance and do <b>not check</b> "Dissolve Buffers."</li><li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
This will create a circle around each sampling point.<br>
<br>
<img alt="image.png" width="578" height="303" size="388079" style="width:578px;height:303px;min-width:auto;min-height:auto;margin:0px" src="cid:2e819339-983b-40a0-8664-0b6819199ef9"></li></ul>
</ol>
<div style="background-color:rgb(255,255,255);margin:0px"></div>
<div style="background-color:rgb(255,255,255);margin:0px">
<div style="margin-top:1em;margin-bottom:1em;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<b> 2. Combine the buffers by their <code>file_name</code> to dissolve them.</b></div>
<ol start="1" style="text-align:left">
<ul>
<li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Use <b>"Vector > Geoprocessing Tools > Dissolve"</b>.</li></ul>
</ol>
<ol start="1" style="text-align:left">
<ul>
<li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Set the field <code>file_name</code> as the "Dissolve field."</li></ul>
</ol>
<ol start="1" style="text-align:left">
<ul>
<li style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
This will create a combined buffer for each <code>file_name</code> (e.g., one for
<code>L001_P1TV80</code>, another for <code>L002P2TV80</code>, etc.).</li></ul>
</ol>
<div style="margin-top:1em;margin-bottom:1em;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
The result should look like this: (provide visualization or reference here).</div>
</div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<img alt="image.png" width="578" height="303" size="276348" style="width:578px;height:303px;max-width:1055px;min-width:auto;min-height:auto;margin:0px" src="cid:dd33e704-7c1d-4bb2-8181-d5f15c2d9930"></div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
I also recommend optimizing the process if you have hundreds of files to process by using the
<b><i>Graphical Modeler.</i></b></div>
<div style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Thanks, Chris, for your help!</div>
<div style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Cheers,</div>
<div style="font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
Carolina Lang</div>
<div style="text-align:left;text-indent:0px;background-color:rgb(255,255,255);margin:0px;font-family:"Segoe UI","Segoe UI Web (West European)",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;font-size:15px;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="m_-3524866075790325956Signature">
<table id="m_-3524866075790325956pbpsiglinktable">
<tbody>
<tr>
<td style="width:22px;height:26.2667px"><a href="https://outlook.office.com/bookwithme/user/265ad61a0f124413aa15a929664619b3@ifop.cl?anonymous&ep=bwmEmailSignature" id="m_-3524866075790325956OWA4f60b48f-b82e-cb50-d4f1-f96098582462" target="_blank" rel="noreferrer"><img src="cid:834f8d0e-a3a9-49a5-96cc-e9a5c20422de"></a></td>
<td style="width:2px;height:26.2667px"></td>
<td style="width:194.033px;height:26.2667px"><span style="color:rgb(0,120,212)"><a href="https://outlook.office.com/bookwithme/user/265ad61a0f124413aa15a929664619b3@ifop.cl?anonymous&ep=bwmEmailSignature" id="m_-3524866075790325956OWAeb62b2ac-8a39-a798-69ec-8c80b02629cc" style="color:rgb(0,120,212);text-decoration:none" target="_blank" rel="noreferrer">Book
time to meet with me</a></span></td>
<td style="width:2px;height:26.2667px"></td>
</tr>
</tbody>
</table>
</div>
<div id="m_-3524866075790325956appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-3524866075790325956divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Carolina Lang<br>
<b>Sent:</b> December 29, 2024 9:38 PM<br>
<b>To:</b> <a href="mailto:qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user@lists.osgeo.org</a> <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user@lists.osgeo.org</a>><br>
<b>Subject:</b> Help with Buffer and Category-Specific Geometry Outputs in QGIS</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello everyone,</div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px;color:rgb(0,0,0)">
I'm using QGIS 3.34 and working with the vector-geometry-buffer function on a shapefile containing multiple spatial points, categories (or location type) are represented as a group of these spatial points. For each category, my goal is to calculate the geometries
(perimeter and area) created by the buffers. </div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
While the output result includes these geometries, it does not properly associate them with their respective categories. Instead, for each row in the output, I see the same category listed but with varying perimeters and areas, making it difficult to distinguish
which geometries belong to which category.</div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Example</div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
input file_(here I use column APA_radius as variable distances for buffer)</div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<img id="m_-3524866075790325956x_image_1" width="280" height="141" size="59928" style="width:280.827px;height:141px;max-width:1157px" src="cid:758816fb-ea5b-411d-8cc1-30dc566b1186"></div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
output file_9as you can see geometries for both categories but no idea which geometries belong to which category)</div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<img id="m_-3524866075790325956x_image_0" width="281" height="38" size="17861" style="width:281.724px;height:38px;max-width:1157px" src="cid:c6279fc3-a799-4223-b47d-d5a9d61261e3"></div>
<div style="margin-top:1em;margin-bottom:1em;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Has anyone encountered this issue before? Is there a specific step or method I might be missing to properly link the geometries to their respective categories?</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Cheers & Happy Holydays!!</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Carolang-Chile</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="m_-3524866075790325956x_Signature">
<table id="m_-3524866075790325956x_pbpsiglinktable">
<tbody>
<tr>
<td style="width:22px;height:26.2667px"><a href="https://outlook.office.com/bookwithme/user/265ad61a0f124413aa15a929664619b3@ifop.cl?anonymous&ep=bwmEmailSignature" id="m_-3524866075790325956OWA43f4b56d-3972-8397-cdb4-afbd1f5747a5" target="_blank" rel="noreferrer"><img src="cid:2704036a-495b-427a-a084-0e36f4c9cafd"></a></td>
<td style="width:2px;height:26.2667px"></td>
<td style="width:194.033px;height:26.2667px"><span style="color:rgb(0,120,212)"><a href="https://outlook.office.com/bookwithme/user/265ad61a0f124413aa15a929664619b3@ifop.cl?anonymous&ep=bwmEmailSignature" id="m_-3524866075790325956OWAc5ce2e60-dfed-6384-56f5-445ed9645415" style="color:rgb(0,120,212);text-decoration:none" target="_blank" rel="noreferrer">Book
time to meet with me</a></span></td>
<td style="width:2px;height:26.2667px"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</blockquote></div>