Some general advice on preventing TopologyExceptions is here:
http://tsusiatsoftware.net/jts/jts-faq/jts-faq.html#D9
To be more specific it's necessary to see the failure case.
On Tue, Nov 5, 2013 at 7:30 AM, Brian Sanjeewa Rupasinghe <[email protected]
> wrote:
> Hi,
>
> I have an application where i need to get the intersection point of a
> polyline geometry and a linestring by extending the linestring towards
> polyline. When i applied this iteratively for several polylines and
> linestrings it gives following exception for some geometries: Any idea to
> resolve this?
>
>
> com.vividsolutions.jts.geom.TopologyException: found non-noded
> intersection between LINESTRING ( 539009.0010493798 183656.99798250847,
> 539012.9999040138 183658.99741017827 ) and LINESTRING ( 538999.9974426575
> 183653.9988410038, 3.413635987884096E17 1.62822084370812288E17 ) [
> (539009.0010493798, 183656.99798250847, NaN) ]
>
> Cheers, Brian
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Jts-topo-suite-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
>
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user