public class WKTWriter extends java.lang.Object implements JUMPWriter
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 and Description |
|---|
WKTWriter()
constuctor
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(FeatureCollection featureCollection,
DriverProperties dp)
Main method - writes a list of wkt features (no attributes).
|
void |
write(FeatureCollection featureCollection,
java.io.Writer writer)
Function that actually does the writing
|
public void write(FeatureCollection featureCollection, DriverProperties dp) throws IllegalParametersException, java.lang.Exception
write in interface JUMPWriterfeatureCollection - features to writedp - 'OutputFile' or 'DefaultValue' to specify the output file.IllegalParametersExceptionjava.lang.Exceptionpublic void write(FeatureCollection featureCollection, java.io.Writer writer) throws java.io.IOException
featureCollection - features to writewriter - where to writejava.io.IOException