public void dumpRaster ( GridCoverage2D raster , String source ) throws Exception { if ( raster == null || source == null ) return ; OmsRasterWriter writer = new OmsRasterWriter ( ) ; writer . pm = pm ; writer . inRaster = raster ; writer . file = source ; writer . process ( ) ; }
Fast default writing of raster to source .