[mapserver-commits] r10791 - in trunk/mapserver/mapscript: php
swiginc
svn at osgeo.org
svn at osgeo.org
Thu Dec 9 11:38:25 EST 2010
Author: tamas
Date: 2010-12-09 08:38:24 -0800 (Thu, 09 Dec 2010)
New Revision: 10791
Modified:
trunk/mapserver/mapscript/php/mapscript_i.c
trunk/mapserver/mapscript/swiginc/shapefile.i
Log:
Fix build problems
Modified: trunk/mapserver/mapscript/php/mapscript_i.c
===================================================================
--- trunk/mapserver/mapscript/php/mapscript_i.c 2010-12-09 14:11:42 UTC (rev 10790)
+++ trunk/mapserver/mapscript/php/mapscript_i.c 2010-12-09 16:38:24 UTC (rev 10791)
@@ -1288,7 +1288,7 @@
msFreeShape(shape); /* frees all lines and points before re-filling */
msSHPReadShape(self->hSHP, i, shape);
- msTransformShapeToPixel(shape, map->extent, map->cellsize, MS_SIMPLIFY_DEFAULT);
+ msTransformShapeSimplify(shape, map->extent, map->cellsize);
return 0;
}
Modified: trunk/mapserver/mapscript/swiginc/shapefile.i
===================================================================
--- trunk/mapserver/mapscript/swiginc/shapefile.i 2010-12-09 14:11:42 UTC (rev 10790)
+++ trunk/mapserver/mapscript/swiginc/shapefile.i 2010-12-09 16:38:24 UTC (rev 10791)
@@ -104,7 +104,7 @@
msFreeShape(shape); /* frees all lines and points before re-filling */
msSHPReadShape(self->hSHP, i, shape);
- msTransformShapeToPixel(shape, map->extent, map->cellsize, MS_SIMPLIFY_DEFAULT);
+ msTransformShapeSimplify(shape, map->extent, map->cellsize);
return MS_SUCCESS;
}
More information about the mapserver-commits
mailing list