[mapserver-commits] r10917 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jan 26 14:30:24 EST 2011


Author: assefa
Date: 2011-01-26 11:30:24 -0800 (Wed, 26 Jan 2011)
New Revision: 10917

Modified:
   trunk/mapserver/mapogcsld.c
Log:
use new parser for wfs filter #3613

Modified: trunk/mapserver/mapogcsld.c
===================================================================
--- trunk/mapserver/mapogcsld.c	2011-01-26 19:29:02 UTC (rev 10916)
+++ trunk/mapserver/mapogcsld.c	2011-01-26 19:30:24 UTC (rev 10917)
@@ -64,7 +64,7 @@
 #ifdef USE_OGR
 
 /* needed for libcurl function msHTTPGetFile in maphttp.c */
-#if defined(USE_WMS_LYR) || defined(USE_WFS_LYR)
+#if defined(USE_CURL)
 
     char *pszSLDTmpFile = NULL;
     int status = 0;
@@ -96,7 +96,7 @@
         }
         else
         {
-            msSetError(MS_WMSERR, "Could not open SLD %s and save it in temporary file %s. Please make sure that the sld url is valid and that imagepath and imageurl are set properly in the map file", "msSLDApplySLDURL", szURL, pszSLDTmpFile);
+            msSetError(MS_WMSERR, "Could not open SLD %s and save it in temporary file %s. Please make sure that the sld url is valid and that the temporary path is set. The temporary path can be defined for example by setting TMPPATH in the map file. Please check the MapServer documentation on temporary path settings.", "msSLDApplySLDURL", szURL, pszSLDTmpFile);
         }
         if (pszSLDbuf)
           nStatus = msSLDApplySLD(map, pszSLDbuf, iLayer, pszStyleLayerName);
@@ -358,9 +358,9 @@
 
                         nStatus = 
                             FLTApplyFilterToLayer(psNode, map,  
-                                                  GET_LAYER(map, i)->index,
-                                                  !FLTIsSimpleFilter(psNode));
+                                                  GET_LAYER(map, i)->index);
 
+
                         GET_LAYER(map, i)->status = nLayerStatus;
                         FLTFreeFilterEncodingNode(psNode);
 
@@ -2264,7 +2264,7 @@
                                styleObj *psStyle,  mapObj *map)
 {
 /* needed for libcurl function msHTTPGetFile in maphttp.c */
-#if defined(USE_WMS_LYR) || defined(USE_WFS_LYR)
+#if defined(USE_CURL)
 
     char *pszFormat = NULL;
     CPLXMLNode *psURL=NULL, *psFormat=NULL, *psTmp=NULL;



More information about the mapserver-commits mailing list