Class RasterStyle

java.lang.Object
org.hortonmachine.modules.RasterStyle

public class RasterStyle
extends java.lang.Object
A wrapper for RasterStyle to be used in scripting.
Author:
Andrea Antonello (www.hydrologis.com)
  • Constructor Summary

    Constructors 
    Constructor Description
    RasterStyle​(int min, int max)  
    RasterStyle​(org.geotools.coverage.grid.GridCoverage2D raster)  
  • Method Summary

    Modifier and Type Method Description
    void setAlpha​(double alpha)  
    java.lang.String style​(java.lang.String colorTableName)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RasterStyle

      public RasterStyle​(org.geotools.coverage.grid.GridCoverage2D raster) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • RasterStyle

      public RasterStyle​(int min, int max) throws java.lang.Exception
      Throws:
      java.lang.Exception
  • Method Details

    • setAlpha

      public void setAlpha​(double alpha)
    • style

      public java.lang.String style​(java.lang.String colorTableName) throws java.lang.Exception
      Throws:
      java.lang.Exception