public abstract class FeatureToFeatureProcess extends AbstractFeatureCollectionProcess
Subclasses need to implement AbstractFeatureCollectionProcess.processFeature(SimpleFeature, Map)
. This method should
perform the operation on the feature, changing any attributes on the feature as necessary.
FeatureToFeatureProcessFactory
factory
Constructor and Description |
---|
FeatureToFeatureProcess(FeatureToFeatureProcessFactory factory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
execute(Map<String,Object> input,
ProgressListener monitor)
Execute this process with the provided inputs.
|
protected SimpleFeatureType |
getTargetSchema(SimpleFeatureType sourceSchema,
Map<String,Object> input)
Subclasses should override if the target schema is different that then original schema (mind,
if the number of attributes changes it's better to roll your own class instead of using this
one)
|
processFeature
public FeatureToFeatureProcess(FeatureToFeatureProcessFactory factory)
factory
- public final Map<String,Object> execute(Map<String,Object> input, ProgressListener monitor)
Process
input
- Input parameters for this processmonitor
- listener for handling the progress of the processprotected SimpleFeatureType getTargetSchema(SimpleFeatureType sourceSchema, Map<String,Object> input)
sourceSchema
- input
- Copyright © 1996–2019 Geotools. All rights reserved.