Thursday, 13 February 2020

Topology in QGIS shapefile, GRASS and v.clean (nested polygons)


Following this: Nested polygons in QGIS overlap and don't show the real colour gradient


I applied the GRASS function v.clean -> break as suggested by @ahmadhanb and the shapefile now shows correctly all the nested basins without using the Feature blending mode = Multiply.


However I noticed that in the attribute table the v.clean function created ~2 times more variables than the original shapefile (e.g. original shapefile 250 polygons, after v.clean 500 polygons). There are then duplicated polygons that eventually create issues when doing a Join.


How can I remove the duplicated polygons created by v.clean and keep ONLY the 'good' ones that appear in the QGIS environment when selected?


I tried to apply rmdupl within v.clean but the shapefile did not change at all!




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...