Generate automatically the pyramid for raster data when adding wms layers.