From fadc37ae050955dfcbde4f1e922f9e84961b57d3 Mon Sep 17 00:00:00 2001 From: Thomas Bonfort Date: Wed, 5 Sep 2012 14:14:50 +0200 Subject: [PATCH] fix ogc "equals" operator after rfc 64 (#3613) --- mapogcfiltercommon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mapogcfiltercommon.c b/mapogcfiltercommon.c index 0f1f9ae782..3bd93b3a71 100644 --- a/mapogcfiltercommon.c +++ b/mapogcfiltercommon.c @@ -538,6 +538,8 @@ char *FLTGetSpatialComparisonCommonExpression(FilterEncodingNode *psNode, layerO if (strncasecmp(psNode->pszValue, "intersect", 9) == 0) pszTmp = msStrdup("intersects"); + if (strncasecmp(psNode->pszValue, "equals", 9) == 0) + pszTmp = msStrdup("eq"); else pszTmp = msStrdup(psNode->pszValue); msStringToLower(pszTmp);