bbox[0] = Double.valueOf(layerResource.getAttribute(Attributes.RASTERX0));
bbox[1] = Double.valueOf(layerResource.getAttribute(Attributes.RASTERY0));
bbox[2] = Double.valueOf(layerResource.getAttribute(Attributes.RASTERX1));
bbox[3] = Double.valueOf(layerResource.getAttribute(Attributes.RASTERY1));
Mosaic mosaic = new Mosaic(conf.getDstGeoServerConfig(), mosaicDir, getTempDir(), getConfigDir());
mosaic.add(conf.getDstGeoServerConfig().getWorkspace(), layerName, srcRasterFile, "EPSG:4326", bbox, style, conf.getDatastorePath());
}
} catch (PostGisException e) {
LOGGER.debug("Property settings : [Layer = " + layerName + ", year = " + year + ", month=" + month + "]");
throw new ActionException(this, "Error while copying features", e );