Permalink
Browse files

Fix build when OWS is not enabled

  • Loading branch information...
szekerest committed May 18, 2016
1 parent 7bc388d commit abd8e2333ead2dacdaf9dff268f0242671e5cbfa
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapquery.c
View
@@ -772,7 +772,7 @@ int msQueryByFilter(mapObj *map)
int bUseLayerSRS = MS_FALSE;
int numFeatures = -1;
#ifdef USE_PROJ
#if defined(USE_PROJ) && (defined(USE_WMS_SVR) || defined (USE_WFS_SVR) || defined (USE_WCS_SVR) || defined(USE_SOS_SVR) || defined(USE_WMS_LYR) || defined(USE_WFS_LYR))
/* Optimization to detect the case where a WFS query uses in fact the */
/* whole layer extent, but expressed in a map SRS different from the layer SRS */
/* In the case, we can directly request against the layer extent in its native SRS */
@@ -1047,7 +1047,7 @@ int msQueryByRect(mapObj *map)
int bUseLayerSRS = MS_FALSE;
int numFeatures = -1;
#ifdef USE_PROJ
#if defined(USE_PROJ) && (defined(USE_WMS_SVR) || defined (USE_WFS_SVR) || defined (USE_WCS_SVR) || defined(USE_SOS_SVR) || defined(USE_WMS_LYR) || defined(USE_WFS_LYR))
/* Optimization to detect the case where a WFS query uses in fact the */
/* whole layer extent, but expressed in a map SRS different from the layer SRS */
/* In the case, we can directly request against the layer extent in its native SRS */

0 comments on commit abd8e23

Please sign in to comment.