[mapserver-users] toWKT() method

Sven Schroeter schroeter at netgis.de
Mon Jul 14 09:23:27 PDT 2008


Hi all,

I'm using PHP-Mapscript with GEOS (Mapserver 5) to get a WKT-String from a POSTGIS-Table:

$mywkt = $shpobj->toWKT();

Everything works fine for POLYGON, LINESTRING and POINT - tables.
If I try the "toWKT()" Method for MULTIPOLYGON-Tables I get back a POLYGON WKT-String.
What can I do?

Thanks,
Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080714/7850e4b9/attachment.htm>


More information about the MapServer-users mailing list