Use it in conjunction with the MgAgfReaderWriter class. MgWktReaderWriter does MgByteReader (WKT text) <-> MgGeometry
MgAgfReaderWriter does MgByteReader (AGF binary) <-> MgGeometry So going from WKT to AGF or vice-versa it's a matter of taking the output of one reader/writer and feeding it in as the input of the other reader/writer to get the desired format. Also there are variations of Write() that only takes the MgGeometry parameter. You only need to use the second variation with the mgTransform parameter if you want to do coordinate transformation on the geometry being written out. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-to-convert-agf-to-wkt-tp6391716p6392838.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
