Class FeatureToFeatureProcess

All Implemented Interfaces:
Process

public abstract class FeatureToFeatureProcess extends AbstractFeatureCollectionProcess
Abstract implementation of Process for feature collections.

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.

Since:
2.6
Author:
Justin Deoliveira, OpenGEO
See Also:
  • Constructor Details

  • Method Details

    • execute

      public final Map<String,Object> execute(Map<String,Object> input, ProgressListener monitor)
      Description copied from interface: Process
      Execute this process with the provided inputs.
      Parameters:
      input - Input parameters for this process
      monitor - listener for handling the progress of the process
      Returns:
      Map of results, (@see ProcessFactory for details), or null if canceled
    • getTargetSchema

      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)