[geos-devel] Next Step

strk strk at keybit.net
Fri May 21 10:17:51 EDT 2004


On Fri, May 21, 2004 at 03:46:04PM +0200, strk wrote:
> Postgis builds cleanly.
> All tests from JTS-1.4 tree pass.
> In testLeaksBig.xml there are:
> 	59 intersection tests
> 	51 difference tests
> 	55 sydifference tests
> 
> There are a couple of issues left:
> 
> 	1) Yury is trying what works in PrecisionModel::makePrecise()
> 	   to round to nearest integer in a JTS-1.4 compatible way
> 	   [ rint() did not work, round() is not JTS-1.4 compatible,
> 	     nearbyint() is in test ]
> 
> 	2) doc/example runs get TopologyException: side location conflict
> 	   (0,250) on intersection. I'm working on this.

This was a missing argument check for ::intersection, which
does not support GEOMETRYCOLLECTION. Fixed.

> 
> 	3?) BufferSubgraph::computeDepths might be faster then it is
> 	     (read comments there)

This is basically an HASH which has been implemented with
a vector and a ::contains function that scans the whole vector.
I thought it could have been implemented using one of the STL
templates (map?set?). Any hint on this ? Just need to check
if an object pointer has already been visited (address-based comparison).

--strk;

> 
> --strk;
> 
> On Thu, May 20, 2004 at 08:38:47AM -0700, Paul Ramsey wrote:
> > Sounds like the current revision is ready for other testing?
> > Does postgis still build cleanly against this new version? Probably some 
> > stress testing there would be the next step...
> > 
> > Q: Do the test cases available cover the 
> > Intersection/Difference/Symdifference areas well, or are those 
> > relatively lightly tested?
> > 
> > -- 
> >        __
> >       /
> >       | Paul Ramsey
> >       | Refractions Research
> >       | Email: pramsey at refractions.net
> >       | Phone: (250) 885-0632
> >       \_
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel



More information about the geos-devel mailing list