Пример #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;
        }
      }
    }