org.deegree.geometry.io
Class WKTReader

java.lang.Object
  extended by org.deegree.geometry.io.WKTReader

public class WKTReader
extends Object

Reads Geometry objects encoded as Well-Known Text (WKT). TODO re-implement without delegating to JTS TODO add support for non-SFS geometries (e.g. non-linear curves) TODO TODO TODO do not go about using PostGIS for parsing the WKT, generate WKB and then parse it back using JTS TODO TODO TODO repeat after me s/TODO/TODO TODO/g

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
WKTReader(ICRS crs)
           
 
Method Summary
 Geometry read(Reader reader)
           
 Geometry read(String wkt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKTReader

public WKTReader(ICRS crs)
Method Detail

read

public Geometry read(Reader reader)
              throws com.vividsolutions.jts.io.ParseException
Throws:
com.vividsolutions.jts.io.ParseException

read

public Geometry read(String wkt)
              throws com.vividsolutions.jts.io.ParseException
Throws:
com.vividsolutions.jts.io.ParseException


Copyright © 2011. All Rights Reserved.