[geos-devel] Simplify vs removeRepeatedPoints

Paul Meems bontepaarden at gmail.com
Thu Mar 28 04:07:38 PDT 2019


Thanks, Sandro for the quick reply.

Good to read we don't need to implement both.

Regards,

Paul

Op do 28 mrt. 2019 om 12:02 schreef Sandro Santilli <strk at kbt.io>:

> On Thu, Mar 28, 2019 at 11:50:36AM +0100, Paul Meems wrote:
>
> > But I don't want my geometry to be altered I just want to remove vertices
> > that don't contribute to the shape of the geometry.
> > Consider a square with not only 4 corner points but also points between
> the
> > corner points.
> > Those points I want to remove because they are redundant and without
> them,
> > I still have the 'same' square.
> >
> > Should/can I use removeRepeatedPoints() or should I use another method?
>
> Use DP simplify with a tolerance of 0, will do what you're asking for.
>
> --strk;
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geos-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20190328/22dd807c/attachment.html>


More information about the geos-devel mailing list