Class WKTWriter
java.lang.Object
com.vividsolutions.jump.io.WKTWriter
- All Implemented Interfaces:
JUMPWriter
WKTWriter is a
JUMPWriter specialized to write WTK (Well Known Text) files.
DataProperties for the JUMPWriter
write(featureSchema,DataProperties) interface:
| Parameter | Meaning |
|---|---|
| OutputFile or DefaultValue | File name for output .wkt file |
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(FeatureCollection featureCollection, DriverProperties dp) Main method - writes a list of wkt features (no attributes).voidwrite(FeatureCollection featureCollection, Writer writer) Function that actually does the writing
-
Constructor Details
-
WKTWriter
public WKTWriter()constuctor
-
-
Method Details
-
write
Main method - writes a list of wkt features (no attributes).- Specified by:
writein interfaceJUMPWriter- Parameters:
featureCollection- features to writedp- 'OutputFile' or 'DefaultValue' to specify the output file.- Throws:
Exception
-
write
Function that actually does the writing- Parameters:
featureCollection- features to writewriter- where to write- Throws:
IOException
-