pyinterp.geometry.geographic.algorithms.intersection

Contents

pyinterp.geometry.geographic.algorithms.intersection#

pyinterp.geometry.geographic.algorithms.intersection(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.intersection(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.intersection(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.intersection(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.intersection(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.intersection(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.intersection(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.intersection(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.intersection(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.intersection(geometry1: pyinterp.core.geometry.geographic.LineString, 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.LineString]
pyinterp.geometry.geographic.algorithms.intersection(geometry1: pyinterp.core.geometry.geographic.LineString, 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.LineString]
pyinterp.geometry.geographic.algorithms.intersection(geometry1: pyinterp.core.geometry.geographic.LineString, 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.LineString]
pyinterp.geometry.geographic.algorithms.intersection(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.Point]

Computes the geometric intersection between two geometries.

The intersection operation returns the part of the geometries that overlap. The result is returned as a vector of polygons, linestrings, or points, depending on the input geometry types and their spatial relationship.

Parameters:
  • geometry1 – First geometry.

  • geometry2 – Second geometry.

  • spheroid – Optional spheroid for geodetic calculations.

  • strategy – Calculation strategy.

Returns:

A list of geometry objects representing the intersection.