<html><head></head><body style="zoom: 0%;"><div dir="auto">For the point layer create a calculated field using overlay_within() function.<br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Oisin<!-- tmjah_g_1299e --><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->07570 977449<!-- tmjah_g_1299e --><br><br></div>
<div dir="auto"><!-- tmjah_g_1299s -->Get BlueMail for Android <!-- tmjah_g_1299e --></div>
<div class="gmail_quote" >On 25 Aug 2024, at 16:07, Greg Troxel via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">Zoltan Szecsei via QGIS-User <qgis-user@lists.osgeo.org> writes:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi,<br> I'm doing my "once a year need to do something in python with QGIS" :-/<br> Using QGIS 3.38 and PyCharm.<br><br> I have a SHP file with 28000 polygons.<br> Another SHP file with 22000 Points<br> Both in EPSG:4326<br><br> Without using QGIS processing, what is the quickest way to, for each<br> point 1 by 1, find the underlying polygon and read the attribute field<br> values of that polygon?<br></blockquote><br>Load it into postgis and write a select statement?<br><hr><br>QGIS-User mailing list<br>QGIS-User@lists.osgeo.org<br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></pre></blockquote></div></body></html>