[geos-devel] NaN as coordinate value

Mateusz Loskot mateusz at loskot.net
Fri May 13 12:35:30 EDT 2011


Folks,

The following code comes from the GEOSisValidDetailTest unit:

geom_ = GEOSGeomFromWKT("LINESTRING(0 0, 10 0, NaN -5)");
ensure(0 != geom_);

Is this really supposed to construct geometry object?
Shouldn't it read ensure(0 == geom_); ?

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the geos-devel mailing list