Re: [postgis-users] ST_SimplifyPreserveTopology creates invalid geometry

2020-03-10 Thread Martin Davis
On Tue, Mar 10, 2020 at 10:19 AM Paul van der Linden < paul.doskabou...@gmail.com> wrote: > > And what about ST_MakeValid converting that hole into an outerring instead > of just discarding it? > Is that something that's worth a discussion? > Yes, that's a hard call. In this case it seems "obvio

Re: [postgis-users] ST_SimplifyPreserveTopology creates invalid geometry

2020-03-10 Thread Komяpa
ST_MakeValid by definition does anything it likes, the only thing that should happen: output is valid and no vertices are lost. The "no vertices are lost" forbids to discard the hole. If MakeValid will change behavior there it will stop being useful for "inners and outers are marked incorrectly" ca

Re: [postgis-users] ST_SimplifyPreserveTopology creates invalid geometry

2020-03-10 Thread Paul van der Linden
> This is a known bug in the Topology-Preserving Simplfier. For instance see > https://github.com/locationtech/jts/issues/428 > > I'll add your example to the ticket. Hopefully this can be fixed sometime > soon. Thanks! And what about ST_MakeValid converting that hole into an outerring instead o