Revision 7642 branches/v10/extensions/extWMS/src/com/iver/cit/gvsig/fmap/layers/FLyrWMS.java
FLyrWMS.java | ||
---|---|---|
707 | 707 |
MyCancellable c = new MyCancellable(cancel); |
708 | 708 |
|
709 | 709 |
try { |
710 |
wImg = vp.getImageWidth(); |
|
711 |
hImg = vp.getImageHeight(); |
|
712 |
sz = new Dimension(vp.getImageWidth(), vp.getImageHeight());
|
|
710 |
// wImg = vp.getImageWidth();
|
|
711 |
// hImg = vp.getImageHeight();
|
|
712 |
sz = new Dimension(wImg, hImg);
|
|
713 | 713 |
Rectangle2D.intersect(vp.getAdjustedExtent(), extent, bBox); |
714 | 714 |
|
715 | 715 |
|
... | ... | |
754 | 754 |
return; |
755 | 755 |
String nameWordFile = f.getPath() + getExtensionWorldFile(); |
756 | 756 |
com.iver.andami.Utilities.createTemp(nameWordFile, this.getDataWorldFile(bBox, sz)); |
757 |
|
|
757 |
|
|
758 | 758 |
ViewPortData vpData = new ViewPortData( |
759 | 759 |
vp.getProjection(), new Extent(bBox), sz ); |
760 | 760 |
vpData.setMat(vp.getAffineTransform()); |
761 | 761 |
|
762 | 762 |
rasterProcess(g, vpData, f); |
763 |
|
|
763 |
|
|
764 | 764 |
} catch (ValidationException e) { |
765 | 765 |
if (!c.isCanceled()) |
766 | 766 |
throw new DriverException(PluginServices.getText(this, "unknown_response_format"), e); |
... | ... | |
845 | 845 |
status.applyStatus(this); |
846 | 846 |
firstLoad = false; |
847 | 847 |
} |
848 |
|
|
848 |
|
|
849 | 849 |
//Recuperamos la pila de filtros si ya hubiese sido cargado antes |
850 | 850 |
if(this.filterStack!=null) |
851 | 851 |
raster.filterStack = this.filterStack; |
Also available in: Unified diff