[QGIS-Developer] point in polygon strikes again: big performance issue

Delaz J delazj at gmail.com
Sun Mar 14 15:36:24 PDT 2021


Hi Jorge,

It doesn't explain nor fix the issue with your expression but mind 
trying /array_sum(overlay_contains('03-04-2021', 'Active'))/? No working 
QGIS around to test myself.

I don't remember if array_sum was introduced in 3.18 or master but 
overlay_** requires at least 3.16. Regards, Harrissou

Le 14/03/2021 à 22:47, David Strip a écrit :
> I was able to replicate your problem on my system (Win 10, QGIS 3.10.5).
>
> I tried "Join attributes by location (summary)". This computed the 
> result in about 5 seconds.
> There are some anomalies in the data, however. For example, there's an 
> entry for Belgium with province value "Unknown" and no lat/lon, so it 
> doesn't get included in the total. Also, the point for Northern 
> Territories, Australia, lies in the ocean, so it is not contained in 
> the Australia polygon.
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210314/22350686/attachment.html>


More information about the QGIS-Developer mailing list