Smoothing in cartographic representation and generalization

• • •

BeforeAfter

Simplification and smoothing tools in LorikGISTools?
How does it work in practice?

It is often necessary to simplify the shape of your curves in a GIS in order to adapt their representation to a given scale.

In this article, we will take a step-by-step approach to discover several of the GISTools dedicated to this task. We will highlight their ease of use and the quality of the results, thanks to a series of powerful and innovative algorithms.

Let’s take the outline of a river as an example. Here is an overview:

1- First operation: reducing the number of points.

Accurate data often involves a very large number of points, and the first step is to reduce their number. The same curve with its points appears as follows:

Let’s use the POLYLINES tool ⇒ Smoothing and Simplification ⇒ Curve Simplification, which looks like this:

Once the layer to be processed has been selected, two parameters must be entered:

  1. The maximum distance between two points, which allows points whose distance to the next or previous point is less than this value to be deleted.
  2. The simplification tolerance, which allows a point to be deleted if its distance to the simplified curve is less than this value, as shown in the following diagram:

The red segment highlights the distance between a point on the black curve and the calculated curve in blue.

In our example, the result obtained after applying the POLYLINES ⇒ Smoothing and Simplification ⇒ Curve Simplification algorithm is as follows:

2- Removing oscillations

At the desired scale, displaying a series of small turns is not useful and actually makes it harder to read.

The tool we are going to use, POLYLINES ⇒ Smoothing and Simplification ⇒ Oscillations suppression, searches for the smoothest curve around which the original curve oscillates, or zigzags to use a more common term.

The only parameter required is the maximum distance between the original curve and the calculated curve. Unlike the simplification tool, new points can be added, but always on the original curve.

In our example, the result is as follows:

The simplified curve is shown in blue, and the curve after removing the oscillations is shown in red.

3- Smoothing curves

All that remains is to give the curve a more rounded appearance using the POLYLINES tool ⇒ Smoothing and Simplification ⇒ Curves Smoothing, which is designed for this purpose and looks like this:

This tool will round the curve according to two parameters:

  1. A maximum angle so as not to smooth between two segments whose angle is greater than this value.
  2. A maximum deviation between the initial curve and the calculated curve.

The result is as follows:

Final result

The easiest way to highlight the quality obtained after these three operations is to present the result for a real case, which gives us:

The sequence of tools allows us to refine the smoothing process and obtain a satisfactory result both for the graphical representation of the data and for the generalization of the GIS data, in other words, to simplify the data for reuse in a derivation of the map at a different scale.

The little extra feature of LorikGISTools!

Zigzags and turns…

Another issue encountered in simplifying curves, particularly road networks, is highlighting the presence of numerous turns without representing them all at a scale that would make them illegible.

 

LorikGISTools offers a tool that is particularly well suited to this task, designed specifically to reduce the number of turns without eliminating them entirely: POLYLINES ⇒ Smoothing and simplification ⇒ Zigzags simplification:

The only parameter is the maximum deviation. The tool identifies sequences of oscillations where the distance between two consecutive oscillations is less than this deviation and replaces them with more widely spaced and more regular oscillations. This deviation is illustrated in the following diagram: (deviation between oscillations shown in blue)

2. In a specific case where the curve shows two sequences of oscillations, only the first of which meets the deviation criterion:

The result obtained is as follows:

3. Here we can highlight the difference between this tool and the oscillation removal tool presented earlier. The latter removes oscillations instead of simplifying them.

By applying this tool to the previous case and representing the three curves on a single diagram, we obtain:

with the starting curve in blue, the simplification of the zigzags in red, and the elimination of oscillations in black.

Final result

Go further!

You can find on these links:

▪️An overview of the application: Overview

▪️A dedicated page detailing license pricing: Plans & pricing

▪️A description of all geoprocessing tools: Tools List

▪️Detailed documentation on using LorikGISTools: Documentation

LORIENNE

CONTACT

14, rue de la Beaune 93100 Montreuil, FRANCE
+33 (0)1 48 51 12 12
contact@lorienne.com

© LORIENNE – 2025 – Legal information – privacy