[mapserver-commits] r8595 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Feb 19 09:53:10 EST 2009


Author: aboudreault
Date: 2009-02-19 09:53:09 -0500 (Thu, 19 Feb 2009)
New Revision: 8595

Modified:
   trunk/mapserver/mapogr.cpp
Log:
Set the minimal gdal version for a few ogr label style properties

Modified: trunk/mapserver/mapogr.cpp
===================================================================
--- trunk/mapserver/mapogr.cpp	2009-02-19 05:11:41 UTC (rev 8594)
+++ trunk/mapserver/mapogr.cpp	2009-02-19 14:53:09 UTC (rev 8595)
@@ -1055,6 +1055,7 @@
         if (layer->debug >= MS_DEBUGLEVEL_VVV)
             msDebug(MSOGR_LABELPRIORITYNAME " = \"%s\"\n", values[i]);
     }
+#if GDAL_VERSION_NUM >= 1400
     else if (itemindexes[i] == MSOGR_LABELSTRIKEOUTINDEX)
     {
         if (poLabelStyle == NULL
@@ -1099,7 +1100,6 @@
         if (layer->debug >= MS_DEBUGLEVEL_VVV)
             msDebug(MSOGR_LABELADJVERTNAME " = \"%s\"\n", values[i]);
     }
-#if GDAL_VERSION_NUM >= 1400
     else if (itemindexes[i] == MSOGR_LABELHCOLORINDEX)
     {
         if (poLabelStyle == NULL



More information about the mapserver-commits mailing list