quickpaver.extract_tiling_centers#
- quickpaver.extract_tiling_centers(polygons: MultiPolygon | Iterable[Polygon]) ndarray[tuple[Any, ...], dtype[float64]][source]#
Extract the centers of each tile (polygon).
- Parameters:
polygons (Union[shapely.MultiPolygon, Iterable[shapely.Polygon]]) – Polygons for which centers are extracted.
- Returns:
2D Array of vertices coordinates with shape (n, 2), n being the number of polygons.
- Return type:
NDArrayFloat