Revision 19145

View differences:

trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/clipping/ClippingProcess.java
272 272
				grw = GeoRasterWriter.getWriter(writerBufferServer, finalFileName,
273 273
						buffer.getBandCount(), affineTransform, buffer.getWidth(),
274 274
						buffer.getHeight(), buffer.getDataType(), params, null);
275
				grw.setColorBandsInterpretation(colorInterp.getValues());
275
				if(colorInterp != null)
276
					grw.setColorBandsInterpretation(colorInterp.getValues());
276 277
				grw.setWkt(dsetCopy.getWktProjection());
277 278
				grw.dataWrite();
278 279
				grw.writeClose();

Also available in: Unified diff