[mapserver-commits] r7916 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Wed Sep 17 23:53:10 EDT 2008


Author: pramsey
Date: 2008-09-17 23:53:10 -0400 (Wed, 17 Sep 2008)
New Revision: 7916

Modified:
   trunk/mapserver/maptile.c
Log:
Add some information about equivalent metric exents to tile debugging info.


Modified: trunk/mapserver/maptile.c
===================================================================
--- trunk/mapserver/maptile.c	2008-09-18 03:52:17 UTC (rev 7915)
+++ trunk/mapserver/maptile.c	2008-09-18 03:53:10 UTC (rev 7916)
@@ -224,7 +224,11 @@
   msObj->ImgRows = SPHEREMERC_IMAGE_SIZE;
   map->width = SPHEREMERC_IMAGE_SIZE;
   map->height = SPHEREMERC_IMAGE_SIZE;
-  
+
+  if(map->debug) {
+    msDebug( "msTileSetExtent (%f, %f) (%f, %f)\n", map->extent.minx, map->extent.miny, map->extent.maxx, map->extent.maxy);
+  }
+ 
   return MS_SUCCESS;
 #else
   msSetError(MS_CGIERR, "Tile API is not available.", "msTileSetExtent()");



More information about the mapserver-commits mailing list