I have two geometries as below listed in wkt. One geometry touched the other - however\ I am getting disjoint result. any suggestion as to how I can get the expected result of touch? I have tried different precision models but that hasn't helper. I also tested in JTS testrunner - that too fails to give the expected result. Can anyone here help throw any light on this and help? Thank you!
The following two geometries give the wrong result (disjoint)
GeomA: LINESTRING (31.26822419712768 13.10560781249994, 33.12591323377792 15.99391676083394, 35.37062066594295 16.870724851333293)
GeomB: LINESTRING (34.233240446942204 16.426451284228865, 34.98360215508764 15.581301171439307, 34.26116755535489 14.059781270564386)
The following two geometries give the expected result of touch.
GeomA: LINESTRING (45.786635465274315 13.801200800883471, 48.286635465274315 16.30120080088347, 51.786635465274315 16.30120080088347)
GeomB: LINESTRING (50.786635465274315 16.30120080088347, 50.786635465274315 14.301200800883471, 48.286635465274315 13.801200800883471)