Class EnlargeStep
- All Implemented Interfaces:
nz.org.riskscape.engine.Identified
,nz.org.riskscape.engine.pipeline.Step
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Fields inherited from interface nz.org.riskscape.engine.pipeline.Step
FUNCTOR_INTERFACES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.pipeline.Realized>
realize
(EnlargeStep.Params parameters) Methods inherited from class nz.org.riskscape.engine.steps.BaseStep
bindInputs, bindParameters, equals, findParameterClass, getDescription, getEngine, getId, getInputArity, getInputNames, getParamContext, getParameterSet, hashCode, realize, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.pipeline.Step
getDeclaredParameter, getDeclaredParameterNames, getDeclaredParameters, getDefaultInputName, hasNamedInput, named
-
Field Details
-
PROCESS_METRIC_NAME
- See Also:
-
-
Constructor Details
-
EnlargeStep
public EnlargeStep(nz.org.riskscape.engine.Engine engine)
-
-
Method Details
-
realize
public nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.pipeline.Realized> realize(EnlargeStep.Params parameters) - Specified by:
realize
in classBaseStep<EnlargeStep.Params>
-