[geos-devel] WKTreader is broken

David Blasby dblasby at refractions.net
Fri Apr 4 19:37:55 EST 2003


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.

dave






More information about the geos-devel mailing list