pyiem.geom_util module#

Geometry utility functions.

pyiem.geom_util.rhs_split(poly, splitter)[source]#

Provide the Right Hand Side Polygon associated with a split operation.

Parameters:
  • poly (shapely.geometry.Polygon) – polygon to split.

  • splitter (shapely.geometry.LineString) – linestring to spliy by.

Returns:

shapely.geometry.Polygon