[mapserver-commits] r7775 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Jul 2 20:54:37 EDT 2008
Author: sdlime
Date: 2008-07-02 20:54:37 -0400 (Wed, 02 Jul 2008)
New Revision: 7775
Modified:
trunk/mapserver/mapdraw.c
trunk/mapserver/mapgd.c
Log:
Whoops, removed some debugging statements accidentally committed...
Modified: trunk/mapserver/mapdraw.c
===================================================================
--- trunk/mapserver/mapdraw.c 2008-07-03 00:50:36 UTC (rev 7774)
+++ trunk/mapserver/mapdraw.c 2008-07-03 00:54:37 UTC (rev 7775)
@@ -1332,8 +1332,6 @@
cliprect.maxx = map->extent.maxx + csz*map->cellsize;
cliprect.maxy = map->extent.maxy + csz*map->cellsize;
- printf("%f %f %f %f\n", cliprect.minx, cliprect.miny, cliprect.maxx, cliprect.maxy);
-
if(msBindLayerToShape(layer, shape) != MS_SUCCESS)
return MS_FAILURE; /* error message is set in msBindLayerToShape() */
@@ -1586,8 +1584,6 @@
return(MS_FAILURE);
}
- printf("Here!\n");
-
#ifdef USE_PROJ
if(layer->project && msProjectionsDiffer(&(layer->projection), &(map->projection)))
msProjectShape(&layer->projection, &map->projection, shape);
@@ -1617,11 +1613,9 @@
if(layer->transform == MS_TRUE) {
- printf("Transform!\n");
msClipPolylineRect(shape, cliprect);
if(shape->numlines == 0) return(MS_SUCCESS);
msTransformShape(shape, map->extent, map->cellsize, image);
- printf("%g,%g %g,%g\n", shape->line[0].point[0].x, shape->line[0].point[0].y, shape->line[0].point[1].x, shape->line[0].point[1].y);
} else
msOffsetShapeRelativeTo(shape, layer);
Modified: trunk/mapserver/mapgd.c
===================================================================
--- trunk/mapserver/mapgd.c 2008-07-03 00:50:36 UTC (rev 7774)
+++ trunk/mapserver/mapgd.c 2008-07-03 00:54:37 UTC (rev 7775)
@@ -860,10 +860,8 @@
imageOffsetPolyline(img, p, color, offsetx, offsety);
else {
for (i = 0; i < p->numlines; i++)
- for(j=1; j<p->line[i].numpoints; j++) {
- printf("IP: %d,%d %d,%d\n", (int)p->line[i].point[j-1].x, (int)p->line[i].point[j-1].y, (int)p->line[i].point[j].x, (int)p->line[i].point[j].y);
+ for(j=1; j<p->line[i].numpoints; j++)
gdImageLine(img, (int)p->line[i].point[j-1].x, (int)p->line[i].point[j-1].y, (int)p->line[i].point[j].x, (int)p->line[i].point[j].y, color);
- }
}
}
More information about the mapserver-commits
mailing list