Permalink
Browse files

Ignore the return status from filter translation. Let MapServer handl…

…e cases where translation fails.
  • Loading branch information...
sdlime committed Feb 11, 2015
1 parent 6b8843c commit 2e3fce1000e313164af6d2f859d5d654984cc264
Showing with 5 additions and 4 deletions.
  1. +5 −4 mapdraw.c
View
@@ -886,10 +886,11 @@ int msDrawVectorLayer(mapObj *map, layerObj *layer, imageObj *image)
if(!msLayerSupportsCommonFilters(layer))
status = msLayerTranslateFilter(layer, &layer->filter, layer->filteritem);
- if(status != MS_SUCCESS) {
- msLayerClose(layer);
- return MS_FAILURE;
- }
+ /* we ignore the translation status here - MapServer will fall back to its own expression evaluation */
+ // if(status != MS_SUCCESS) {
+ // msLayerClose(layer);
+ // return MS_FAILURE;
+ // }
/* identify target shapes */
if(layer->transform == MS_TRUE) {

0 comments on commit 2e3fce1

Please sign in to comment.