예제 #1
0
 public void setNoDataValue(final double dNoDataValue) {
   try {
     rasProps.setNoDataValue(new Double(dNoDataValue));
   } catch (final Exception e) {
     Sextante.addErrorToLog("Could not set No Data Value");
   }
 }
예제 #2
0
    public int getDataType() {

      try {
        return rasProps.getPixelType();
      } catch (final Exception e) {
        return rstPixelType.PT_DOUBLE;
      }
    }
예제 #3
0
    public double getNoDataValue() {

      try {
        return ((Number) rasProps.getNoDataValue()).doubleValue();
      } catch (final Exception e) {
        return ArcRasterLayer.DEFAULT_NO_DATA;
      }
    }
예제 #4
0
    public ISpatialReference getSpatialReference() {

      try {
        return rasProps.getSpatialReference();
      } catch (final Exception e) {

        try {
          return new UnknownCoordinateSystem();
        } catch (final Exception e1) {
          return null;
        }
      }
    }