[mapserver-commits] r7192 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Dec 19 13:31:02 EST 2007


Author: warmerdam
Date: 2007-12-19 13:31:01 -0500 (Wed, 19 Dec 2007)
New Revision: 7192

Modified:
   trunk/mapserver/mapogr.cpp
Log:
fix last fix.


Modified: trunk/mapserver/mapogr.cpp
===================================================================
--- trunk/mapserver/mapogr.cpp	2007-12-19 17:48:12 UTC (rev 7191)
+++ trunk/mapserver/mapogr.cpp	2007-12-19 18:31:01 UTC (rev 7192)
@@ -1084,11 +1084,11 @@
   OGR_G_AddPoint_2D( hRing, rect.minx, rect.maxy);
   OGR_G_AddPoint_2D( hRing, rect.minx, rect.miny);
 #else
-  OGR_G_AddPoint( hRing, rect.minx, rect.miny);
-  OGR_G_AddPoint( hRing, rect.maxx, rect.miny);
-  OGR_G_AddPoint( hRing, rect.maxx, rect.maxy);
-  OGR_G_AddPoint( hRing, rect.minx, rect.maxy);
-  OGR_G_AddPoint( hRing, rect.minx, rect.miny);
+  OGR_G_AddPoint( hRing, rect.minx, rect.miny, 0);
+  OGR_G_AddPoint( hRing, rect.maxx, rect.miny, 0);
+  OGR_G_AddPoint( hRing, rect.maxx, rect.maxy, 0);
+  OGR_G_AddPoint( hRing, rect.minx, rect.maxy, 0);
+  OGR_G_AddPoint( hRing, rect.minx, rect.miny, 0);
 #endif
 
   OGR_G_AddGeometryDirectly( hSpatialFilterPolygon, hRing );



More information about the mapserver-commits mailing list