Bug report #2088

Buffer produces incorrect results

Added by jaanvajakas - over 14 years ago. Updated over 14 years ago.

Assignee:Borys Jurgiel
Category:Python plugins
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:duplicate
Crashes QGIS or corrupts data: Copied to github as #:12148


To reproduce:
1. Create a new project in QGIS.
2. Add layer kirdem2.epg4326.shp using Layers -> Add vector layer...
3. Tools -> Geoprocessing tools -> Buffer(s), set buffer distance to -0.00003, choose output file, click OK.

Expected result: an inner buffer of the polygons in platte carree distance (not real distance, as interpreting degrees as meters would be ambiguous)

Actual result: certainly not a buffer neither in platte carree distance nor in real geodetic distance nor any other projection. In some places, the buffer exceeds the original polygon border (see qgis_buffer_bug1.png); in some places, the buffer has "pixel artifacts" (qgis_buffer_bug1.png); some islands are missing altogether (qgis_buffer_bug2.png).

The input data kirdem2.epg4326.shp is part of the publicly available dataset '01.09.2009a. asustus├╝ksus SHP' (zip - 13,65 MB, 6.11.2009 ) on
(I cut a small part out and converted to EPSG:4326 using QGIS).


#1 Updated by jaanvajakas - over 14 years ago

  • Resolution set to duplicate
  • Status changed from Open to Closed

#2 Updated by jaanvajakas - over 14 years ago

Sorry, I somehow managed to create two tickets. The right one is

Also available in: Atom PDF