// write the map into it
String mapName = mapFile.getName();
mapName = FilenameUtils.getBaseName(mapName);
JGrassMapEnvironment mapEnvironment = new JGrassMapEnvironment(mapsetFile, mapName);
GrassCoverageFormat format = new GrassCoverageFormatFactory().createFormat();
GrassCoverageWriter writer = format.getWriter(mapEnvironment.getCELL(), null);
GeneralParameterValue[] readParams = null;
writer.write(geodata, readParams);
JGrassCatalogUtilities.addServiceToCatalog(locationPath + File.separator
+ JGrassCatalogUtilities.JGRASS_WORKSPACE_FILENAME, new NullProgressMonitor());
} catch (IOException e) {
JGrassPlugin