Revision 20914 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/process/GeoreferencingProcess.java

View differences:

GeoreferencingProcess.java
44 44
import java.io.IOException;
45 45

  
46 46
import org.gvsig.fmap.raster.layers.FLyrRasterSE;
47
import org.gvsig.georeferencing.process.geotransform.GeoTransformDataResult;
48 47
import org.gvsig.georeferencing.process.geotransform.GeoTransformProcess;
49 48
import org.gvsig.raster.IProcessActions;
50 49
import org.gvsig.raster.RasterProcess;
......
84 83
	//Fichero de salida
85 84
	private String                   filename           = null;
86 85
	
87
	// resutado de la transformacion 
88
	private GeoTransformDataResult   transformData      = null;
89 86
	
90 87
	// Lista puntos de control
91 88
	private GeoPoint                 gpcs[]             = null;
......
165 162
		double xmax=Math.max(p2[0],p4[0]);	
166 163
		double ymax=Math.max(p1[1],p2[1]);
167 164
		
168
		
169
		// OJO CON EL TAMA?O DE CELDA: CONSULTAR PARA EJEMPLO DE JOSE ES 25
170

  
171 165
		if(xCellSize <= 1)
172 166
			xCellSize = (xmax - xmin) / (double)rasterSE.getPxWidth();
173 167
		if(yCellSize <= 1)
174 168
			yCellSize = (ymax - ymin) / (double)rasterSE.getPxHeight();
175
		
176
		// Por ahora el grid se crea con xCellSize ante la imposibilidad de crearlo con dos tama?os de celda diferentes 	
169
			
177 170
		newExtend= new GridExtent(xmin, ymin, xmax, ymax, xCellSize);
178 171
		int datatype= rasterSE.getBufferFactory().getRasterBuf().getDataType();
179 172
		
......
367 360
	}
368 361

  
369 362
	
363
	/*
364
	 * (non-Javadoc)
365
	 * @see org.gvsig.gui.beans.incrementabletask.IIncrementable#getLabel()
366
	 */
367
	public String getLog() {
368
		return PluginServices.getText(this,"georreferencing_log_message");
369
	}
370

  
370 371
	
371 372
	public void interrupted() {
372 373
		// TODO Auto-generated method stub	
373 374
	}
374 375

  
375 376
	public void end(Object param) {	
376
		transformData = (GeoTransformDataResult)param;	
377 377
	}
378 378

  
379 379
}

Also available in: Unified diff