FeatureCollectionWriterProcessor

Top  Previous  Next

This processor performs modifying operations on a FeatureCollection:

 

add a feature to the FeatureCollection

remove one or more features from the FeatureCollection

 

Required input parameters:

 

Key featureCollectionParamKey: key where to find the FeatureCollection. Also a StyledFeatureCollectionInterface is allowed.

 

Key featureOperation: Identifies the modifying operation. Allowed values are "ADD_FEATURE" and "REMOVE_FEATURE".

 

Key featureKey: Identifies the key where to find a Feature in the SDSS parameter map. For "ADD_FEATURE" this feature will be added to the collection. For "REMOVE_FEATURE" this feature will be removed.

 

Key featureIdx (optional): Only used for "REMOVE_FEATURE". Identifies the index of the Feature which will be removed (starting with 0).

 

Key featureRule (optional): Only used for "REMOVE_FEATURE". Rule for FeatureOperationTreeFilter to determine the feature(s) which will be removed.

 

If featureKey is used, featureIdx and featureRule are ignored.

 

If featureIdx is not specified, the first feature will be removed.

 

If featureRule and featureIdx are specified, first the rule is applied and the index is used relative to the filter result.

If neither featureIdx nor featureRule is specified, the first feature of all will be removed.