Revision 30122 trunk/extensions/extRasterTools-SE/src/org/gvsig/raster/util/process/ClippingProcess.java

View differences:

ClippingProcess.java
191 191
			BufferFactory bufferFactory = new BufferFactory(dsetCopy);
192 192
			bufferFactory.setDrawableBands(drawableBands);
193 193
	
194
			if(	interpolationMethod != BufferInterpolation.INTERPOLATION_Undefined &&
195
					interpolationMethod != BufferInterpolation.INTERPOLATION_NearestNeighbour) {
194
			if(interpolationMethod != BufferInterpolation.INTERPOLATION_Undefined) {
196 195
				try {
197 196
					if(pValues != null) {
198 197
						if (RasterBuffer.isBufferTooBig(new double[] { pValues[0], pValues[3], pValues[2], pValues[1] }, drawableBands.length))

Also available in: Unified diff