Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2088 closed bug (duplicate)

Buffer produces incorrect results

Reported by: jaanvajakas Owned by: borysiasty
Priority: major: does not work as expected Milestone:
Component: Python plugins and bindings Version: 1.3.0
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

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 http://www.maaamet.ee/index.php?lang_id=1&page_id=272&menu_id=0 (I cut a small part out and converted to EPSG:4326 using QGIS).

Change History (2)

comment:1 by jaanvajakas, 14 years ago

Resolution: duplicate
Status: newclosed

comment:2 by jaanvajakas, 14 years ago

Sorry, I somehow managed to create two tickets. The right one is https://trac.osgeo.org/qgis/ticket/2089

Note: See TracTickets for help on using tickets.