girs.feat.layers.LayersSet.centroid

LayersSet.centroid(target=None, drivername=None, **kwargs)

Return a new LayersWriter with centroids

Return a LayersWriter with the centroids of the geometries in this LayersSet

Parameters:
  • target – see source in LayersWriter
  • drivername – see LayersWriter
  • kwargs – see LayersWriter
Returns: