| java.lang.Object com.vividsolutions.jump.io.FUTURE_JTS_WKTWriter
FUTURE_JTS_WKTWriter | public class FUTURE_JTS_WKTWriter (Code) | | Outputs the textual representation of a
Geometry .
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".
version: 1.4 |
Method Summary | |
public static String | stringOfChar(char ch, int count) Returns a String of repeated characters. | public String | write(Geometry geometry) Converts a Geometry to its Well-known Text representation. | public void | write(Geometry geometry, Writer writer) Converts a Geometry to its Well-known Text representation. | public String | writeFormatted(Geometry geometry) Same as write , but with newlines and spaces to make the
well-known text more readable. | public void | writeFormatted(Geometry geometry, Writer writer) Same as write , but with newlines and spaces to make the
well-known text more readable. |
FUTURE_JTS_WKTWriter | public FUTURE_JTS_WKTWriter()(Code) | | |
stringOfChar | public static String stringOfChar(char ch, int count)(Code) | | Returns a String of repeated characters.
Parameters: ch - the character to repeat Parameters: count - the number of times to repeat the character a String of characters |
write | public String write(Geometry geometry)(Code) | | Converts a Geometry to its Well-known Text representation.
Parameters: geometry - a Geometry to process a string (see the OpenGIS Simple FeaturesSpecification) |
write | public void write(Geometry geometry, Writer writer) throws IOException(Code) | | Converts a Geometry to its Well-known Text representation.
Parameters: geometry - a Geometry to process a string (see the OpenGIS Simple FeaturesSpecification) |
writeFormatted | public String writeFormatted(Geometry geometry)(Code) | | Same as write , but with newlines and spaces to make the
well-known text more readable.
Parameters: geometry - a Geometry to process a string (see the OpenGIS Simple FeaturesSpecification), with newlines and spaces |
writeFormatted | public void writeFormatted(Geometry geometry, Writer writer) throws IOException(Code) | | Same as write , but with newlines and spaces to make the
well-known text more readable.
Parameters: geometry - a Geometry to process a string (see the OpenGIS Simple FeaturesSpecification), with newlines and spaces |
|
|