Description of Li-Openshaw Line Simplification Algorithm

Description of the algorithm

The Li-Openshaw algorithm simplifies lines based on the so-called natural principle: at a given scale, a feature with a size smaller than a certain perception limitation can be completely removed, as it cannot be properly seen. The algorithm exists with different versions, but the one implemented here is the raster mode: a raster grid is put on top of the line (or polygon) to be simplified with the size of the cell being the minimum size that can be seen at the output scale. Then, all the consecutive vertices of the line that are included in a same cell are replaced by a single vertex, which is the centroid of the vertices that are replaced.

The principles of our implementation of the Li-Openshaw algorithm in raster mode

Parameter name Description Type Default value
cell size the size of the cell used to simplify the line (only one vertex is retained per cell) double (meters)  

Examples of generalization

The image below shows the simplification of rivers with cell of 20 m.

li_openshaw example

When to use the algorithm?

The algorithm was designed to generalize natural lines, e.g. rivers, coastlines, countour lines.

See Also