0

This question is following to this answer point count in polygon by category

array_length(overlay_intersects('pointlayername',$id,filter:="fieldcontainingcategory"='nameofcategory'))

This answer worked form me if there is small polygon dataset, but if there is very big dataset then counting freezes.

But my polygon dataset consist of 500 000 (half million) polygon features. Can you offer an alternative solution for processing large volumes of data, the result of which would be analogous to the image.

Big data point count in polygon flow

2
  • There are two other answers in the post you linked, Virtual layer and PyQGIS. Did you try these?
    – Babel
    Commented Sep 18, 2022 at 9:11
  • 1
    Try to apply first the filter that's easier to compute and then the location filter. Similar to this expression: gis.stackexchange.com/a/439501/202120, or for your case use this Google Drive File
    – Mayo
    Commented Sep 18, 2022 at 14:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.