[mapguide-users] Re: Create a new layer from postgis request

Jackie Ng jumpinjackie at gmail.com
Wed Sep 8 00:40:10 EDT 2010


This fragment looks suspect:

        $geometry = $wktReaderWriter->Read("the_geom", $the_geom);
        $geometryByteReader = $agfReaderWriter->Write($geometry);
        $geometryProperty = new MgGeometryProperty("GEOM",
$geometryByteReader);
        $propertyCollection->Add($geometryProperty);

MgWktReaderWriter::Read() only takes one parameter: The geometry WKT string

- Jackie
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Create-a-new-layer-from-postgis-request-tp5503339p5509163.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list