public void setNoDataValue(final double dNoDataValue) { try { rasProps.setNoDataValue(new Double(dNoDataValue)); } catch (final Exception e) { Sextante.addErrorToLog("Could not set No Data Value"); } }
public int getDataType() { try { return rasProps.getPixelType(); } catch (final Exception e) { return rstPixelType.PT_DOUBLE; } }
public double getNoDataValue() { try { return ((Number) rasProps.getNoDataValue()).doubleValue(); } catch (final Exception e) { return ArcRasterLayer.DEFAULT_NO_DATA; } }
public ISpatialReference getSpatialReference() { try { return rasProps.getSpatialReference(); } catch (final Exception e) { try { return new UnknownCoordinateSystem(); } catch (final Exception e1) { return null; } } }