[geos-devel] Noding linework

Sandro Santilli strk at keybit.net
Fri Jul 15 09:06:57 EDT 2011


On Fri, Jul 15, 2011 at 12:06:07PM +0200, Sandro Santilli wrote:

> I took the chance to review the unit tests and found
> that we had in GEOS a few test from
> junit/algorithm/RobustLineIntersectionTest.java
> commented out as they failed:
> 
>  - testDaveSkeaCase
>  - testCmp5CaseWKT
>  - testCmp5CaseRaw
> 
> They all still fail in GEOS !
> 
> Not sure they succeed in JTS though, as I seem to be unable to run
> unit tests there. 

After many attempts (did I mention I hate java and ants with a passion ?)
I finally succeeded in having JTS run its unit tests and _surprise_ (?)
it fails as well:

(1)
    [junit] Testcase: testDaveSkeaCase(test.jts.junit.algorithm.RobustLineIntersectionTest):    FAILED
    [junit] Number of intersections not as expected expected:<2> but was:<1>

(2)
    [junit] Testcase: testCmp5CaseWKT(test.jts.junit.algorithm.RobustLineIntersectionTest):     FAILED
    [junit] Int Pts not equal - POINT ( 4348437.0557510145 5552597.375203926 ) vs POINT ( 4348440.8493874 5552599.27202212 )

(3)
    [junit] Testcase: testCmp5CaseRaw(test.jts.junit.algorithm.RobustLineIntersectionTest):     FAILED
    [junit] Int Pts not equal - POINT ( 4348437.0557510145 5552597.375203926 ) vs POINT ( 4348440.8493874 5552599.27202212 )


If you're curious about how I handled to run the JTS unit tests:
https://sourceforge.net/tracker/index.php?func=detail&aid=3367858&group_id=128875&atid=713120#

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the geos-devel mailing list