The first step is to use jts WKBReader/WKTReader to obtain a JTS Geometry. Given a byte array containing the wkb bytes, do the following
Geometry geom = new WKBEader().read(wkbByteArray); Quoting Roy Braam <[email protected]>: > Laomeng, > > Look at: > http://docs.codehaus.org/display/GEOTDOC/Well+Known+Text+representation+of+Geometry > Roy _____ > > From: ??? [mailto:[email protected]] > To: geotools-devel [mailto:[email protected]] > Sent: Tue, 13 Apr 2010 05:29:04 +0200 > Subject: [Geotools-devel] Render WKT > > Hello there, > How can I use geotools to render WKT,WKB? > > > Thank you very much and best wishes. > > > > > > Yours Laomeng > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geotools-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
