5

I am working on a publication and would like to make my schematic visually pleasing. The amount of detail is too high and the image would be better If I could simplify and smooth my line and polygon vectors. Ideally it would minic smooth Bezier like curves. (Curves are not yet supported in QGIS so searching an alternative)

I've tried many many settings in QGIS, primarily the v.generalize tool but I either get errors or the results still has sharp corners.

enter image description here

A close up reveals the ugly sharp corners of the vectors. enter image description here

And I would like to get something like this: enter image description here

Is there a simple way to simplify the vectors into smooth lines? Alternativily, which settings in GRASS v.generalize should I use?

Related question: Is there a way to render lines with a smooth (bezier) curves in QGIS?

It seems like v.generalize with Chaiken algorithm could do the trick. Searching for the correct settings. (Trial and error)

Shapefiles can be found here

  • 1
    Have you checked several plugins, namely SmoothLine and Cartographic Line Generalization? – Taras Feb 4 at 13:54
  • QGis 3.4 has the tool "smoothgeometry" in the toolbox. This might be what you're looking for. – Erik Feb 4 at 13:55
  • the build-in smooth function doesn't result in the desired output. I've tried multiple offset and angle settings. – RutgerH Feb 4 at 13:59
  • 1
    look at 2 options of hydrography of soft and rough force, maybe they will suit you...drive.google.com/file/d/1o5Hz_toFHBCFMoZiD2Wt6QfUuNizu7_c/… – Cyril Feb 4 at 19:31
  • 1
    This is usually a two step process: simplify the lines first to remove the unwanted detail, and then smooth the result – ndawson Feb 4 at 19:46
5

You can use a geomoetry generator in styling as symbol layer style and smooth function. The advantage of this solution is that the geometry is intact.

Smooth 0: Geomoetry Generator - Smooth 0

Smooth 5: Geomoetry Generator - Smooth 5

  • this looks promising. The only issue is that my shapefile consists of multilines (I've added a download link). At each end of a single line, the corner remains sharp. I will probably have to merge/dissolve to get the result I want. – RutgerH Feb 5 at 10:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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