org.deegree.geometry.io
Class WKBWriter

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

public class WKBWriter
extends Object

Writes 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
WKBWriter()
           
 
Method Summary
static byte[] write(Geometry geom)
           
static void write(Geometry geom, OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WKBWriter

public WKBWriter()
Method Detail

write

public static byte[] write(Geometry geom)
                    throws com.vividsolutions.jts.io.ParseException
Throws:
com.vividsolutions.jts.io.ParseException

write

public static void write(Geometry geom,
                         OutputStream os)
                  throws IOException,
                         com.vividsolutions.jts.io.ParseException
Throws:
IOException
com.vividsolutions.jts.io.ParseException


Copyright © 2011. All Rights Reserved.