[mapserver-commits] r11365 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Mar 29 12:08:43 EDT 2011
Author: warmerdam
Date: 2011-03-29 09:08:43 -0700 (Tue, 29 Mar 2011)
New Revision: 11365
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/maptemplate.c
Log:
fix querymap production for ondemand outputformat initialization
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-03-29 14:30:37 UTC (rev 11364)
+++ trunk/mapserver/HISTORY.TXT 2011-03-29 16:08:43 UTC (rev 11365)
@@ -14,6 +14,9 @@
Current Version (SVN trunk):
----------------------------
+- fix query map generation error introduced in beta2 when output format
+ initialized was made as needed.
+
- fix incorrect PATTERN behavior on agg lines (#3787)
- report SOS DescribeObservationType in Capabilities (#3777)
Modified: trunk/mapserver/maptemplate.c
===================================================================
--- trunk/mapserver/maptemplate.c 2011-03-29 14:30:37 UTC (rev 11364)
+++ trunk/mapserver/maptemplate.c 2011-03-29 16:08:43 UTC (rev 11365)
@@ -240,10 +240,16 @@
return MS_FAILURE;
}
+ msApplyDefaultOutputFormats(map);
+
i = msGetOutputFormatIndex(map, queryFormat); /* queryFormat can be a mime-type or name */
if(i >= 0) outputFormat = map->outputformatlist[i];
if(outputFormat) {
+ if( MS_RENDERER_PLUGIN(outputFormat) ) {
+ msInitializeRendererVTable(outputFormat);
+ }
+
if( MS_RENDERER_OGR(outputFormat) )
{
if( mapserv != NULL )
More information about the mapserver-commits
mailing list