Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::WKTWriter Class Reference

Outputs the textual representation of a Geometry. See also WKTReader. More...

#include <geos.h>

List of all members.

Public Member Functions

string write (const Geometry *geometry)
 Returns WKT string for the given Geometry.


Detailed Description

Outputs the textual representation of a Geometry. See also WKTReader.

The WKTWriter outputs coordinates rounded to the precision model. No more than the maximum number of necessary decimal places will be output.

The Well-known Text format is defined in the OpenGIS Simple Features Specification for SQL.

A non-standard "LINEARRING" tag is used for LinearRings. The WKT spec does not define a special tag for LinearRings. The standard tag to use is "LINESTRING".

See WKTReader for parsing.


The documentation for this class was generated from the following files:
Generated on Thu Jun 10 12:43:54 2010 for GEOS by  doxygen 1.3.9.1