Class EnlargeStep

All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.pipeline.Step

public class EnlargeStep extends BaseStep<EnlargeStep.Params>

Step to enlarge (buffer) a geometry member.

Mainly intended for use with lines that represent road centre lines.

May optionally remove overlaps from the enlarged geometries. For each overlap (between two geometries) the whole overlap will be removed from one of those geometries. As such overlap removal is not likely to be completely fair. But for the intended use of enlarging road centrelines this should be sufficient.

This functionality has been added as a step to work around not having a means to replace struct members in the expression language. If that had been available enlarging (without overlap removal) could be done in a function or an aggregation function when removing overlaps. Using expression language functions is always preferred to added special purpose steps.

  • Field Details

  • Constructor Details

    • EnlargeStep

      public EnlargeStep(nz.org.riskscape.engine.Engine engine)
  • Method Details