[mapserver-commits] r13033 - sandbox/inspire_soc2011/mapserver

svn at osgeo.org svn at osgeo.org
Fri Feb 3 12:41:49 EST 2012


Author: schpidi
Date: 2012-02-03 09:41:49 -0800 (Fri, 03 Feb 2012)
New Revision: 13033

Modified:
   sandbox/inspire_soc2011/mapserver/mapwms.c
Log:
Resolving #4144 in inspire sandbox.


Modified: sandbox/inspire_soc2011/mapserver/mapwms.c
===================================================================
--- sandbox/inspire_soc2011/mapserver/mapwms.c	2012-02-03 17:30:53 UTC (rev 13032)
+++ sandbox/inspire_soc2011/mapserver/mapwms.c	2012-02-03 17:41:49 UTC (rev 13033)
@@ -4673,9 +4673,14 @@
            psScale = values[i];
          else if (strcasecmp(names[i], "STYLE") == 0)
            pszStyle = values[i];
+#endif
+/* -------------------------------------------------------------------- */
+/*      SLD support:                                                    */
+/*        - because the request parameter "sld_version" is required in  */
+/*          in WMS 1.3.0, it will be set regardless of OGR support.     */
+/* -------------------------------------------------------------------- */
          else if(strcasecmp(names[i], "SLD_VERSION") == 0) 
            sld_version = values[i];
-#endif
      }
 
      if (!pszLayer)



More information about the mapserver-commits mailing list