Revision 39586 trunk/extensions/extCatalogAndGazetteer/src/es/gva/cit/gvsig/catalog/loaders/WCSLayerLoader.java

View differences:

WCSLayerLoader.java
46 46

  
47 47
import org.gvsig.i18n.Messages;
48 48

  
49
import com.iver.andami.PluginServices;
49 50
import com.iver.cit.gvsig.fmap.layers.FLayer;
51
import com.iver.cit.gvsig.project.documents.view.gui.BaseView;
50 52
import com.iver.utiles.extensionPoints.ExtensionPoint;
51 53
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton;
52 54

  
......
122 124
		if ((name != null) && (!name.equals(""))){
123 125
			map.put("COVERAGE",name);
124 126
		}
127
		BaseView activeView = 
128
				(BaseView) PluginServices.getMDIManager().getActiveWindow();
129
		map.put("CRS", activeView.getProjection().getAbrev());
130
		map.put("FORMAT", "GEOTIFF");
125 131
		return map;
126 132
	}	
127 133
	

Also available in: Unified diff