Can you provide the input you are using?

There is a known bug in TPS that can result in invalid resutls.  See
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/simplify/TopologyPreservingSimplifier.html


On Mon, Mar 31, 2014 at 5:54 AM, Mireille Lecoeuvre <
[email protected]> wrote:

>  Hello JTS list,
>
> I'm a beginner and i have a question. I use the class
> TopologyPreservingSimplifier with this method:
>
>
>  - public static Geometry simplify(Geometry geom,double distanceTolerance)
>
>
>  But if my input geometry is invalid so the output geometry is invalid
> but the documentation of this class says : "ensuring that the result is a
> valid geometry".
>
> It's not specify if the output geometry may be degenerate or invalid.
>
> Could you confirm if it's a bug or it's normal?
>
>
> Thank you very much
>
>
> Mireille
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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