<div dir="ltr">I tested "Join attributes by location" and it is faster although I must have a slower machine to run on than yours. <div><br></div><div>Most of the time the use case is single point matching against the time zone polygon. You mention that "Join attributes by location" is best used when the number of points >> number of polygons. What is the best method to match a single point and do that many times for uses such as during mouse motion to report the time zone of the cursor to the status bar.</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 5, 2021 at 6:30 PM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 6 Feb 2021 at 07:54, Andrea Giudiceandrea <<a href="mailto:andreaerdna@libero.it" target="_blank">andreaerdna@libero.it</a>> wrote:<br>
><br>
> C Hamilton wrote<br>
> > Using the algorithm Vector->Geoprocessing Tools->Intersection: 4 minutes,<br>
> > 4<br>
> > seconds<br>
><br>
> Hi Calvin,<br>
> maybe it could be better to use the "Join attributes by location" algorithm.<br>
> It only takes few seconds to preform the join.<br>
<br>
Confirmed - for me it only takes ~2 seconds, and that's on an<br>
non-optimised debug build! There may be a few % more performance boost<br>
on the proper QGIS release builds.<br>
<br>
"Join attributes by location" has a bunch of extra logic to optimise<br>
the method that the join is performed, which really pays off in this<br>
particular situation (matching points to polygons, where number of<br>
points >> number of polygons).<br>
<br>
Nyall<br>
<br>
<br>
<br>
><br>
> Regards.<br>
><br>
> Andrea<br>
><br>
><br>
><br>
> --<br>
> Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html</a><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>