Class OmsCutOut
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.libs.modules.multiprocessing.MultiProcessing
-
- org.hortonmachine.gears.libs.modules.multiprocessing.GridMultiProcessing
-
- org.hortonmachine.gears.modules.r.cutout.OmsCutOut
-
public class OmsCutOut extends GridMultiProcessing
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hortonmachine.gears.libs.modules.multiprocessing.GridMultiProcessing
GridMultiProcessing.Calculator
-
-
Field Summary
Fields Modifier and Type Field Description booleandoInverseorg.geotools.coverage.grid.GridCoverage2DinMaskorg.geotools.coverage.grid.GridCoverage2DinRasterstatic StringOMSCUTOUT_AUTHORCONTACTSstatic StringOMSCUTOUT_AUTHORNAMESstatic StringOMSCUTOUT_DESCRIPTIONstatic StringOMSCUTOUT_DO_INVERSE_DESCRIPTIONstatic StringOMSCUTOUT_DOCUMENTATIONstatic StringOMSCUTOUT_IN_MASK_DESCRIPTIONstatic StringOMSCUTOUT_IN_RASTER_DESCRIPTIONstatic StringOMSCUTOUT_KEYWORDSstatic StringOMSCUTOUT_LABELstatic StringOMSCUTOUT_LICENSEstatic StringOMSCUTOUT_NAMEstatic StringOMSCUTOUT_OUT_RASTER_DESCRIPTIONstatic StringOMSCUTOUT_P_MAX_DESCRIPTIONstatic StringOMSCUTOUT_P_MIN_DESCRIPTIONstatic intOMSCUTOUT_STATUSorg.geotools.coverage.grid.GridCoverage2DoutRasterDoublepMaxDoublepMin
-
Constructor Summary
Constructors Constructor Description OmsCutOut()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.geotools.coverage.grid.GridCoverage2Dcut(org.geotools.coverage.grid.GridCoverage2D raster, org.geotools.coverage.grid.GridCoverage2D mask)Cut a raster on a mask using the default parameters.voidprocess()-
Methods inherited from class org.hortonmachine.gears.libs.modules.multiprocessing.GridMultiProcessing
processGrid, processGrid
-
Methods inherited from class org.hortonmachine.gears.libs.modules.multiprocessing.MultiProcessing
createDefaultPlanner
-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Field Detail
-
inRaster
public org.geotools.coverage.grid.GridCoverage2D inRaster
-
inMask
public org.geotools.coverage.grid.GridCoverage2D inMask
-
pMax
public Double pMax
-
pMin
public Double pMin
-
doInverse
public boolean doInverse
-
outRaster
public org.geotools.coverage.grid.GridCoverage2D outRaster
-
OMSCUTOUT_DESCRIPTION
public static final String OMSCUTOUT_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_DOCUMENTATION
public static final String OMSCUTOUT_DOCUMENTATION
- See Also:
- Constant Field Values
-
OMSCUTOUT_KEYWORDS
public static final String OMSCUTOUT_KEYWORDS
- See Also:
- Constant Field Values
-
OMSCUTOUT_LABEL
public static final String OMSCUTOUT_LABEL
- See Also:
- Constant Field Values
-
OMSCUTOUT_NAME
public static final String OMSCUTOUT_NAME
- See Also:
- Constant Field Values
-
OMSCUTOUT_STATUS
public static final int OMSCUTOUT_STATUS
- See Also:
- Constant Field Values
-
OMSCUTOUT_LICENSE
public static final String OMSCUTOUT_LICENSE
- See Also:
- Constant Field Values
-
OMSCUTOUT_AUTHORNAMES
public static final String OMSCUTOUT_AUTHORNAMES
- See Also:
- Constant Field Values
-
OMSCUTOUT_AUTHORCONTACTS
public static final String OMSCUTOUT_AUTHORCONTACTS
- See Also:
- Constant Field Values
-
OMSCUTOUT_IN_RASTER_DESCRIPTION
public static final String OMSCUTOUT_IN_RASTER_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_IN_MASK_DESCRIPTION
public static final String OMSCUTOUT_IN_MASK_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_P_MAX_DESCRIPTION
public static final String OMSCUTOUT_P_MAX_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_P_MIN_DESCRIPTION
public static final String OMSCUTOUT_P_MIN_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_DO_INVERSE_DESCRIPTION
public static final String OMSCUTOUT_DO_INVERSE_DESCRIPTION
- See Also:
- Constant Field Values
-
OMSCUTOUT_OUT_RASTER_DESCRIPTION
public static final String OMSCUTOUT_OUT_RASTER_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
cut
public static org.geotools.coverage.grid.GridCoverage2D cut(org.geotools.coverage.grid.GridCoverage2D raster, org.geotools.coverage.grid.GridCoverage2D mask) throws ExceptionCut a raster on a mask using the default parameters.- Parameters:
raster- the raster to cut.mask- the mask to apply.- Returns:
- the cut map.
- Throws:
Exception
-
-