(self, tolerance, preserve_topology=True)
return geom_factory(op(self, tolerance))
Returns a simplified geometry produced by the Douglas-Peucker
        algorithm

        Coordinates of the simplified geometry will be no more than the
        tolerance distance from the original. Unless the topology preserving
        option is used, the algorithm may produce self-intersecting or
        otherwise invalid geometries.
Returns a simplified geometry produced by the Douglas-Peucker
        algorithm
Returns a simplified geometry produced by the Douglas - Peucker algorithm
def simplify(self, tolerance, preserve_topology=True):
        """Returns a simplified geometry produced by the Douglas-Peucker
        algorithm

        Coordinates of the simplified geometry will be no more than the
        tolerance distance from the original. Unless the topology preserving
        option is used, the algorithm may produce self-intersecting or
        otherwise invalid geometries.
        """
        if preserve_topology:
            op = self.impl['topology_preserve_simplify']
        else:
            op = self.impl['simplify']
        return geom_factory(op(self, tolerance))
def simplify ( self , tolerance , preserve_topology = True ) : if preserve_topology : op = self . impl [ 'topology_preserve_simplify' ] else : op = self . impl [ 'simplify' ] return geom_factory ( op ( self , tolerance ) )