[postgis-devel] (no subject)
Jeff Adams
jadams at azavea.com
Fri Apr 8 06:29:53 PDT 2011
People will probably need more information in order to help you:
What version are you using? Run this and include the results in your email:
SELECT PostGIS_full_version();
What changed between "used to" and "now"? Did you upgrade postgis? Load
new data?
Jeff
On Thu, Apr 7, 2011 at 8:01 AM, Randy Horner <Randy.Horner at nisc.coop> wrote:
> 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
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20110408/0019f638/attachment.html>
More information about the postgis-devel
mailing list