Bug report #5789
negative buffer: fTools buffer tool should delete the records of features that eventually have disappeared
|Affected QGIS version:||master||Regression?:|
|Operating System:||Easy fix?:|
|Pull Request or Patch supplied:||Yes||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||15281|
When doing a negative buffer of a polygon layer, there is the chance that (if the buffer distance is above a certain value) a few features will disappear. At this moment the records in the table of attributes belonging to this no more existing features are kept, and this create many inconsistencies (at canvas level, at attributes table level and so on).
When applying a negative buffer to objects, if they are smaller than the buffer, features without any points are put in the output shape file.
Reproducable in version 1.7.4 and 1.8.0 with the shape files in attachment with a negative buffer of -8 meter.
PS: the check geometry tool doesn't report this... I made a separate bug report for this: #5788
#2 Updated by maning sambale over 9 years ago
- File Screen_Shot_2013-04-13_at_11.35.13_AM.png added
I confirm this behavior in the latest nightly build. In addition, if the negative buffer distance is smaller than the input polygon, it still creates an attribute record in the attribute table.
The attached screenshot shows that only one polygon (in black) is displayed but there are two rows in the attribute table.
System: Ubuntu precise latest nightly build.