Revision 17652
trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/bands/NoDataListManager.java | ||
---|---|---|
84 | 84 |
|
85 | 85 |
public void addFilter(Class classFilter, Params params) throws FilterTypeException { |
86 | 86 |
if (classFilter.equals(NoDataFilter.class)) { |
87 |
Double noDataValue = Double.valueOf(RasterLibrary.noDataValue);
|
|
87 |
Double noDataValue = Double.valueOf(RasterLibrary.defaultNoDataValue);
|
|
88 | 88 |
for (int i = 0; i < params.getNumParams(); i++) { |
89 | 89 |
if (params.getParam(i).id.equals("noDataValue")) |
90 | 90 |
noDataValue = (Double) params.getParam(i).defaultValue; |
trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/bands/NoDataFilter.java | ||
---|---|---|
39 | 39 |
public class NoDataFilter extends RasterFilter { |
40 | 40 |
protected IBuffer rasterAlpha = null; |
41 | 41 |
public static String[] names = new String[] { "nodata" }; |
42 |
public double noDataValue = RasterLibrary.noDataValue;
|
|
42 |
public double noDataValue = RasterLibrary.defaultNoDataValue;
|
|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* Constructor |
Also available in: Unified diff