pandamesh.find_proximate_perimeter_points#

pandamesh.find_proximate_perimeter_points(geometry: GeoSeries, minimum_spacing: float = 0.001) GeoSeries[source]#

Detect vertices in polygon perimeters (exteriors and interiors) that are very close to each other.

Note that dangling edges can be detected through self-intersection: whether a geometry is simple or not. However, some slivers will almost form a dangling edge, where the sliver still have a very small thickness. This may result in problems during mesh generation, as tiny triangles will be required locally.

Note that sliver concavities are allowed: the vertex spacing along the perimeter is not necessarily small.

Parameters:
  • geometry (geopandas.Geoseries) – Points, lines, polygons.

  • minimum_spacing (float, default is 1.0e-3.) – The minimum allowed distance between vertices, or the minimum width of slivers.