Revision 10707
trunk/extensions/extWCS/src/com/iver/cit/gvsig/fmap/layers/FLyrWCS.java | ||
---|---|---|
58 | 58 |
import java.net.URL; |
59 | 59 |
import java.util.ArrayList; |
60 | 60 |
import java.util.Hashtable; |
61 |
import java.util.Iterator; |
|
61 | 62 |
import java.util.Map; |
62 | 63 |
|
63 | 64 |
import javax.print.attribute.PrintRequestAttributeSet; |
... | ... | |
74 | 75 |
import org.gvsig.remoteClient.wms.ICancellable; |
75 | 76 |
|
76 | 77 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
77 |
import com.iver.andami.PluginServices;
|
|
78 |
import com.hardcode.gdbms.engine.data.driver.DriverException;
|
|
78 | 79 |
import com.iver.cit.gvsig.exceptions.layers.ConnectionErrorLayerException; |
79 | 80 |
import com.iver.cit.gvsig.exceptions.layers.LoadLayerException; |
80 | 81 |
import com.iver.cit.gvsig.exceptions.layers.UnsupportedVersionLayerException; |
81 | 82 |
import com.iver.cit.gvsig.exceptions.visitors.VisitorException; |
82 |
import com.iver.cit.gvsig.fmap.ConnectionErrorExceptionType; |
|
83 |
import com.iver.cit.gvsig.fmap.UnknownResponseFormatExceptionType; |
|
84 |
import com.iver.cit.gvsig.fmap.UnsuportedProtocolVersionExceptionType; |
|
85 | 83 |
import com.iver.cit.gvsig.fmap.ViewPort; |
86 |
import com.iver.cit.gvsig.fmap.WCSDriverExceptionType; |
|
87 | 84 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
88 | 85 |
import com.iver.cit.gvsig.fmap.drivers.wcs.FMapWCSDriver; |
89 | 86 |
import com.iver.cit.gvsig.fmap.drivers.wcs.FMapWCSDriverFactory; |
... | ... | |
847 | 844 |
xml.putProperty("wcs.coverageName", coverageName ); |
848 | 845 |
xml.putProperty("wcs.maxResX", maxRes.getX()); |
849 | 846 |
xml.putProperty("wcs.maxResY", maxRes.getY()); |
847 |
|
|
848 |
Iterator it = onlineResources.keySet().iterator(); |
|
849 |
String strOnlines = ""; |
|
850 |
while (it.hasNext()) { |
|
851 |
String key = (String) it.next(); |
|
852 |
String value = (String) onlineResources.get(key); |
|
853 |
strOnlines += key+"~##SEP2##~"+value; |
|
854 |
if (it.hasNext()) |
|
855 |
strOnlines += "~##SEP1##~"; |
|
856 |
} |
|
857 |
xml.putProperty("onlineResources", strOnlines); |
|
858 |
|
|
850 | 859 |
if (status!=null) |
851 | 860 |
status.getXMLEntity(xml, true, this); |
852 | 861 |
else{ |
Also available in: Unified diff