Remove inner rings from QgsGeometry polygon in QGIS Python

المشرف العام

Administrator
طاقم الإدارة
I am a QGIS python user. I want to iterate over rings of polygon to remove holes in polygon, so:


  • I need to iterate over rings in QgsGeometry polygon
  • I need to detect main ring of polygon
  • I need to remove ring, which is not main
How to make this case in python QGIS?



أكثر...
 
أعلى