net.simplace.processors.FeatureCollectionCreatorProcessor

Version: 1.0

This processor creates a new or extends an existing org.geotools.feature.FeatureCollection. It is abstract because the geometry type of the org.geotools.feature.FeatureCollection and so the specification of one geometry via the input parameters is implemented in a sub-class (e.g. PointFeatureCollectionCreatorProcessor).
Required input parameters:


public abstract class FeatureCollectionCreatorProcessor extends
net.simplace.util.pipeline.FWProcessor {
// Public Constructors
public FeatureCollectionCreatorProcessor();

// Constants
public static final GeometryFactory GEOMETRY_FACTORY;
public static final String FC_KEY;
public static final String FORCE_KEY;
public static final String ATTRVAL_KEY;
public static final String CRS_KEY;

// Public Instance Methods
public abstract Class getGeometryType();

Returns the geometry type for the org.geotools.feature.FeatureCollection provided by this processor.
returns the geometry type for the {@link FeatureCollection} provided by this processor
public abstract Geometry createDefaultGeometry();

Returns a default geometry for the org.geotools.feature.FeatureCollection provided by this processor.
returns a default geometry for the {@link FeatureCollection} provided by this processor
public abstract Geometry createGeometryFromParameterMap();

Creates a geometry from the parameters in the in-channel.
returns a geometry from the parameters in the in-channel
public boolean checkInParameterMap(); // Defines
net.simplace.util.pipeline.FWProcessor


Checks whether the in-channel contains all required parameters.

// Protected Instance Methods
protected boolean process() throws PipeLineException; // Defines
net.simplace.util.pipeline.FWProcessor


Extends the org.geotools.feature.FeatureCollection with a new Feature, which attributes are specified by in-channel parameters.
returns ever {@code true}


}



Hierarchy: java.lang.Object - net.simplace.util.pipeline.FWProcessor - FeatureCollectionCreatorProcessor



Extended by: PointFeatureCollectionCreatorProcessor