Package repast.simphony.gis.display
Class CoverageStyleBuilder
- java.lang.Object
-
- repast.simphony.gis.display.CoverageStyleBuilder
-
public class CoverageStyleBuilder extends Object
Builds various types of Styles for GridGoverages.- Author:
- Eric Tatara
-
-
Constructor Summary
Constructors Constructor Description CoverageStyleBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.geotools.styling.Style
buildRGBStyle(org.geotools.coverage.grid.GridCoverage2D cov)
This method examines the names of the sample dimensions in the provided coverage looking for "red...", "green..." and "blue..." (case insensitive match).
-
-
-
Method Detail
-
buildRGBStyle
public org.geotools.styling.Style buildRGBStyle(org.geotools.coverage.grid.GridCoverage2D cov)
This method examines the names of the sample dimensions in the provided coverage looking for "red...", "green..." and "blue..." (case insensitive match). If these names are not found it uses bands 1, 2, and 3 for the red, green and blue channels. It then sets up a raster symbolizer and returns this wrapped in a Style.- Returns:
- a new Style object containing a raster symbolizer set up for RGB image
-
-