Add preserve_topology option to GEOSGeometry.simplify
|Reported by:||rcoup||Owned by:||jbronn|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
By default, simplify() does not preserve topology - e.g. polygons can be split, collapse to lines or disappear holes can be created or disappear, and lines can cross.
The attached patch adds a preserve_topology parameter. If True (default is False), the result will have the same dimension and number of components as the input. This is significantly slower.
Change History (5)
Changed 8 years ago by rcoup
comment:1 Changed 8 years ago by adrian
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Version changed from SVN to gis
comment:2 Changed 8 years ago by jbronn
- Owner changed from nobody to jbronn
- Status changed from new to assigned