[geos-devel] WKTreader is broken
Yury A. Bychkov
me at yury.ca
Fri Apr 4 21:09:44 EST 2003
Dave, it is not a fault of your code. In its current implementation (both in C++
and Java) WKTReader doesn't support 3d points.
----- Original Message -----
From: "David Blasby" <dblasby at refractions.net>
To: "GEOS Development List" <geos-devel at geos.refractions.net>
Cc: "Yury A. Bychkov" <reply at yury.ca>
Sent: Friday, April 04, 2003 4:37 PM
Subject: [geos-devel] WKTreader is broken
> WKT reader doesnt like 3d points.
> To cause a failure, modify test/WKTin so it has one line:
> POINT(1 1 1)
> and run ./SimpleWKTTester
> You'll get an abort exception.
> I've also noticed that the WKTWriter (and geom->asString()) cause
> incorrect results like
> POINT (%.0-2147483647f %.0-2147483647f)
> This might be a problem with my code since it almost always happens.
> It'll take me a bit
> to track it down since there's a lots of points of failure between
> postgis, the postgis adapter,
> and the GEOS wrapper.
> geos-devel mailing list
> geos-devel at geos.refractions.net
More information about the geos-devel