public static String geometryToWkt ( Geometry geometry , int exportFlags ) { OperatorExportToWkt op = ( OperatorExportToWkt ) factory . getOperator ( Operator . Type . ExportToWkt ) ; return op . execute ( exportFlags , geometry , null ) ; }
Exports a geometry to a string in WKT format .