[mapserver-commits] r10806 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Dec 17 15:59:08 EST 2010
Author: assefa
Date: 2010-12-17 12:59:07 -0800 (Fri, 17 Dec 2010)
New Revision: 10806
Modified:
trunk/mapserver/mapkmlrenderer.cpp
Log:
set kml_outputasraster at map level #3501
Modified: trunk/mapserver/mapkmlrenderer.cpp
===================================================================
--- trunk/mapserver/mapkmlrenderer.cpp 2010-12-17 20:57:50 UTC (rev 10805)
+++ trunk/mapserver/mapkmlrenderer.cpp 2010-12-17 20:59:07 UTC (rev 10806)
@@ -239,6 +239,8 @@
/*if layer has a metadata KML_OUTPUTASRASTER set to true, add a processing directive
to use an agg driver*/
asRaster = msLookupHashTable(&layer->metadata, "kml_outputasraster");
+ if (!asRaster)
+ asRaster = msLookupHashTable(&(layer->map->web.metadata), "kml_outputasraster");
if (asRaster && (strcasecmp(asRaster, "true") == 0 ||
strcasecmp(asRaster, "yes") == 0))
msLayerAddProcessing(layer, "RENDERER=png24");
More information about the mapserver-commits
mailing list