Skip to content

v0.0.2

Latest
Compare
Choose a tag to compare
@mrshannon mrshannon released this 27 Jul 23:02
· 1 commit to master since this release

Bugfix: Degenerate Polygons and the Shapely Formatter

The contours.core.shapely_formatter could not handle single point
polygons or polygons with single point holes.

  • In the case of regular contours theshapely_formatter now returns
    shapely.geometry.Point objects for single point contour lines.
  • In the case of filled contours the shapely_formatter now removes
    single point polygons and single point holes in polygons as they are not well
    defined for filled contours.