try {
rasterMapResource = (GridCoverage2D) geoResource.resolve(GridCoverage.class,
new NullProgressMonitor());
rasterMapResource = rasterMapResource.view(ViewType.GEOPHYSICS);
RegionMap regionMap = CoverageUtilities.getRegionParamsFromGridCoverage(rasterMapResource);
double xres = regionMap.getXres();
double yres = regionMap.getYres();
step = Math.min(xres, yres);
Display.getDefault().syncExec(new Runnable(){
public void run() {
final IStatusLineManager statusBar = getContext().getActionBars().getStatusLineManager();