Description of the Ruas Displacement Algorithm for Buildings in a Block

Description of the algorithm

This algorithm amalgamates and simplifies close buildings while retaining their square shapes, using sequences of morphological dilation and erosion (with a square instead of the standard circle to preserve building shapes). The algorithm works as follows:

  1. dilation
  2. erosion
  3. erosion
  4. dilation
  5. simplification

That is the dilation step that amagamates the buildings when they are close enough, i.e. if the gap between the buildings is smaller than the size of the dilation.

Building amalgamation based on morphological operators

The initial paper by Damen et al., presented at 12th ICA Workshop on Generalisation and Multiple Representation in 2008 (Montpellier, France), can be found here The code of the algorithm can be found here.

Parameter name Description Type Default value
bufferSize the size of the square used for the Minkowski sums and differences double (meters)  
edgeLength edge under this length are removed by the edge simplification step double (meters) should be smaller than bufferSize

Examples of generalization

Initial buildings Amalgamated building

When to use the algorithm?

The algorithm is dedicated to the attached or semi-detached alignments of buildings that we can usually find in countries such as UK or the Netherlands.

See Also