[Community] Shapely and polygon simplifications
Kristian Thy
thy at 42.dk
Tue Nov 10 12:39:51 EET 2009
On Tue, Nov 10, Sean Gillies wrote:
> I like it. We could consider collecting the methods into simplify with
> a preserve keyword option?
>
> def simplify(self, tolerance, preserve_topology=False):
> if preserve_topology:
> ...
> else:
> ...
>
> The question then is whether the default is to preserve or not.
I would expect the default to preserve topology to avoid surprises.
\\kristian
--
... et nemo ex vobis interrogat me: »Quo vadis?«
More information about the Community
mailing list