[mapserver-commits] r11096 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Sun Mar 6 14:58:09 EST 2011


Author: rouault
Date: 2011-03-06 11:58:09 -0800 (Sun, 06 Mar 2011)
New Revision: 11096

Modified:
   trunk/mapserver/mapwms.c
Log:
WMS : allow KMZ output

Modified: trunk/mapserver/mapwms.c
===================================================================
--- trunk/mapserver/mapwms.c	2011-03-06 19:40:54 UTC (rev 11095)
+++ trunk/mapserver/mapwms.c	2011-03-06 19:58:09 UTC (rev 11096)
@@ -699,7 +699,8 @@
                    strncasecmp(format->driver, "AGG/", 4) != 0 &&
                    strncasecmp(format->driver, "CAIRO/", 6) != 0 &&
                    strncasecmp(format->driver, "OGL/", 4) != 0 &&
-                   strncasecmp(format->driver, "KML", 3) != 0))
+                   strncasecmp(format->driver, "KML", 3) != 0 &&
+                   strncasecmp(format->driver, "KMZ", 3) != 0))
                   {
                       msSetError(MS_IMGERR,
                                  "Unsupported output format (%s).",



More information about the mapserver-commits mailing list