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@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel