I am working on a large shapefile sourced from https://www.iucnredlist.org/resources/spatial-data-download. I cannot clip Fish and Plants (global file) in Freshwater groups species to a smaller extent (country level).
I tried clipping in QGIS but could not get the output. QGIS return an error: intersection failed. However, the clip works perfectly fine for all other datasets. I have successfully clipped other (smaller in size) shapefiles. I found a link where it suggested using 'Clip by extent' in GDAL, but it gave an empty shapefile having no data.
How can it be solved?
For the extent, let's say, I want to clip it to India's extent.
In QGIS, the error is:
Best Answer
In QGIS try:
If it still doesnt work:
Multipart to Singlepart the spatial index output.
Create spatial index
Clip