238239240241242243244245246247248
else{ writer = new GeoTiffWriter(new File(m_sFilename)); } GridCoverage2D gc = (GridCoverage2D) m_BaseDataObject; writer.write(gc.geophysics(true), null); writer.dispose(); }catch (Exception e){ e.printStackTrace(); } }
167168169170171172173174175176177
writer.write(coverage, wps); } catch(IOException e) { throw new ProcessException(e); } finally { try { writer.dispose(); } catch (Exception e) { // swallow } } }
243244245246247248249250251252253
8687888990919293949596
"Could not find the GeoTIFF writer, please check it's in the classpath"); try { writer.write(coverage, wps); } finally { try { writer.dispose(); } catch (Exception e) { // swallow } } }