[postgis-devel] Topology Regression Failure

Sandro Santilli strk at keybit.net
Wed Feb 8 00:21:18 PST 2012


On Wed, Feb 08, 2012 at 09:05:23AM +0100, Sandro Santilli wrote:
> On Tue, Feb 07, 2012 at 04:32:40PM -0800, Paul Ramsey wrote:
> > Sandro,
> > 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.
> 
> Did you check cunit test under valgrind ?

I just did and it shows a lot of errors in TIN and SURFACE tests,
but nothing about topology. Will inspect further. May be better
NOT to cut next alpha until the regression and memory errors are
fixed.

--strk; 

  ,------o-. 
  |   __/  |    Thank you for PostGIS-2.0 Topology !
  |  / 2.0 |    http://www.pledgebank.com/postgistopology
  `-o------'




More information about the postgis-devel mailing list