[mapserver-users] Buffer

Jeppe Lund Andersen JXA at cowi.dk
Mon Dec 22 06:31:16 EST 2008


Hello all

I need a little help here
If I run the following


$NewShapeFromWkt = ms_shapeObjFromWkt( "MULTIPOLYGON(((566725.7595
6131923.3645, 566755.923 6131916.786, 566774.0885 6131912.417,
566794.538 6131907.418, 566798.6035 6131901.309, 566788.164
6131836.8625, 566779.4235 6131830.6935, 566724.0525 6131841.7915,
566723.665 6131863.507, 566714.6605 6131868.216, 566718.157
6131885.2325, 566725.7595 6131923.3645)), ((566655.975 6131935.652,
566661.6235 6131937.282, 566696.924 6131929.5735, 566694.755
6131919.4455, 566702.3 6131917.506, 566704.304 6131927.964, 566725.6935
6131923.2945, 566718.091 6131885.1625, 566652.446 6131899.0795,
566655.975 6131935.652)))" );

$new_shape = $NewShapeFromWkt->Buffer(-0.1);	
echo($new_shape->toWkt());


I get this shape, and it remove one of the shapes in the multipolygon
can any one try and see if they get the same error ?

POLYGON ((566725.8376634185000000 6131923.2451023338000000,
566755.9006510233700000 6131916.6885235561000000,
566774.0649345762800000 6131912.3198161256000000,
566794.4763613325800000 6131907.3301233519000000,
566798.4985129962400000 6131901.2862604791000000,
566788.0720058706400000 6131836.9199698064000000,
566779.4009780341300000 6131830.8000029027000000,
566724.1510484541100000 6131841.8737367792000000,
566723.7649840826600000 6131863.5087841563000000,
566723.7113416689700000 6131863.5956140496000000,
566714.7736214522700000 6131868.2696908442000000,
566718.2549535385300000 6131885.2123727966000000,
566718.2550698703900000 6131885.2129474934000000,
566725.8376634185000000 6131923.2451023338000000))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081222/f6cf1bb6/attachment.html


More information about the mapserver-users mailing list