<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="EN-NZ" link="#0563C1" vlink="#954F72">Hi Tony,<br><br>You can use functions from the aggregate group in the field calculator of the point layer. No need to create a third layer. (Somehow) Picked from the QGIS function help panel<br><br>aggregate ( layer:='yourpolygonlayername', aggregate:='concatenate', expression:="yourfieldtoextract", filter:=contains($geometry, geometry(@parent)))<br><br>This will populate the point layer field with values of whatever polygon covers the point.<br>You can also use the direct functions concatenate, concatenate_unique, minimum, maximum... depending on how your data are shaped and what you actually need.<br><br>Hope that helps,<br>Harrissou<br><br><div class="gmail_quote">Le 24 juin 2020 05:29:58 GMT+02:00, "Tony Shepherd (FarmMaps NZ)" <tony@farmmaps.nz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1"><p class="MsoNormal">Hi All<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Am I missing something?  Is there a simple point and click tool in QGIS to update an existing field in a QGIS layer based on a value in another using a geographic join?  For example a series of points and a series polygons.  I want to update a field in points from a value in a field in polygons based on which polygon the point falls in.  Simple stuff.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">In a previous life using MapInfo we simply used query editor and<o:p></o:p></p><p class="MsoNormal" style="text-indent:36.0pt">update point_layer set col1 = colx from polygon_layer where obj within any<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">To me, this seems like a very simple everyday thing to do to an existing table.  I can, of course, use vector -> Join Attributes by Column but why in this case would I needlessly complicate things by having to create a third layer?  I don’t need an extra layer, I just need to update the one I have already.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I can see that the internet is littered with similar questions dating back as long as QGIS has been around.  Perhaps I have missed something obvious, and if so apologies for wasting the time of others, but can you point me to the tool?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="mso-fareast-language:EN-NZ">Cheers<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-NZ">Tony<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-NZ"><o:p> </o:p></span></p><p class="MsoNormal"><b><span style="color:#404040;mso-fareast-language:EN-NZ">Tony Shepherd</span></b><span style="color:#595959;mso-fareast-language:EN-NZ">  </span><b><span style="mso-fareast-language:EN-NZ">|</span></b><span style="color:#595959;mso-fareast-language:EN-NZ">  GeoSpatial / Mapping Manager<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#595959;mso-fareast-language:EN-NZ">Ph 027 435 6193  </span><b><span style="mso-fareast-language:EN-NZ">|</span></b><span style="color:#595959;mso-fareast-language:EN-NZ">  E <a href="mailto:tony@farmmaps.nz"><span style="color:#0563C1">tony@farmmaps.nz</span></a><o:p></o:p></span></p><p class="MsoNormal"><span style="color:#595959;mso-fareast-language:EN-NZ">FarmMaps NZ, 3 Kerwood Place, Gore 9740<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#595959;mso-fareast-language:EN-NZ"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#595959;mso-fareast-language:EN-NZ"><img border="0" width="160" height="75" style="width:1.6666in;height:.7812in" id="_x0000_i1027" src="cid:image001.jpg@01D64A3C.508F7380" alt="FM_logo1_small (Custom)"><o:p></o:p></span></p><p class="MsoNormal"><span style="color:#7B7B7B;mso-fareast-language:EN-NZ"><o:p> </o:p></span></p><p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;color:#7B7B7B;mso-fareast-language:EN-NZ"><o:p> </o:p></span></b></p><p class="MsoNormal"><a href="http://tonyshepherd8.wixsite.com/home"><b><span style="font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:EN-NZ;text-decoration:none"><img border="0" width="157" height="34" style="width:1.6354in;height:.3541in" id="Picture_x0020_1" src="cid:image002.png@01D64A3C.508F7380"></span></b></a><a href="https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2"><b><span style="font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:EN-NZ;text-decoration:none"><img border="0" width="170" height="37" style="width:1.7708in;height:.3854in" id="Picture_x0020_3" src="cid:image003.png@01D64A3C.508F7380"></span></b></a><b><span style="font-family:"Arial",sans-serif;mso-fareast-language:EN-NZ"><o:p></o:p></span></b></p><p class="MsoNormal"><o:p> </o:p></p></div></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>