org.geotools.process.raster
Class VectorToRasterFactory

java.lang.Object
  extended by org.geotools.process.impl.SingleProcessFactory
      extended by org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
          extended by org.geotools.process.raster.VectorToRasterFactory
All Implemented Interfaces:
Factory, OptionalFactory, ProcessFactory

public class VectorToRasterFactory
extends AbstractFeatureCollectionProcessFactory

Factory for a Process the rasterizes vector features in an input FeatureCollection.

Author:
Steve Ansari, NOAA, Michael Bedward

Field Summary
 
Fields inherited from class org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
FEATURES
 
Constructor Summary
VectorToRasterFactory()
           
 
Method Summary
protected  void addParameters(java.util.Map<java.lang.String,Parameter<?>> parameters)
          Method for subclasses to add parameter descriptors for the process.
 VectorToRasterProcess create()
           
 org.opengis.util.InternationalString getDescription()
           
 java.util.Map<java.lang.String,Parameter<?>> getResultInfo(java.util.Map<java.lang.String,java.lang.Object> parameters)
           
 org.opengis.util.InternationalString getTitle()
          Name suitable for display to end user.
 java.lang.String getVersion()
           
 boolean supportsProgress()
           
 
Methods inherited from class org.geotools.process.feature.AbstractFeatureCollectionProcessFactory
getParameterInfo
 
Methods inherited from class org.geotools.process.impl.SingleProcessFactory
create, getDescription, getImplementationHints, getNames, getParameterInfo, getResultInfo, getTitle, getVersion, isAvailable, supportsProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorToRasterFactory

public VectorToRasterFactory()
Method Detail

addParameters

protected void addParameters(java.util.Map<java.lang.String,Parameter<?>> parameters)
Description copied from class: AbstractFeatureCollectionProcessFactory
Method for subclasses to add parameter descriptors for the process.

Subclasses should not add a parameter for the input feature collection as this is done by the case class. Example implementation for a simple buffer example:

 protected void addParameters(Map> parameters) {
    parameters.put(BUFFER.key, BUFFER);
 }
 

Specified by:
addParameters in class AbstractFeatureCollectionProcessFactory

getTitle

public org.opengis.util.InternationalString getTitle()
Description copied from class: SingleProcessFactory
Name suitable for display to end user.

Specified by:
getTitle in interface ProcessFactory
Overrides:
getTitle in class SingleProcessFactory
Returns:
A short name suitable for display in a user interface.

getDescription

public org.opengis.util.InternationalString getDescription()
Specified by:
getDescription in class SingleProcessFactory

create

public VectorToRasterProcess create()
Specified by:
create in class SingleProcessFactory

getResultInfo

public java.util.Map<java.lang.String,Parameter<?>> getResultInfo(java.util.Map<java.lang.String,java.lang.Object> parameters)
                                                           throws java.lang.IllegalArgumentException
Specified by:
getResultInfo in class SingleProcessFactory
Throws:
java.lang.IllegalArgumentException

supportsProgress

public boolean supportsProgress()
Specified by:
supportsProgress in class SingleProcessFactory

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in class SingleProcessFactory


Copyright © 1996-2010 Geotools. All Rights Reserved.