Revision 1863
org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.app/org.gvsig.raster.wmts.app.wmtsclient/src/main/java/org/gvsig/raster/wmts/app/wmtsclient/layer/FLyrWMTS.java | ||
---|---|---|
332 | 332 |
adjustedExtent.getUpperCorner().getX(), |
333 | 333 |
adjustedExtent.getLowerCorner().getY()); |
334 | 334 |
Dimension imgSz = viewPort.getImageSize(); |
335 |
ViewPortData vp2 = rManager.createViewPortData(viewPort.getProjection(), ext, imgSz ); |
|
335 |
ViewPortData vp2 = rManager.getDataStructFactory().createViewPortData(viewPort.getProjection(), ext, imgSz );
|
|
336 | 336 |
vp2.setMat(viewPort.getAffineTransform()); |
337 | 337 |
|
338 | 338 |
TaskStatusManager manager = ToolsLocator.getTaskStatusManager(); |
org.gvsig.raster.wcs/trunk/org.gvsig.raster.wcs/org.gvsig.raster.wcs.app/org.gvsig.raster.wcs.app.wcsclient/src/main/java/org/gvsig/raster/wcs/app/wcsclient/layer/FLyrWCS.java | ||
---|---|---|
357 | 357 |
vp.getAdjustedEnvelope().getMaximum(1), |
358 | 358 |
vp.getAdjustedEnvelope().getMaximum(0), |
359 | 359 |
vp.getAdjustedEnvelope().getMinimum(1)); |
360 |
ViewPortData vpData = rManager.createViewPortData(vp.getProjection(), ex, sz ); |
|
360 |
ViewPortData vpData = rManager.getDataStructFactory().createViewPortData(vp.getProjection(), ex, sz );
|
|
361 | 361 |
vpData.setMat(vp.getAffineTransform()); |
362 | 362 |
|
363 | 363 |
try { |
org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/saveraster/operation/SaveRasterProcess.java | ||
---|---|---|
106 | 106 |
Envelope env = viewPort.getAdjustedEnvelope(); |
107 | 107 |
Extent ex = rManager.getDataStructFactory().createExtent(env.getMinimum(0), env.getMaximum(1), env.getMaximum(0), env.getMinimum(1)); |
108 | 108 |
Dimension imgSz = viewPort.getImageSize(); |
109 |
ViewPortData vpData = rManager.createViewPortData(viewPort.getProjection(), ex, imgSz ); |
|
109 |
ViewPortData vpData = rManager.getDataStructFactory().createViewPortData(viewPort.getProjection(), ex, imgSz );
|
|
110 | 110 |
AffineTransform at = new AffineTransform(vpData.getExtent().width() / imgSz.width, |
111 | 111 |
0, 0, |
112 | 112 |
-(vpData.getExtent().height() / imgSz.height), |
org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.algorithm/org.gvsig.raster.tools.algorithm.saveraster/src/main/java/org/gvsig/raster/tools/algorithm/saveraster/SaveRasterProcess.java | ||
---|---|---|
114 | 114 |
Envelope env = viewPort.getAdjustedEnvelope(); |
115 | 115 |
Extent ex = rManager.getDataStructFactory().createExtent(env.getMinimum(0), env.getMaximum(1), env.getMaximum(0), env.getMinimum(1)); |
116 | 116 |
Dimension imgSz = viewPort.getImageSize(); |
117 |
ViewPortData vpData = rManager.createViewPortData(viewPort.getProjection(), ex, imgSz ); |
|
117 |
ViewPortData vpData = rManager.getDataStructFactory().createViewPortData(viewPort.getProjection(), ex, imgSz );
|
|
118 | 118 |
AffineTransform at = new AffineTransform(vpData.getExtent().width() / imgSz.width, |
119 | 119 |
0, 0, |
120 | 120 |
-(vpData.getExtent().height() / imgSz.height), |
org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.fmap/src/main/java/org/gvsig/raster/fmap/layers/DefaultFLyrRaster.java | ||
---|---|---|
195 | 195 |
* operaciones con ROIs asociados sean lo m?s r?pidas posible. |
196 | 196 |
*/ |
197 | 197 |
private List<ROI> rois = null; |
198 |
private File roisFile = null; |
|
199 | 198 |
|
200 | 199 |
public class RasterTaskStatus extends BaseTaskStatus { |
201 | 200 |
Cancellable c = null; |
... | ... | |
659 | 658 |
adjustedExtent |
660 | 659 |
.getLowerCorner().getY()); |
661 | 660 |
Dimension imgSz = vp.getImageSize(); |
662 |
ViewPortData vp2 = rManager.createViewPortData(vp.getProjection(), e, imgSz ); |
|
661 |
ViewPortData vp2 = rManager.getDataStructFactory().createViewPortData(vp.getProjection(), e, imgSz );
|
|
663 | 662 |
vp2.setMat(vp.getAffineTransform()); |
664 | 663 |
//vp2.setTime(vp.getTime()); |
665 | 664 |
|
org.gvsig.raster.wms/trunk/org.gvsig.raster.wms/org.gvsig.raster.wms.app/org.gvsig.raster.wms.app.wmsclient/src/main/java/org/gvsig/raster/wms/app/wmsclient/layer/FLyrWMS.java | ||
---|---|---|
417 | 417 |
vp.getAdjustedEnvelope().getMaximum(1), |
418 | 418 |
vp.getAdjustedEnvelope().getMaximum(0), |
419 | 419 |
vp.getAdjustedEnvelope().getMinimum(1)); |
420 |
ViewPortData vpData = rManager.createViewPortData(vp.getProjection(), ex, sz ); |
|
420 |
ViewPortData vpData = rManager.getDataStructFactory().createViewPortData(vp.getProjection(), ex, sz );
|
|
421 | 421 |
vpData.setMat(vp.getAffineTransform()); |
422 | 422 |
|
423 | 423 |
try { |
Also available in: Unified diff