public class WKTReader extends Object implements JUMPReader
JUMPReader specialized to read WTK (Well Known Text) files.
DataProperties for the JUMPReader load(DataProperties)
interface:
| Parameter | Meaning |
|---|---|
| File or DefaultValue | File name for the input WKT file |
| CompressedFile | File name (a .zip or .gz) with a .jml/.xml/.gml inside (specified by File) |
| Constructor and Description |
|---|
WKTReader()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
FeatureCollection |
read(DriverProperties dp)
Main function -read in a file containing a list of WKT geometries
|
FeatureCollection |
read(Reader reader)
Reads in the actual WKT geometries
|
public FeatureCollection read(DriverProperties dp) throws IllegalParametersException, Exception
read in interface JUMPReaderdp - 'InputFile' or 'DefaultValue' to specify where the WKT file is.IllegalParametersExceptionExceptionpublic FeatureCollection read(Reader reader) throws Exception
reader - where to read the geometries fromExceptionCopyright © 2015. All rights reserved.