[Community] Shapely and polygon simplifications

Aron Bierbaum aronbierbaum at gmail.com
Tue Nov 10 14:36:51 EET 2009


I had considered adding something like that, but I didn't know if  
Shapley was meant to mirror the GEOS API more closely. I completely  
agree that it makes more sense as a single method. It appears that  
people agree that by default we should preserve topology too.

I also tried to find a default value for the tolerance. Any ideas  
opinions on a default for this? As far as I could tell there was no  
default in GEOS?

-Aron

Aron Bierbaum
Software Engineer
Priority 5

On Nov 10, 2009, at 4:40 AM, Helge Jensen <hej at actua.dk> wrote:

> By the principle of "least-surprise" preserve_topology should  
> probably default to True.
>
> Powerusers will probably know that preserve_topology=True is more  
> costly. Perhaps documentation could reflect this?
>
> There is some documentation in the GEOS headers  
> (DouglasPeuckerSimplifier.h and TopologyPreservingSimplifier.h) that  
> could be repeated for the simplify function.
>
>
> -- 
> Helge Jensen
> Partner & Senior Software Developer
>
>
> _______________________________________________
> Community mailing list
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community



More information about the Community mailing list