Calculate how many points are located within certain land cover classes - QGIS [duplicate]

I am working on a project for my university and this is my first solo project.

I have two layers:

• The first layer is a land cover classification with 6 classes.
• The second layer is a set of points that are locations of a mammal we have been observing.

I have imported the point layer into QGIS using their lat/long and now have them overlaid on top of my land cover classification layer. I now want to understand in which land cover classes these points/observations have occurred.

If there are around 1000 points, how do I understand how many of them have occurred in each land cover class?

For example, if there were 12 points located in areas classed as "urban" then this would equate to 12/1000 or 1.2% of sightings of the animal being sighted in urban areas. I can calculate the percentages afterwards myself, but just want to understand how to assign all of the points to the land cover classes they are located within.

• Try "Count points in polygons" from processing toolbox. If needed you can afterwards sum them by class via field calculator. Sep 11, 2022 at 16:17
• Please do not repost Questions Calculate percentage of points within land cover classes QGIS Sep 11, 2022 at 16:20
• Hi Vince, I understand, but it's actually a different question, that one was relating to percentages. Sep 11, 2022 at 16:52
• It's the same fundamental problem. Once you have polygon-id as a property of point, counts, percentage, and other statistics are just table math. Sep 11, 2022 at 17:04
• I understand, but I asked that question specifically about calculating percentage and the answer provided was specific to it too. This is more general as you've said. Sep 11, 2022 at 17:06