Revision 18833 trunk/extensions/extGeoreferencing/src/org/gvsig/georeferencing/process/GeoreferencingProcess.java
GeoreferencingProcess.java | ||
---|---|---|
101 | 101 |
private Grid gridResult=null; |
102 | 102 |
|
103 | 103 |
WriterBufferServer writerBufferServer=null; |
104 |
|
|
105 |
private int orden=0; |
|
104 | 106 |
|
105 | 107 |
/** Metodo que recoge los parametros del proceso georreferenciacion de un raster |
106 | 108 |
* <LI>rasterSE: capa a georeferenciar</LI> |
... | ... | |
113 | 115 |
filename= (String)getParam("filename"); |
114 | 116 |
rMethod=(int)getIntParam("method"); |
115 | 117 |
gpcs = (GeoPoint[])getParam("gpcs"); |
116 |
|
|
118 |
orden= (int)getIntParam("orden"); |
|
117 | 119 |
// Inicializacion del grid correspondiente a la imagen a corregir |
118 | 120 |
IRasterDataSource dsetCopy = null; |
119 | 121 |
dsetCopy = rasterSE.getDataSource().newDataset(); |
... | ... | |
134 | 136 |
GeoTransformProcess transform = new GeoTransformProcess(); |
135 | 137 |
transform.setActions(this); |
136 | 138 |
transform.addParam("gpcs",gpcs); |
137 |
transform.addParam("orden",new Integer(3));
|
|
139 |
transform.addParam("orden",new Integer(orden));
|
|
138 | 140 |
transform.process(); |
139 | 141 |
|
140 | 142 |
// Obtenida la transformacion la aplicamos a los puntos extremos de la imagen |
Also available in: Unified diff