[QGIS-Developer] timzonefinder vs point in polygon

Nyall Dawson nyall.dawson at gmail.com
Fri Feb 5 15:29:57 PST 2021


On Sat, 6 Feb 2021 at 07:54, Andrea Giudiceandrea <andreaerdna at libero.it> wrote:
>
> C Hamilton wrote
> > Using the algorithm Vector->Geoprocessing Tools->Intersection: 4 minutes,
> > 4
> > seconds
>
> Hi Calvin,
> maybe it could be better to use the "Join attributes by location" algorithm.
> It only takes few seconds to preform the join.

Confirmed - for me it only takes ~2 seconds, and that's on an
non-optimised debug build! There may be a few % more performance boost
on the proper QGIS release builds.

"Join attributes by location" has a bunch of extra logic to optimise
the method that the join is performed, which really pays off in this
particular situation (matching points to polygons, where number of
points >> number of polygons).

Nyall



>
> Regards.
>
> Andrea
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list