[postgis-devel] Topology Regression Failure

Paul Ramsey pramsey at cleverelephant.ca
Tue Feb 7 16:32:40 PST 2012

Something in my cleanup to lwgeom_release
(http://trac.osgeo.org/postgis/changeset/9072/trunk) is causing
problems in topology...

--- regress/st_createtopogeo_expected   2011-11-13 13:55:16.000000000 -0800
+++ /var/folders/vQ/vQpcmrOZEXuINbyg+7Jj4k+++TI/-Tmp-//test_17_out
 2012-02-07 16:29:46.000000000 -0800
@@ -5,16 +5,16 @@
 ERROR:  Geometry SRID (0) does not match topology SRID (4326)
 T1|POINT(0 0)
 T1|1 nodes|0 edges|0 faces
-T2|SRID=4326;LINESTRING(0 0,8 -40)
-T2|2 nodes|1 edges|0 faces
+ERROR:  Invalid edge (no two distinct vertices exist)
+T2|0 nodes|0 edges|0 faces
 T3|SRID=4326;POLYGON((0 0,8 -40,70 34,0 0))
 T3|1 nodes|1 edges|1 faces

The problem seems to be in the topology creation, but it doesn't show
up directly and I don't know how to trace through and find out what
*particular* function has changed its behavior. If you can tell me
what function has changed, I can fix it, but at the moment I'm SOL.


More information about the postgis-devel mailing list