Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to smooth or generalize a polygon in qgis? Ìs there a plugin available like the generalizer-plugin for lines? I could convert my polygons to lines, smooth them and convert them back to polygones. But this is not working for my polygons because of sveral reasons.

Any idea? Thanks!

share|improve this question
up vote 12 down vote accepted

you can use:

Vector menu -> Geometry tools -> Simplify Geometries



Beside this you can use Douglas-Peucker algorithm in postgis too, so you can use in postgis then adding postgis layer to qgis. you can find some info here about Simplify: Reduce the weight of a geometry.

SELECT simplify(the_geom,500) as simpgeom 
    FROM neighborhoods


i hope it helps you...

share|improve this answer
That simplifies the lines, making them more jagged. Is there a way to smooth them(which I guess would have to interpolate some points)? – Nate Wessel Dec 23 '12 at 17:13
Simplify just removes vertices from the line or polygon, which can still leave jagged lines. You want the Generalizer plug in if you want smoothed lines. – MicheleTobias Aug 19 '14 at 2:48

I've also had luck using the QGIS Generalizer plugin (enable experimental plugins), and then:

Vector > Geometry Tools > Polygons to lines

Then use the Generalizer plugin to smooth the lines and vertices

Plugins > Generalizer > Generalizer
Algorithm: "Chaiken's Algorithm"

Then turn the lines back into a polygons

Vector > Geometry Tools > Polygons to lines

This does a better job actually smoothing the lines and rounding the corners. It's a bit clunky to have to have to switch back and forth between lines and polys, but it works. I know that there's ways to do this via Grass as well, but I've found them difficult to setup.

share|improve this answer

Aragon's answer is good for generalization. Bryan's answer is good for smoothing but is a little convoluted. Here are two alternatives for smoothing:

  • Use the GRASS v.generalizer tool from the Processing toolbox. This is the module on which the QGIS Generalizer Plugin in Bryan's answer is built. The GRASS tool allows you to use polygons so you can avoid the steps of converting to lines and back again. It is an excellent tool with a LOT of algorithms for smoothing/generalization.
  • Use the 'old-school' approach of buffer-debuffer. Simply buffer your polygons by an appropriate amount (your call depending on the nature of the data and degree of smoothing you require). Then de-buffer by applying the same value for the buffer distance but making it negative this time. If you dissolve the buffers first time, you can often simultaneously eliminate small gaps or doughnut holes if required (though this is not always desirable so consider carefully before opting to dissolve).

Smoothing often means the addition of vertices (especially with the buffer-debuffer method). After smoothing, you could then apply generalization as per Aragon's reply.

share|improve this answer
Nice demonstration of the buffer/de-buffer approach at Paul Ramsey: Removing Complexities – matt wilkie Oct 3 '14 at 16:49
Excellent idea! I used both approaches, Ramer (lines) and area-based, the latter giving a bit smoother polys, but still looking like barbed wire. Hope this approach works better. – culebrón Nov 17 '15 at 18:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.