Revision 2100 org.gvsig.raster.principalcomponents/trunk/org.gvsig.raster.principalcomponents/org.gvsig.raster.principalcomponents.sextante/src/main/java/org/gvsig/raster/principalcomponents/PrincipalComponentsSextanteAlgorithm.java

View differences:

PrincipalComponentsSextanteAlgorithm.java
22 22
 */
23 23
public class PrincipalComponentsSextanteAlgorithm extends AbstractSextanteGeoProcess {
24 24
    public static final String RESULT            = "RESULT";
25
    public static final String LAYER             = PrincipalComponentsProcess.RASTER_STORE1;
25
    public static final String LAYER             = PrincipalComponentsProcess.RASTER_STORE;
26 26
    
27 27

  
28 28
    public void defineCharacteristics() {
......
67 67
    	
68 68
    	String fileName = ((FLyrRasterIRasterLayer)output).getFileName(); //getOutPutFile(RESULT);
69 69
    	task.addParam(PrincipalComponentsProcess.PATH, fileName);
70
		task.addParam(PrincipalComponentsProcess.RASTER_STORE1, lyrRaster.getDataStore());
70
		task.addParam(PrincipalComponentsProcess.RASTER_STORE, lyrRaster.getDataStore());
71 71
		//TODO:Add parameters
72
		task.addParam(PrincipalComponentsProcess.EXPORT, true);
72
		/*task.addParam(PrincipalComponentsProcess.EXPORT, true);
73 73
		task.addParam(PrincipalComponentsProcess.TEST_EXTENT, bbox);
74 74
		task.addParam(PrincipalComponentsProcess.TEST_WIDTH, ext.getNX());
75
		task.addParam(PrincipalComponentsProcess.TEST_HEIGHT, ext.getNY());
75
		task.addParam(PrincipalComponentsProcess.TEST_HEIGHT, ext.getNY());*/
76 76
		
77 77
		try {
78 78
			task.execute();

Also available in: Unified diff