WKBReader wkbReader = new WKBReader();
Geometry geo = wkbReader.read(rs.getBytes("FieldName"));

Where Geometry and WKBReader are part of JTS

2007/9/13, Jody Garnett <[EMAIL PROTECTED]>:
>
> If you use the GeoTools PostGIS DataStore it will just do it ...
>
> Internally it uses a well known text and a well known text binary parser
> that produces JTS Geoemtry objects.
> Cheers,
> Jody
> > HI,
> >
> >
> > who can tell me how to convert postgis geometry to jts geometry?
> >
> > Thanks!
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to