Class WKTReader
java.lang.Object
com.vividsolutions.jump.io.AbstractJUMPReader
com.vividsolutions.jump.io.WKTReader
- All Implemented Interfaces:
JUMPReader, TaskMonitorSupport
WKTReader is a
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(DriverProperties dp) Main function -read in a file containing a list of WKT geometriesReads in the actual WKT geometriesMethods inherited from class AbstractJUMPReader
addException, getExceptions, getTaskMonitor, setTaskMonitor
-
Constructor Details
-
WKTReader
public WKTReader()constructor
-
-
Method Details
-
read
Main function -read in a file containing a list of WKT geometries- Specified by:
readin interfaceJUMPReader- Specified by:
readin classAbstractJUMPReader- Parameters:
dp- 'InputFile' or 'DefaultValue' to specify where the WKT file is.- Throws:
Exception
-
read
Reads in the actual WKT geometries- Parameters:
reader- where to read the geometries from- Throws:
Exception
-