<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I would concur with Ian and Jeff.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">My experience of WMS servers is that those that say that they are 1.3.0 are miss-configured or are just not following the standard well enough.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Not all of the WMS 1.3.0 servers are at fault but enough that it is safer and less time consuming to default to 1.1.0.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Because of this we changed the default behavior of our software to ask for 1.1.1 first unless the user has specifically asked us to use 1.3.0.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Regards</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Damian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 March 2016 at 15:09, Timothy Astle <span dir="ltr"><<a href="mailto:timothy.astle@caris.com" target="_blank">timothy.astle@caris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">To be clear, I personally don't have a problem with 1.1.1.  My concern is about version negotiation as a WMS client.  I've seen users omit the version and then when something doesn't behave as expected, they manually (in a web browser) make a request as follows:<br>
<br>
<a href="http://www.example.com?request=GetCapabilities&service=WMS" rel="noreferrer" target="_blank">http://www.example.com?request=GetCapabilities&service=WMS</a><br>
<br>
But as well all know, that'd return a WMS 1.3.0 service capabilities document (assuming the server supports 1.3.0).  So they look at that document and cannot identify the problem.  Then they fuddle around and eventually realize that GDAL overrides the version and it makes a request as follows:<br>
<br>
<a href="http://www.example.com?request=GetCapabilities&service=WMS&version=1.1.1" rel="noreferrer" target="_blank">http://www.example.com?request=GetCapabilities&service=WMS&version=1.1.1</a><br>
<br>
I think WMS 1.3.0 has been annoying since day one, especially with attention to axis ordering (ISO-ifying). *cough, cough*  However, I can't recall seeing a server that didn't support 1.3.0.  I have no objection about a user choosing a default version to use by explicitly specifying it.  My objection is that if a version is omitted, the software chooses an old default (which doesn't fit into typical version negotiation with a server) which can cause confusion.<br>
<br>
I'm wondering if we're past the 1.3.0 "hate-on" yet? :)  It does seem a bit "big brother" to peg OWS client negotiation to a old version in a library.  I assume there are reasons, and I've been the first in this thread to cite possibly the biggest one.<br>
<br>
Thanks for your feedback so far.  Everyone loves a good WMS 1.3.0 discussion :)<br>
<br>
Tim<span class="im HOEnZb"><br>
<br>
On 02/03/2016 9:58 AM, Timothy Astle wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does anyone know why the WMS Driver defaults to version 1.1.1 instead of 1.3.0 by default?  Does anyone have any objections with this changing to 1.3.0?  It seems like 1.3.0 would fall more into line with the specifications content negotiation.<br>
<br>
<a href="https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/wms/wmsdriver.cpp#L96" rel="noreferrer" target="_blank">https://github.com/OSGeo/gdal/blob/trunk/gdal/frmts/wms/wmsdriver.cpp#L96</a><br>
<a href="http://www.gdal.org/frmt_wms.html" rel="noreferrer" target="_blank">http://www.gdal.org/frmt_wms.html</a><br>
"WMS version. (optional, defaults to 1.1.1)"<br>
<br>
</blockquote></span><div class="HOEnZb"><div class="h5">
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></div></blockquote></div><br></div>