Revision 162 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/writer/DefaultRasterWriter.java

View differences:

DefaultRasterWriter.java
36 36
import org.gvsig.fmap.dal.coverage.util.FileUtils;
37 37
import org.gvsig.fmap.dal.coverage.util.RasterUtils;
38 38
import org.gvsig.raster.impl.store.ParamsImpl;
39
import org.gvsig.raster.impl.store.properties.DatasetColorInterpretation;
39
import org.gvsig.raster.impl.store.properties.DataStoreColorInterpretation;
40 40
import org.gvsig.raster.util.DefaultProviderServices;
41 41

  
42 42
import es.gva.cit.jgdal.GdalException;
......
67 67
	protected int                        percent        = 0;
68 68
	protected int                        dataType       = Buffer.TYPE_BYTE;
69 69
	protected IProjection                proj           = null;
70
	protected DatasetColorInterpretation colorInterp    = null;
70
	protected DataStoreColorInterpretation colorInterp    = null;
71 71
	protected ExternalCancellable        extCancellable = null;
72 72
	protected FileUtils                  fileUtil       = RasterLocator.getManager().getFileUtils();
73 73
	protected RasterUtils                rasterUtil     = RasterLocator.getManager().getRasterUtils();
......
168 168
	 */
169 169
	public void setColorBandsInterpretation(String[] colorInterp) {
170 170
		if (colorInterp != null) {
171
			this.colorInterp = new DatasetColorInterpretation();
171
			this.colorInterp = new DataStoreColorInterpretation();
172 172
			this.colorInterp.initColorInterpretation(colorInterp.length);
173 173
			for (int i = 0; i < colorInterp.length; i++)
174 174
				this.colorInterp.setColorInterpValue(i, colorInterp[i]);

Also available in: Unified diff