pyinterp.geometry.geographic.algorithms.union

Contents

pyinterp.geometry.geographic.algorithms.union#

pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]#
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Ring, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Ring, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.Polygon]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.LineString]
pyinterp.geometry.geographic.algorithms.union(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) list[pyinterp.core.geometry.geographic.LineString]

Computes the geometric union of two geometries.

Parameters:
  • geometry1 – First geometry.

  • geometry2 – Second geometry.

  • spheroid – Optional spheroid for geodetic calculations. If not provided, uses WGS84 ellipsoid.

  • strategy – Calculation strategy.

Returns:

A list of geometry objects representing the union.