Revision 2327

View differences:

trunk/extensions/extWCS/src/com/iver/cit/gvsig/gui/Panels/PropertiesWCSDialog.java
204 204
	 * Loads the info panel data.
205 205
	 */
206 206
	private void loadInfoData(){
207
		Rectangle2D r = fLayer.getFullExtent();
207 208
		if(fLayer.getWCSAdaptor()!=null){
208 209
			props = new Object[nprops][2];
209 210
			props[0][0] = new String(PluginServices.getText(this,"Fichero_"));
......
211 212
			props[1][0] = new String(PluginServices.getText(this,"num_bandas"));
212 213
			props[1][1] = new String(String.valueOf( grf.getBandCount()));
213 214
			props[2][0] = new String(PluginServices.getText(this,"ancho_alto"));
214
			props[2][1] = grf.getWidth()+" X "+grf.getHeight();
215
			props[2][1] = (int)(r.getWidth()/fLayer.getMaxResolution())+" X "+(int)(r.getHeight()/fLayer.getMaxResolution());
215 216
			props[3][0] = new String(PluginServices.getText(this,"formato"));
216 217
			props[3][1] = grf.getName().substring(
217 218
					grf.getName().lastIndexOf('.')+1, 

Also available in: Unified diff