I have a large layer with a couple of thousand polygons mapping inland waterbodies. A lot of these contain rings, mapping islands. I would like to count the number of islands and do some statistics with them. I vaguely remember that there was a tool that could automatically fill such rings with new polygons in QGIS 2.X, but it appears to be missing in QGIS 3.X. I did not find any plugin to do this job either. Is there any tool I have been missing, or can you point me to a different solution?
Edit: Please note that I want to do this automatically - I know, that I can fill rings by hand, but that won't do for thousands of them.




num_interior_rings($geometry)expression in the Field Calculator. – Gabriel De Luca Jan 13 '20 at 04:28