Brandon,
I suspect you have not read the JTS FAQ on this subject: D. Robustness &
Precision <http://tsusiatsoftware.net/jts/jts-faq/jts-faq.html#D>
TopologyExceptions are an unfortunate edge-case that can be hard to deal
with.
~ David


On Sun, Mar 30, 2014 at 10:57 PM, Brandon Noad <[email protected]>wrote:

> Hello Everyone,
>
> I am writing a Scala wrapper for JTS (focusing on Geometry and its
> subclasses) for a project I'm working on for 
> Geotrellis<http://www.azavea.com/products/geotrellis/>.
> I've noticed that some of the Geometry methods may throw a
> TopologyException (e.g. intersection, union, difference, etc.) if a
> robustness error occurs. I'm trying to figure out the best way to handle
> these exceptions. The documentation for TopologyException says that the
> exception indicates an invalid or inconsistent topological situation
> encountered during processing. Can anyone shed some more light on
> TopologyExceptions and/or provide some specific examples where a
> TopologyException may be thrown?
>
> Best regards,
>
> Brandon Noad
> [email protected]
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Jts-topo-suite-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
>
>
------------------------------------------------------------------------------
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user

Reply via email to