org.deegree.geometry.io
Class WKBReader

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

public class WKBReader
extends Object

Reads Geometry objects encoded as Well-Known Binary (WKB). TODO re-implement without delegating to JTS TODO add support for non-SFS geometries (e.g. non-linear curves)

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
WKBReader()
           
 
Method Summary
static Geometry read(byte[] wkb, ICRS crs)
           
static Geometry read(InputStream is, ICRS crs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKBReader

public WKBReader()
Method Detail

read

public static Geometry read(byte[] wkb,
                            ICRS crs)
                     throws com.vividsolutions.jts.io.ParseException
Throws:
com.vividsolutions.jts.io.ParseException

read

public static Geometry read(InputStream is,
                            ICRS crs)
                     throws IOException,
                            com.vividsolutions.jts.io.ParseException
Throws:
IOException
com.vividsolutions.jts.io.ParseException


Copyright © 2011. All Rights Reserved.