Bug report #5789

negative buffer: fTools buffer tool should delete the records of features that eventually have disappeared

Added by Pieter Roggemans over 7 years ago. Updated over 2 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Processing/QGIS
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

Description

new description:

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).

------------------------
old description:

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

Screen_Shot_2013-04-13_at_11.35.13_AM.png (214 KB) maning sambale, 2013-04-12 08:36 PM

Associated revisions

Revision 2192cc70
Added by Nathan Woodrow about 6 years ago

Merge pull request #732 from ddanielvaz/fix-5789

Fix #5789

History

#1 Updated by Paolo Cavallini about 7 years ago

  • Target version set to Version 2.0.0

#2 Updated by maning sambale over 6 years ago

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.

#3 Updated by Paolo Cavallini about 6 years ago

  • Category set to 44

#4 Updated by Giovanni Manghi about 6 years ago

  • Priority changed from Normal to High
  • Subject changed from fTools Buffer tool used with with negative distance creates NULL features to negative buffer: fTools buffer tool should delete the records of features that eventually have disappeared

#5 Updated by Daniel Vaz about 6 years ago

Please see https://github.com/qgis/Quantum-GIS/pull/732 that fix this bug.

Thanks in advance

#6 Updated by Giovanni Manghi about 6 years ago

  • Pull Request or Patch supplied changed from No to Yes

#7 Updated by Nathan Woodrow about 6 years ago

  • Status changed from Open to Closed

#8 Updated by Giovanni Manghi over 2 years ago

The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.

Also available in: Atom PDF