Revision 38579 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wms/wms_1_1_0/request/WMSGetFeatureInfoRequest1_1_0.java

View differences:

WMSGetFeatureInfoRequest1_1_0.java
56 56
		req.append(onlineResource);
57 57
		req.append("REQUEST=GetFeatureInfo&SERVICE=WMS&");
58 58
		req.append("QUERY_LAYERS=").append(Utilities.Vector2CS(status.getLayerNames()));
59
		req.append("&VERSION=").append(protocolHandler.getVersion()).append("&INFO_FORMAT=application/vnd.ogc.gml&");
59
		//req.append("&VERSION=").append(protocolHandler.getVersion()).append("&INFO_FORMAT=application/vnd.ogc.gml&");
60
		req.append("&VERSION=").append(protocolHandler.getVersion()).append("&INFO_FORMAT=" + status.getInfoFormat() + "&");
60 61
		req.append(getPartialQuery(status)).append("&x="+ x + "&y=" + y);
61 62
		//this parameter sets the max number of features per layer to be returned.
62 63
		//we set it to avoid the bug in mapserver that takes this number like max number of total features.

Also available in: Unified diff