Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

MgWktReaderWriter
Read
Read
Write
Write
virtual STRING MgWktReaderWriter::Write | ( | MgGeometry * | geometry,
|  | MgTransform * | transform |
| ) |  |  | `[virtual]`
Writes a geometry object to a string in WKT format applying the specified transform during the write. .NET Syntax
`virtual string Write(MgGeometry geometry, MgTransform transform);`
Java Syntax
`virtual String Write(MgGeometry geometry, MgTransform transform);`
PHP Syntax
`virtual string Write(MgGeometry geometry, MgTransform transform);`
  Parameters:
  | geometry | (MgGeometry) An MgGeometry object to write to WKT.
  | transform | (MgTransform) An MgTransform that is used to transform each coordinate written to the WKT representation.
Returns: A string that contains the transformed WKT representation.

Comments or suggestions? Send us feedback.