GridGeometry2D geom=new GridGeometry2D(range, displayToLayer, destinationCRS );
currentContext.setStatus(ILayer.WORKING);
setState( STARTING );
GridCoverageLoader loader = geoResource.resolve(GridCoverageLoader.class, monitor);
if( loader == null ){
// unable to load in memory
return;
}
GridCoverage2D coverage = (GridCoverage2D) loader.load(geom, monitor);
if(coverage!=null)
{
//setting rendering hints