0

I am trying to count my datapoints inside different polygons, but it gives an error about my shapefile saying:

No spatial index exists for points layer, performance will be severely degraded
Feature (131) from “Geology Shapefile” has invalid geometry. Please fix the geometry or change the Processing setting to the “Ignore invalid input features” option.
Execution failed after 0.95 seconds

Does anybody know how I can fix this error?

2
  • Well, the error message says it quite clearly: Please fix the geometry (= solution by @Mayo) or change the Processing setting to the “Ignore invalid input features” option.
    – Babel
    Jul 12, 2022 at 8:45
  • Thank you for your answer
    – user207306
    Jul 16, 2022 at 7:19

1 Answer 1

3

First try to fix the geometries (Polygon layer) with the Fix geometries tool and then run the Check validity to check if there are still invalid geometries, if there are try to manually fix them.

3
  • Thank you! This worked
    – user207306
    Jul 16, 2022 at 7:17
  • Thema please accept the answer by hitting the checkbox next to it.
    – Babel
    Jul 16, 2022 at 7:40
  • Hi @user207306, did my answer solved your problem? If it worked mark the answer as accepted, this help people with the same problem to find this answer easy. 😉
    – Mayo
    Sep 26, 2022 at 15:31

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.