[postgis-devel] (no subject)

Randy Horner Randy.Horner at nisc.coop
Thu Apr 7 05:01:50 PDT 2011


I thought I used to be able to get my polyline geometry through java by the following:

rs = stmt.executeQuery( "SELECT AsBinary(geom) FROM mylines");
while (rs.next()) {
    Geometry geometry = new BinaryParser().parse(rs.getBytes(1));
    if (geometry.getType() == Geometry.LINESTRING) {
         // process line
    }

I now get Error: Unknown Geometry Type: 27159403.   Could use some help.  Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110407/bd8a7381/attachment.html>


More information about the postgis-devel mailing list